public class LlapRecordReaderUtils extends Object
Constructor and Description |
---|
LlapRecordReaderUtils() |
Modifier and Type | Method and Description |
---|---|
static LlapDataReader |
createDefaultLlapDataReader(org.apache.orc.impl.DataReaderProperties properties) |
static DiskRangeList |
planIndexReading(org.apache.orc.TypeDescription fileSchema,
org.apache.orc.OrcProto.StripeFooter footer,
boolean ignoreNonUtf8BloomFilter,
boolean[] fileIncluded,
boolean[] sargColumns,
org.apache.orc.OrcFile.WriterVersion version,
org.apache.orc.OrcProto.Stream.Kind[] bloomFilterKinds)
Plans the list of disk ranges that the given stripe needs to read the
indexes.
|
public static LlapDataReader createDefaultLlapDataReader(org.apache.orc.impl.DataReaderProperties properties)
public static DiskRangeList planIndexReading(org.apache.orc.TypeDescription fileSchema, org.apache.orc.OrcProto.StripeFooter footer, boolean ignoreNonUtf8BloomFilter, boolean[] fileIncluded, boolean[] sargColumns, org.apache.orc.OrcFile.WriterVersion version, org.apache.orc.OrcProto.Stream.Kind[] bloomFilterKinds)
fileSchema
- the schema for the filefooter
- the stripe footerignoreNonUtf8BloomFilter
- should the reader ignore non-utf8
encoded bloom filtersfileIncluded
- the columns (indexed by file columns) that should be
readsargColumns
- true for the columns (indexed by file columns) that
we need bloom filters forversion
- the version of the software that wrote the filebloomFilterKinds
- (output) the stream kind of the bloom filtersCopyright © 2023 The Apache Software Foundation. All rights reserved.