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()
StripeInformation
getOffset
in interface StripeInformation
public long getLength()
StripeInformation
getLength
in interface StripeInformation
public long getDataLength()
StripeInformation
getDataLength
in interface StripeInformation
public long getFooterLength()
StripeInformation
getFooterLength
in interface StripeInformation
public long getIndexLength()
StripeInformation
getIndexLength
in interface StripeInformation
public long getNumberOfRows()
StripeInformation
getNumberOfRows
in interface StripeInformation
public long getStripeId()
StripeInformation
getStripeId
in interface StripeInformation
public boolean hasEncryptionStripeId()
StripeInformation
hasEncryptionStripeId
in interface StripeInformation
public long getEncryptionStripeId()
StripeInformation
getEncryptionStripeId
in interface StripeInformation
public byte[][] getEncryptedLocalKeys()
StripeInformation
getEncryptedLocalKeys
in interface StripeInformation
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.