public static class TreeReaderFactory.ReaderContext extends Object implements TreeReaderFactory.Context
| Constructor and Description |
|---|
ReaderContext() |
public TreeReaderFactory.ReaderContext setSchemaEvolution(SchemaEvolution evolution)
public TreeReaderFactory.ReaderContext setEncryption(ReaderEncryption value)
public TreeReaderFactory.ReaderContext setFilterCallback(Set<Integer> filterColumnsList, Consumer<OrcFilterContext> filterCallback)
public TreeReaderFactory.ReaderContext skipCorrupt(boolean skipCorrupt)
public TreeReaderFactory.ReaderContext useUTCTimestamp(boolean useUTCTimestamp)
public TreeReaderFactory.ReaderContext writerTimeZone(String writerTimezone)
public TreeReaderFactory.ReaderContext fileFormat(OrcFile.Version version)
public TreeReaderFactory.ReaderContext setProlepticGregorian(boolean file, boolean reader)
public SchemaEvolution getSchemaEvolution()
getSchemaEvolution in interface TreeReaderFactory.Contextpublic Set<Integer> getColumnFilterIds()
getColumnFilterIds in interface TreeReaderFactory.Contextpublic Consumer<OrcFilterContext> getColumnFilterCallback()
getColumnFilterCallback in interface TreeReaderFactory.Contextpublic boolean isSkipCorrupt()
isSkipCorrupt in interface TreeReaderFactory.Contextpublic boolean getUseUTCTimestamp()
getUseUTCTimestamp in interface TreeReaderFactory.Contextpublic String getWriterTimezone()
getWriterTimezone in interface TreeReaderFactory.Contextpublic OrcFile.Version getFileFormat()
getFileFormat in interface TreeReaderFactory.Contextpublic ReaderEncryption getEncryption()
getEncryption in interface TreeReaderFactory.Contextpublic boolean useProlepticGregorian()
useProlepticGregorian in interface TreeReaderFactory.Contextpublic boolean fileUsedProlepticGregorian()
fileUsedProlepticGregorian in interface TreeReaderFactory.Contextpublic TypeReader.ReaderCategory getReaderCategory(int columnId)
getReaderCategory in interface TreeReaderFactory.ContextCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.