Class ORC.ReadBuilder

  • Enclosing class:
    ORC

    public static class ORC.ReadBuilder
    extends java.lang.Object
    • Method Detail

      • split

        public ORC.ReadBuilder split​(long newStart,
                                     long newLength)
        Restricts the read to the given range: [start, start + length).
        Parameters:
        newStart - the start position for this read
        newLength - the length of the range this read should scan
        Returns:
        this builder for method chaining
      • caseSensitive

        public ORC.ReadBuilder caseSensitive​(boolean newCaseSensitive)
      • config

        public ORC.ReadBuilder config​(java.lang.String property,
                                      java.lang.String value)
      • createReaderFunc

        public ORC.ReadBuilder createReaderFunc​(java.util.function.Function<org.apache.orc.TypeDescription,​OrcRowReader<?>> readerFunction)
      • createBatchedReaderFunc

        public ORC.ReadBuilder createBatchedReaderFunc​(java.util.function.Function<org.apache.orc.TypeDescription,​OrcBatchReader<?>> batchReaderFunction)
      • recordsPerBatch

        public ORC.ReadBuilder recordsPerBatch​(int numRecordsPerBatch)