Package org.apache.iceberg.parquet
Class ParquetValueWriters
java.lang.Object
org.apache.iceberg.parquet.ParquetValueWriters
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Boolean>
booleans
(org.apache.parquet.column.ColumnDescriptor desc) byteBuffers
(org.apache.parquet.column.ColumnDescriptor desc) static <E> org.apache.iceberg.parquet.ParquetValueWriters.CollectionWriter<E>
collections
(int dl, int rl, ParquetValueWriter<E> writer) decimalAsFixed
(org.apache.parquet.column.ColumnDescriptor desc, int precision, int scale) decimalAsInteger
(org.apache.parquet.column.ColumnDescriptor desc, int precision, int scale) decimalAsLong
(org.apache.parquet.column.ColumnDescriptor desc, int precision, int scale) static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Double>
doubles
(org.apache.parquet.column.ColumnDescriptor desc) static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Float>
floats
(org.apache.parquet.column.ColumnDescriptor desc) static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Integer>
ints
(org.apache.parquet.column.ColumnDescriptor desc) static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Long>
longs
(org.apache.parquet.column.ColumnDescriptor desc) static <K,
V> org.apache.iceberg.parquet.ParquetValueWriters.MapWriter<K, V> maps
(int dl, int rl, ParquetValueWriter<K> keyWriter, ParquetValueWriter<V> valueWriter) static <T> ParquetValueWriter<T>
option
(org.apache.parquet.schema.Type type, int definitionLevel, ParquetValueWriter<T> writer) static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Short>
shorts
(org.apache.parquet.column.ColumnDescriptor desc) strings
(org.apache.parquet.column.ColumnDescriptor desc) static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Byte>
tinyints
(org.apache.parquet.column.ColumnDescriptor desc)
-
Method Details
-
option
public static <T> ParquetValueWriter<T> option(org.apache.parquet.schema.Type type, int definitionLevel, ParquetValueWriter<T> writer) -
booleans
public static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Boolean> booleans(org.apache.parquet.column.ColumnDescriptor desc) -
tinyints
public static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Byte> tinyints(org.apache.parquet.column.ColumnDescriptor desc) -
shorts
public static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Short> shorts(org.apache.parquet.column.ColumnDescriptor desc) -
ints
public static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Integer> ints(org.apache.parquet.column.ColumnDescriptor desc) -
longs
public static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Long> longs(org.apache.parquet.column.ColumnDescriptor desc) -
floats
public static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Float> floats(org.apache.parquet.column.ColumnDescriptor desc) -
doubles
public static org.apache.iceberg.parquet.ParquetValueWriters.UnboxedWriter<Double> doubles(org.apache.parquet.column.ColumnDescriptor desc) -
strings
public static ParquetValueWriters.PrimitiveWriter<CharSequence> strings(org.apache.parquet.column.ColumnDescriptor desc) -
decimalAsInteger
public static ParquetValueWriters.PrimitiveWriter<BigDecimal> decimalAsInteger(org.apache.parquet.column.ColumnDescriptor desc, int precision, int scale) -
decimalAsLong
public static ParquetValueWriters.PrimitiveWriter<BigDecimal> decimalAsLong(org.apache.parquet.column.ColumnDescriptor desc, int precision, int scale) -
decimalAsFixed
public static ParquetValueWriters.PrimitiveWriter<BigDecimal> decimalAsFixed(org.apache.parquet.column.ColumnDescriptor desc, int precision, int scale) -
byteBuffers
public static ParquetValueWriters.PrimitiveWriter<ByteBuffer> byteBuffers(org.apache.parquet.column.ColumnDescriptor desc) -
collections
public static <E> org.apache.iceberg.parquet.ParquetValueWriters.CollectionWriter<E> collections(int dl, int rl, ParquetValueWriter<E> writer) -
maps
public static <K,V> org.apache.iceberg.parquet.ParquetValueWriters.MapWriter<K,V> maps(int dl, int rl, ParquetValueWriter<K> keyWriter, ParquetValueWriter<V> valueWriter)
-