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);
  }
Reads the metadata for all stripes in the file.
llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java