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.Context
public Set<Integer> getColumnFilterIds()
getColumnFilterIds
in interface TreeReaderFactory.Context
public Consumer<OrcFilterContext> getColumnFilterCallback()
getColumnFilterCallback
in interface TreeReaderFactory.Context
public boolean isSkipCorrupt()
isSkipCorrupt
in interface TreeReaderFactory.Context
public boolean getUseUTCTimestamp()
getUseUTCTimestamp
in interface TreeReaderFactory.Context
public String getWriterTimezone()
getWriterTimezone
in interface TreeReaderFactory.Context
public OrcFile.Version getFileFormat()
getFileFormat
in interface TreeReaderFactory.Context
public ReaderEncryption getEncryption()
getEncryption
in interface TreeReaderFactory.Context
public boolean useProlepticGregorian()
useProlepticGregorian
in interface TreeReaderFactory.Context
public boolean fileUsedProlepticGregorian()
fileUsedProlepticGregorian
in interface TreeReaderFactory.Context
public TypeReader.ReaderCategory getReaderCategory(int columnId)
getReaderCategory
in interface TreeReaderFactory.Context
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.