Package org.apache.iceberg.data.orc
Class GenericOrcReaders
java.lang.Object
org.apache.iceberg.data.orc.GenericOrcReaders
-
Method Summary
Modifier and TypeMethodDescriptionstatic OrcValueReader<List<?>> array(OrcValueReader<?> elementReader) static OrcValueReader<ByteBuffer> bytes()static OrcValueReader<LocalDate> dates()static OrcValueReader<BigDecimal> decimals()static OrcValueReader<Map<?, ?>> map(OrcValueReader<?> keyReader, OrcValueReader<?> valueReader) static OrcValueReader<String> strings()static OrcValueReader<Record> struct(List<OrcValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant) Deprecated.static OrcValueReader<Record> struct(org.apache.orc.TypeDescription orcType, List<OrcValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant) static OrcValueReader<LocalTime> times()static OrcValueReader<LocalDateTime> static OrcValueReader<OffsetDateTime> static OrcValueReader<UUID> uuids()static OrcValueReader<Variant> variants()
-
Method Details
-
struct
@Deprecated public static OrcValueReader<Record> struct(List<OrcValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant) Deprecated.Usestruct(TypeDescription, List, Types.StructType, Map)instead. This method uses position-based binding which may cause field misalignment in MOR and lineage scenarios. -
struct
public static OrcValueReader<Record> struct(org.apache.orc.TypeDescription orcType, List<OrcValueReader<?>> readers, Types.StructType struct, Map<Integer, ?> idToConstant) -
array
-
map
public static OrcValueReader<Map<?,?>> map(OrcValueReader<?> keyReader, OrcValueReader<?> valueReader) -
timestampTzs
-
decimals
-
strings
-
uuids
-
bytes
-
times
-
dates
-
timestamps
-
variants
-
struct(TypeDescription, List, Types.StructType, Map)instead.