public static class TreeReaderFactory.ReaderContext extends Object implements TreeReaderFactory.Context
Constructor and Description |
---|
ReaderContext() |
Modifier and Type | Method and Description |
---|---|
TreeReaderFactory.ReaderContext |
fileFormat(OrcFile.Version version) |
boolean |
fileUsedProlepticGregorian() |
ReaderEncryption |
getEncryption() |
OrcFile.Version |
getFileFormat() |
SchemaEvolution |
getSchemaEvolution() |
boolean |
getUseUTCTimestamp() |
String |
getWriterTimezone() |
boolean |
isSkipCorrupt() |
TreeReaderFactory.ReaderContext |
setEncryption(ReaderEncryption value) |
TreeReaderFactory.ReaderContext |
setProlepticGregorian(boolean file,
boolean reader) |
TreeReaderFactory.ReaderContext |
setSchemaEvolution(SchemaEvolution evolution) |
TreeReaderFactory.ReaderContext |
skipCorrupt(boolean skipCorrupt) |
boolean |
useProlepticGregorian() |
TreeReaderFactory.ReaderContext |
useUTCTimestamp(boolean useUTCTimestamp) |
TreeReaderFactory.ReaderContext |
writerTimeZone(String writerTimezone) |
public TreeReaderFactory.ReaderContext setSchemaEvolution(SchemaEvolution evolution)
public TreeReaderFactory.ReaderContext setEncryption(ReaderEncryption value)
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 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
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.