public class OrcStripeMetadata extends Object implements ConsumerStripeMetadata
Constructor and Description |
---|
OrcStripeMetadata(OrcBatchKey stripeKey,
org.apache.orc.OrcProto.StripeFooter footer,
org.apache.orc.impl.OrcIndex orcIndex,
org.apache.orc.StripeInformation stripe) |
Modifier and Type | Method and Description |
---|---|
org.apache.orc.OrcProto.BloomFilterIndex[] |
getBloomFilterIndexes() |
org.apache.orc.OrcProto.Stream.Kind[] |
getBloomFilterKinds() |
List<org.apache.orc.OrcProto.ColumnEncoding> |
getEncodings() |
org.apache.orc.impl.OrcIndex |
getIndex() |
OrcBatchKey |
getKey() |
long |
getRowCount() |
org.apache.orc.OrcProto.RowIndexEntry |
getRowIndexEntry(int colIx,
int rgIx) |
org.apache.orc.OrcProto.RowIndex[] |
getRowIndexes() |
List<org.apache.orc.OrcProto.Stream> |
getStreams() |
int |
getStripeIx() |
String |
getWriterTimezone() |
void |
resetRowIndex() |
boolean |
supportsRowIndexes() |
String |
toString() |
public OrcStripeMetadata(OrcBatchKey stripeKey, org.apache.orc.OrcProto.StripeFooter footer, org.apache.orc.impl.OrcIndex orcIndex, org.apache.orc.StripeInformation stripe) throws IOException
IOException
public int getStripeIx()
getStripeIx
in interface ConsumerStripeMetadata
public org.apache.orc.OrcProto.RowIndex[] getRowIndexes()
getRowIndexes
in interface ConsumerStripeMetadata
public org.apache.orc.OrcProto.Stream.Kind[] getBloomFilterKinds()
public org.apache.orc.OrcProto.BloomFilterIndex[] getBloomFilterIndexes()
public List<org.apache.orc.OrcProto.ColumnEncoding> getEncodings()
getEncodings
in interface ConsumerStripeMetadata
public List<org.apache.orc.OrcProto.Stream> getStreams()
public String getWriterTimezone()
getWriterTimezone
in interface ConsumerStripeMetadata
public OrcBatchKey getKey()
public long getRowCount()
getRowCount
in interface ConsumerStripeMetadata
public void resetRowIndex()
public org.apache.orc.OrcProto.RowIndexEntry getRowIndexEntry(int colIx, int rgIx)
getRowIndexEntry
in interface ConsumerStripeMetadata
public boolean supportsRowIndexes()
supportsRowIndexes
in interface ConsumerStripeMetadata
public org.apache.orc.impl.OrcIndex getIndex()
Copyright © 2022 The Apache Software Foundation. All rights reserved.