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) |
OrcFile.Version |
getFileFormat() |
SchemaEvolution |
getSchemaEvolution() |
boolean |
getUseUTCTimestamp() |
String |
getWriterTimezone() |
boolean |
isSkipCorrupt() |
TreeReaderFactory.ReaderContext |
setSchemaEvolution(SchemaEvolution evolution) |
TreeReaderFactory.ReaderContext |
skipCorrupt(boolean skipCorrupt) |
TreeReaderFactory.ReaderContext |
useUTCTimestamp(boolean useUTCTimestamp) |
TreeReaderFactory.ReaderContext |
writerTimeZone(String writerTimezone) |
public TreeReaderFactory.ReaderContext setSchemaEvolution(SchemaEvolution evolution)
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 SchemaEvolution getSchemaEvolution()
getSchemaEvolution 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.ContextCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.