public static class ReaderImpl.StripeInformationImpl extends Object implements StripeInformation
| Constructor and Description |
|---|
StripeInformationImpl(OrcProto.StripeInformation stripe,
long stripeId,
long previousOriginalStripeId,
byte[][] previousKeys) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDataLength()
Get the length of the stripe's data.
|
byte[][] |
getEncryptedLocalKeys()
Get the encrypted keys starting from this stripe until overridden by
a new set in a following stripe.
|
long |
getEncryptionStripeId()
Get the original stripe id that was used when the stripe was originally
written.
|
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.
|
long |
getStripeId()
Get the index of this stripe in the current file.
|
boolean |
hasEncryptionStripeId()
Does this stripe have an explicit encryption stripe id set?
|
String |
toString() |
public StripeInformationImpl(OrcProto.StripeInformation stripe, long stripeId, long previousOriginalStripeId, byte[][] previousKeys)
public long getOffset()
StripeInformationgetOffset in interface StripeInformationpublic long getLength()
StripeInformationgetLength in interface StripeInformationpublic long getDataLength()
StripeInformationgetDataLength in interface StripeInformationpublic long getFooterLength()
StripeInformationgetFooterLength in interface StripeInformationpublic long getIndexLength()
StripeInformationgetIndexLength in interface StripeInformationpublic long getNumberOfRows()
StripeInformationgetNumberOfRows in interface StripeInformationpublic long getStripeId()
StripeInformationgetStripeId in interface StripeInformationpublic boolean hasEncryptionStripeId()
StripeInformationhasEncryptionStripeId in interface StripeInformationpublic long getEncryptionStripeId()
StripeInformationgetEncryptionStripeId in interface StripeInformationpublic byte[][] getEncryptedLocalKeys()
StripeInformationgetEncryptedLocalKeys in interface StripeInformationCopyright © 2013–2021 The Apache Software Foundation. All rights reserved.