Class OrcFile.ReaderOptions

java.lang.Object
org.apache.orc.OrcFile.ReaderOptions
Enclosing class:
OrcFile

public static class OrcFile.ReaderOptions extends Object
  • Constructor Details

  • Method Details

    • filesystem

      public OrcFile.ReaderOptions filesystem(FileSystem fs)
    • maxLength

      public OrcFile.ReaderOptions maxLength(long val)
    • orcTail

      public OrcFile.ReaderOptions orcTail(OrcTail tail)
    • setKeyProvider

      public OrcFile.ReaderOptions setKeyProvider(KeyProvider provider)
      Set the KeyProvider to override the default for getting keys.
      Parameters:
      provider -
      Returns:
    • convertToProlepticGregorian

      public OrcFile.ReaderOptions convertToProlepticGregorian(boolean newValue)
      Should the reader convert dates and times to the proleptic Gregorian calendar?
      Parameters:
      newValue - should it use the proleptic Gregorian calendar?
      Returns:
      this
    • getConfiguration

      public Configuration getConfiguration()
    • getFilesystem

      public FileSystem getFilesystem()
    • getMaxLength

      public long getMaxLength()
    • getOrcTail

      public OrcTail getOrcTail()
    • getKeyProvider

      public KeyProvider getKeyProvider()
    • fileMetadata

      public OrcFile.ReaderOptions fileMetadata(FileMetadata metadata)
      Deprecated.
      Use orcTail(OrcTail) instead.
    • getFileMetadata

      public FileMetadata getFileMetadata()
    • useUTCTimestamp

      public OrcFile.ReaderOptions useUTCTimestamp(boolean value)
    • getUseUTCTimestamp

      public boolean getUseUTCTimestamp()
    • getConvertToProlepticGregorian

      public boolean getConvertToProlepticGregorian()