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
      • project

        public ORC.ReadBuilder project​(org.apache.iceberg.Schema newSchema)
      • 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)
      • filter

        public ORC.ReadBuilder filter​(org.apache.iceberg.expressions.Expression newFilter)
      • createBatchedReaderFunc

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

        public ORC.ReadBuilder recordsPerBatch​(int numRecordsPerBatch)
      • withNameMapping

        public ORC.ReadBuilder withNameMapping​(org.apache.iceberg.mapping.NameMapping newNameMapping)
      • build

        public <D> org.apache.iceberg.io.CloseableIterable<D> build()