Package org.apache.orc.impl
Class RecordReaderImpl.SargApplier
java.lang.Object
org.apache.orc.impl.RecordReaderImpl.SargApplier
- Enclosing class:
- RecordReaderImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean[]
static final boolean[]
-
Constructor Summary
ConstructorDescriptionSargApplier
(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg, long rowIndexStride, SchemaEvolution evolution, OrcFile.WriterVersion writerVersion, boolean useUTCTimestamp) Deprecated.Use the constructor having full parameters.SargApplier
(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg, long rowIndexStride, SchemaEvolution evolution, OrcFile.WriterVersion writerVersion, boolean useUTCTimestamp, boolean writerUsedProlepticGregorian, boolean convertToProlepticGregorian) -
Method Summary
Modifier and TypeMethodDescriptionboolean[]
pickRowGroups
(StripeInformation stripe, OrcProto.RowIndex[] indexes, OrcProto.Stream.Kind[] bloomFilterKinds, List<OrcProto.ColumnEncoding> encodings, OrcProto.BloomFilterIndex[] bloomFilterIndices, boolean returnNone) Pick the row groups that we need to load from the current stripe.void
setRowIndexCols
(boolean[] rowIndexCols)
-
Field Details
-
READ_ALL_RGS
public static final boolean[] READ_ALL_RGS -
READ_NO_RGS
public static final boolean[] READ_NO_RGS
-
-
Constructor Details
-
SargApplier
public SargApplier(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg, long rowIndexStride, SchemaEvolution evolution, OrcFile.WriterVersion writerVersion, boolean useUTCTimestamp) Deprecated.Use the constructor having full parameters. This exists for backward compatibility. -
SargApplier
public SargApplier(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg, long rowIndexStride, SchemaEvolution evolution, OrcFile.WriterVersion writerVersion, boolean useUTCTimestamp, boolean writerUsedProlepticGregorian, boolean convertToProlepticGregorian)
-
-
Method Details
-
setRowIndexCols
public void setRowIndexCols(boolean[] rowIndexCols) -
pickRowGroups
public boolean[] pickRowGroups(StripeInformation stripe, OrcProto.RowIndex[] indexes, OrcProto.Stream.Kind[] bloomFilterKinds, List<OrcProto.ColumnEncoding> encodings, OrcProto.BloomFilterIndex[] bloomFilterIndices, boolean returnNone) throws IOException Pick the row groups that we need to load from the current stripe.- Returns:
- an array with a boolean for each row group or null if all of the row groups must be read.
- Throws:
IOException
-