Package org.apache.iceberg.data.orc
Class GenericOrcWriters
- java.lang.Object
-
- org.apache.iceberg.data.orc.GenericOrcWriters
-
public class GenericOrcWriters extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenericOrcWriters.StructWriter<S>
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrcValueWriter<java.lang.Boolean>
booleans()
static OrcValueWriter<byte[]>
byteArrays()
static OrcValueWriter<java.nio.ByteBuffer>
byteBuffers()
static OrcValueWriter<java.lang.Byte>
bytes()
static OrcValueWriter<java.time.LocalDate>
dates()
static OrcValueWriter<java.math.BigDecimal>
decimal(int precision, int scale)
static OrcValueWriter<java.lang.Double>
doubles(int id)
static OrcValueWriter<java.lang.Float>
floats(int id)
static OrcValueWriter<java.lang.Integer>
ints()
static <T> OrcValueWriter<java.util.List<T>>
list(OrcValueWriter<T> element)
static OrcValueWriter<java.lang.Long>
longs()
static <K,V>
OrcValueWriter<java.util.Map<K,V>>map(OrcValueWriter<K> key, OrcValueWriter<V> value)
static <T> OrcRowWriter<PositionDelete<T>>
positionDelete(OrcRowWriter<T> writer, java.util.function.Function<java.lang.CharSequence,?> pathTransformFunc)
static OrcValueWriter<java.lang.Short>
shorts()
static OrcValueWriter<java.lang.String>
strings()
static OrcValueWriter<java.time.LocalTime>
times()
static OrcValueWriter<java.time.LocalDateTime>
timestamp()
static OrcValueWriter<java.time.OffsetDateTime>
timestampTz()
static OrcValueWriter<java.util.UUID>
uuids()
-
-
-
Method Detail
-
booleans
public static OrcValueWriter<java.lang.Boolean> booleans()
-
bytes
public static OrcValueWriter<java.lang.Byte> bytes()
-
shorts
public static OrcValueWriter<java.lang.Short> shorts()
-
ints
public static OrcValueWriter<java.lang.Integer> ints()
-
times
public static OrcValueWriter<java.time.LocalTime> times()
-
longs
public static OrcValueWriter<java.lang.Long> longs()
-
floats
public static OrcValueWriter<java.lang.Float> floats(int id)
-
doubles
public static OrcValueWriter<java.lang.Double> doubles(int id)
-
strings
public static OrcValueWriter<java.lang.String> strings()
-
byteBuffers
public static OrcValueWriter<java.nio.ByteBuffer> byteBuffers()
-
uuids
public static OrcValueWriter<java.util.UUID> uuids()
-
byteArrays
public static OrcValueWriter<byte[]> byteArrays()
-
dates
public static OrcValueWriter<java.time.LocalDate> dates()
-
timestampTz
public static OrcValueWriter<java.time.OffsetDateTime> timestampTz()
-
timestamp
public static OrcValueWriter<java.time.LocalDateTime> timestamp()
-
decimal
public static OrcValueWriter<java.math.BigDecimal> decimal(int precision, int scale)
-
list
public static <T> OrcValueWriter<java.util.List<T>> list(OrcValueWriter<T> element)
-
map
public static <K,V> OrcValueWriter<java.util.Map<K,V>> map(OrcValueWriter<K> key, OrcValueWriter<V> value)
-
positionDelete
public static <T> OrcRowWriter<PositionDelete<T>> positionDelete(OrcRowWriter<T> writer, java.util.function.Function<java.lang.CharSequence,?> pathTransformFunc)
-
-