org.apache.hadoop.hive.ql.io.orc
Interface StripeInformation


public interface StripeInformation

Information about the stripes in an ORC file that is provided by the Reader.


Method Summary
 long getDataLength()
          Get the length of the stripe's data.
 long getFooterLength()
          Get the length of the stripe's tail section, which contains its index.
 long getIndexLength()
          Get the length of the stripe's indexes.
 long getLength()
          Get the total length of the stripe in bytes.
 long getNumberOfRows()
          Get the number of rows in the stripe.
 long getOffset()
          Get the byte offset of the start of the stripe.
 

Method Detail

getOffset

long getOffset()
Get the byte offset of the start of the stripe.

Returns:
the bytes from the start of the file

getLength

long getLength()
Get the total length of the stripe in bytes.

Returns:
the number of bytes in the stripe

getIndexLength

long getIndexLength()
Get the length of the stripe's indexes.

Returns:
the number of bytes in the index

getDataLength

long getDataLength()
Get the length of the stripe's data.

Returns:
the number of bytes in the stripe

getFooterLength

long getFooterLength()
Get the length of the stripe's tail section, which contains its index.

Returns:
the number of bytes in the tail

getNumberOfRows

long getNumberOfRows()
Get the number of rows in the stripe.

Returns:
a count of the number of rows


Copyright © 2014 The Apache Software Foundation. All rights reserved.