public static class RecordReaderImpl.SargApplier extends Object
Modifier and Type | Field and Description |
---|---|
static boolean[] |
READ_ALL_RGS |
static boolean[] |
READ_NO_RGS |
Constructor and Description |
---|
SargApplier(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg,
long rowIndexStride,
org.apache.orc.impl.SchemaEvolution evolution,
OrcFile.WriterVersion writerVersion,
boolean useUTCTimestamp)
Deprecated.
Use the constructor having full parameters. This exists for backward
compatibility.
|
SargApplier(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg,
long rowIndexStride,
org.apache.orc.impl.SchemaEvolution evolution,
OrcFile.WriterVersion writerVersion,
boolean useUTCTimestamp,
boolean writerUsedProlepticGregorian,
boolean convertToProlepticGregorian) |
Modifier and Type | Method and Description |
---|---|
boolean[] |
pickRowGroups(org.apache.orc.StripeInformation stripe,
org.apache.orc.OrcProto.RowIndex[] indexes,
org.apache.orc.OrcProto.Stream.Kind[] bloomFilterKinds,
List<org.apache.orc.OrcProto.ColumnEncoding> encodings,
org.apache.orc.OrcProto.BloomFilterIndex[] bloomFilterIndices,
boolean returnNone,
long rowBaseInStripe,
FileIndexResult fileIndexResult)
Pick the row groups that we need to load from the current stripe.
|
void |
setRowIndexCols(boolean[] rowIndexCols) |
public static final boolean[] READ_ALL_RGS
public static final boolean[] READ_NO_RGS
public SargApplier(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg, long rowIndexStride, org.apache.orc.impl.SchemaEvolution evolution, OrcFile.WriterVersion writerVersion, boolean useUTCTimestamp)
public SargApplier(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg, long rowIndexStride, org.apache.orc.impl.SchemaEvolution evolution, OrcFile.WriterVersion writerVersion, boolean useUTCTimestamp, boolean writerUsedProlepticGregorian, boolean convertToProlepticGregorian)
public void setRowIndexCols(boolean[] rowIndexCols)
public boolean[] pickRowGroups(org.apache.orc.StripeInformation stripe, org.apache.orc.OrcProto.RowIndex[] indexes, org.apache.orc.OrcProto.Stream.Kind[] bloomFilterKinds, List<org.apache.orc.OrcProto.ColumnEncoding> encodings, org.apache.orc.OrcProto.BloomFilterIndex[] bloomFilterIndices, boolean returnNone, long rowBaseInStripe, FileIndexResult fileIndexResult) throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.