Package org.apache.orc.impl
Class TreeReaderFactory.ReaderContext
java.lang.Object
org.apache.orc.impl.TreeReaderFactory.ReaderContext
- All Implemented Interfaces:
TreeReaderFactory.Context
- Enclosing class:
- TreeReaderFactory
public static class TreeReaderFactory.ReaderContext
extends Object
implements TreeReaderFactory.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfileFormat
(OrcFile.Version version) boolean
getReaderCategory
(int columnId) boolean
boolean
setEncryption
(ReaderEncryption value) setFilterCallback
(Set<Integer> filterColumnsList, Consumer<OrcFilterContext> filterCallback) setProlepticGregorian
(boolean file, boolean reader) setSchemaEvolution
(SchemaEvolution evolution) skipCorrupt
(boolean skipCorrupt) boolean
useUTCTimestamp
(boolean useUTCTimestamp) writerTimeZone
(String writerTimezone)
-
Constructor Details
-
ReaderContext
public ReaderContext()
-
-
Method Details
-
setSchemaEvolution
-
setEncryption
-
setFilterCallback
public TreeReaderFactory.ReaderContext setFilterCallback(Set<Integer> filterColumnsList, Consumer<OrcFilterContext> filterCallback) -
skipCorrupt
-
useUTCTimestamp
-
writerTimeZone
-
fileFormat
-
setProlepticGregorian
-
getSchemaEvolution
- Specified by:
getSchemaEvolution
in interfaceTreeReaderFactory.Context
-
getColumnFilterIds
- Specified by:
getColumnFilterIds
in interfaceTreeReaderFactory.Context
-
getColumnFilterCallback
- Specified by:
getColumnFilterCallback
in interfaceTreeReaderFactory.Context
-
isSkipCorrupt
public boolean isSkipCorrupt()- Specified by:
isSkipCorrupt
in interfaceTreeReaderFactory.Context
-
getUseUTCTimestamp
public boolean getUseUTCTimestamp()- Specified by:
getUseUTCTimestamp
in interfaceTreeReaderFactory.Context
-
getWriterTimezone
- Specified by:
getWriterTimezone
in interfaceTreeReaderFactory.Context
-
getFileFormat
- Specified by:
getFileFormat
in interfaceTreeReaderFactory.Context
-
getEncryption
- Specified by:
getEncryption
in interfaceTreeReaderFactory.Context
-
useProlepticGregorian
public boolean useProlepticGregorian()- Specified by:
useProlepticGregorian
in interfaceTreeReaderFactory.Context
-
fileUsedProlepticGregorian
public boolean fileUsedProlepticGregorian()- Specified by:
fileUsedProlepticGregorian
in interfaceTreeReaderFactory.Context
-
getReaderCategory
- Specified by:
getReaderCategory
in interfaceTreeReaderFactory.Context
-