use of org.apache.orc.OrcProto.RowIndex in project hive by apache.
the class OrcEncodedDataReader method createOrcStripeMetadataObject.
private OrcStripeMetadata createOrcStripeMetadataObject(int stripeIx, StripeInformation si, OrcProto.StripeFooter footer, boolean[] includes, boolean[] sargColumns) throws IOException {
Stream.Kind[] bks = sargColumns == null ? null : new Stream.Kind[includes.length];
BloomFilterIndex[] bis = sargColumns == null ? null : new BloomFilterIndex[includes.length];
return new OrcStripeMetadata(new OrcBatchKey(fileKey, stripeIx, 0), footer, new OrcIndex(new RowIndex[includes.length], bks, bis), si);
}
Aggregations