Class Parquet.ReadBuilder

  • Enclosing class:
    Parquet

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

      • split

        public Parquet.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
      • filter

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

        public Parquet.ReadBuilder createBatchedReaderFunc​(java.util.function.Function<org.apache.parquet.schema.MessageType,​VectorizedReader<?>> func)
      • withNameMapping

        public Parquet.ReadBuilder withNameMapping​(org.apache.iceberg.mapping.NameMapping newNameMapping)
      • withFileEncryptionKey

        public Parquet.ReadBuilder withFileEncryptionKey​(java.nio.ByteBuffer encryptionKey)
      • build

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