Constructor and Description |
---|
ReaderOptions(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
OrcFile.ReaderOptions |
convertToProlepticGregorian(boolean newValue)
Should the reader convert dates and times to the proleptic Gregorian calendar?
|
OrcFile.ReaderOptions |
fileMetadata(org.apache.orc.FileMetadata metadata)
Deprecated.
Use
orcTail(OrcTail) instead. |
OrcFile.ReaderOptions |
filesystem(org.apache.hadoop.fs.FileSystem fs) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
boolean |
getConvertToProlepticGregorian() |
org.apache.orc.FileMetadata |
getFileMetadata() |
org.apache.hadoop.fs.FileSystem |
getFilesystem() |
org.apache.orc.impl.KeyProvider |
getKeyProvider() |
long |
getMaxLength() |
org.apache.orc.impl.OrcTail |
getOrcTail() |
boolean |
getUseUTCTimestamp() |
OrcFile.ReaderOptions |
maxLength(long val) |
OrcFile.ReaderOptions |
orcTail(org.apache.orc.impl.OrcTail tail) |
OrcFile.ReaderOptions |
setKeyProvider(org.apache.orc.impl.KeyProvider provider)
Set the KeyProvider to override the default for getting keys.
|
OrcFile.ReaderOptions |
useUTCTimestamp(boolean value) |
public OrcFile.ReaderOptions filesystem(org.apache.hadoop.fs.FileSystem fs)
public OrcFile.ReaderOptions maxLength(long val)
public OrcFile.ReaderOptions orcTail(org.apache.orc.impl.OrcTail tail)
public OrcFile.ReaderOptions setKeyProvider(org.apache.orc.impl.KeyProvider provider)
provider
- public OrcFile.ReaderOptions convertToProlepticGregorian(boolean newValue)
newValue
- should it use the proleptic Gregorian calendar?public org.apache.hadoop.conf.Configuration getConfiguration()
public org.apache.hadoop.fs.FileSystem getFilesystem()
public long getMaxLength()
public org.apache.orc.impl.OrcTail getOrcTail()
public org.apache.orc.impl.KeyProvider getKeyProvider()
public OrcFile.ReaderOptions fileMetadata(org.apache.orc.FileMetadata metadata)
orcTail(OrcTail)
instead.public org.apache.orc.FileMetadata getFileMetadata()
public OrcFile.ReaderOptions useUTCTimestamp(boolean value)
public boolean getUseUTCTimestamp()
public boolean getConvertToProlepticGregorian()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.