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.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
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.