Package | Description |
---|---|
org.apache.orc | |
org.apache.orc.impl | |
org.apache.orc.impl.filter |
Modifier and Type | Method and Description |
---|---|
Reader.Options |
Reader.Options.allowPluginFilters(boolean allowPluginFilters) |
Reader.Options |
Reader.Options.allowSARGToFilter(boolean allowSARGToFilter)
Set allowSARGToFilter.
|
Reader.Options |
Reader.Options.clone() |
Reader.Options |
Reader.Options.dataReader(DataReader value)
Set dataReader.
|
Reader.Options |
Reader.Options.forcePositionalEvolution(boolean value)
Set whether to force schema evolution to be positional instead of
based on the column names.
|
Reader.Options |
Reader.Options.include(boolean[] include)
Set the list of columns to read.
|
Reader.Options |
Reader.Options.includeAcidColumns(boolean includeAcidColumns)
true if acid metadata columns should be decoded otherwise they will
be set to null . |
Reader.Options |
Reader.Options.isSchemaEvolutionCaseAware(boolean value)
Set boolean flag to determine if the comparison of field names in schema
evolution is case sensitive
|
Reader.Options |
Reader.Options.minSeekSize(int minSeekSize) |
Reader.Options |
Reader.Options.minSeekSizeTolerance(double value) |
Reader.Options |
Reader.options()
Create a default options object that can be customized for creating
a RecordReader.
|
Reader.Options |
Reader.Options.positionalEvolutionLevel(int value)
Set number of levels to force schema evolution to be positional instead of
based on the column names.
|
Reader.Options |
Reader.Options.range(long offset,
long length)
Set the range of bytes to read
|
Reader.Options |
Reader.Options.schema(TypeDescription schema)
Set the schema on read type description.
|
Reader.Options |
Reader.Options.searchArgument(SearchArgument sarg,
String[] columnNames)
Set search argument for predicate push down.
|
Reader.Options |
Reader.Options.setRowFilter(String[] filterColumnNames,
Consumer<OrcFilterContext> filterCallback)
Set a row level filter.
|
Reader.Options |
Reader.Options.skipCorruptRecords(boolean value)
Set whether to skip corrupt records.
|
Reader.Options |
Reader.Options.tolerateMissingSchema(boolean value)
Set whether to make a best effort to tolerate schema evolution for files
which do not have an embedded schema because they were written with a'
pre-HIVE-4243 writer.
|
Reader.Options |
Reader.Options.useSelected(boolean newValue) |
Reader.Options |
Reader.Options.useZeroCopy(boolean value)
Set whether to use zero copy from HDFS.
|
Modifier and Type | Method and Description |
---|---|
RecordReader |
Reader.rows(Reader.Options options)
Create a RecordReader that uses the options given.
|
Modifier and Type | Method and Description |
---|---|
Reader.Options |
ReaderImpl.options() |
Modifier and Type | Method and Description |
---|---|
RecordReader |
ReaderImpl.rows(Reader.Options options) |
Constructor and Description |
---|
RecordReaderImpl(ReaderImpl fileReader,
Reader.Options options) |
SchemaEvolution(TypeDescription fileSchema,
TypeDescription readerSchema,
Reader.Options options) |
Modifier and Type | Method and Description |
---|---|
static BatchFilter |
FilterFactory.createBatchFilter(Reader.Options opts,
TypeDescription readSchema,
boolean isSchemaCaseAware,
OrcFile.Version version,
boolean normalize,
String filePath,
Configuration conf)
Create a BatchFilter.
|
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.