Uses of Class
org.apache.arrow.vector.types.pojo.ArrowType
Package
Description
-
Uses of ArrowType in org.apache.arrow.adapter.jdbc
Modifier and TypeMethodDescriptionstatic ArrowType
JdbcToArrowUtils.getArrowTypeFromJdbcType
(JdbcFieldInfo fieldInfo, Calendar calendar) Converts the provided JDBC type to its respectiveArrowType
counterpart.Modifier and TypeMethodDescriptionJdbcToArrowConfig.getJdbcToArrowTypeConverter()
Gets the mapping between JDBC type information to Arrow type.Modifier and TypeMethodDescriptionJdbcToArrowConfig.JdbcConsumerFactory.apply
(ArrowType arrowType, int columnIndex, boolean nullable, FieldVector vector, JdbcToArrowConfig config) static JdbcConsumer
JdbcToArrowUtils.getConsumer
(ArrowType arrowType, int columnIndex, boolean nullable, FieldVector vector, JdbcToArrowConfig config) Default function used for JdbcConsumerFactory.Modifier and TypeMethodDescriptionJdbcToArrowConfigBuilder.setJdbcToArrowTypeConverter
(Function<JdbcFieldInfo, ArrowType> jdbcToArrowTypeConverter) Set the function used to convert JDBC types to Arrow types. -
Uses of ArrowType in org.apache.arrow.adapter.jdbc.consumer.exceptions
ModifierConstructorDescriptionJdbcConsumerException
(String message, Throwable cause, JdbcFieldInfo fieldInfo, ArrowType arrowType) Construct JdbcConsumerException with all fields. -
Uses of ArrowType in org.apache.arrow.driver.jdbc.utils
Modifier and TypeMethodDescriptionVectorSchemaRootTransformer.Builder.addEmptyField
(String fieldName, ArrowType fieldType) Adds an empty field to the transformedVectorSchemaRoot
schema.static int
SqlTypes.getSqlTypeIdFromArrowType
(ArrowType arrowType) Convert givenArrowType
to its corresponding SQL type ID.static String
SqlTypes.getSqlTypeNameFromArrowType
(ArrowType arrowType) Convert givenArrowType
to its corresponding SQL type name. -
Uses of ArrowType in org.apache.arrow.vector
Modifier and TypeMethodDescriptionstatic int
TypeLayout.getTypeBufferCount
(ArrowType arrowType) Gets the number ofBufferLayout
s for the givenarrowType
.static TypeLayout
TypeLayout.getTypeLayout
(ArrowType arrowType) Constructs a newTypeLayout
for the givenarrowType
. -
Uses of ArrowType in org.apache.arrow.vector.complex
Modifier and TypeMethodDescriptionDenseUnionVector.getDecimal256Vector
(byte typeId, ArrowType arrowType) UnionVector.getDecimal256Vector
(String name, ArrowType arrowType) UnionVector.getDecimal256Vector
(ArrowType arrowType) DenseUnionVector.getDecimalVector
(byte typeId, ArrowType arrowType) UnionVector.getDecimalVector
(String name, ArrowType arrowType) UnionVector.getDecimalVector
(ArrowType arrowType) UnionVector.getDurationVector
(String name, ArrowType arrowType) UnionVector.getDurationVector
(ArrowType arrowType) UnionVector.getFixedSizeBinaryVector
(String name, ArrowType arrowType) UnionVector.getFixedSizeBinaryVector
(ArrowType arrowType) UnionVector.getTimeStampMicroTZVector
(String name, ArrowType arrowType) UnionVector.getTimeStampMicroTZVector
(ArrowType arrowType) UnionVector.getTimeStampMilliTZVector
(String name, ArrowType arrowType) UnionVector.getTimeStampMilliTZVector
(ArrowType arrowType) UnionVector.getTimeStampNanoTZVector
(String name, ArrowType arrowType) UnionVector.getTimeStampNanoTZVector
(ArrowType arrowType) UnionVector.getTimeStampSecTZVector
(String name, ArrowType arrowType) UnionVector.getTimeStampSecTZVector
(ArrowType arrowType) UnionVector.getVectorByType
(int typeId, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableDecimal256Holder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableDecimalHolder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableDurationHolder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableFixedSizeBinaryHolder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableTimeStampMicroTZHolder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableTimeStampMilliTZHolder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableTimeStampNanoTZHolder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, NullableTimeStampSecTZHolder holder, ArrowType arrowType) void
UnionVector.setSafe
(int index, UnionHolder holder, ArrowType arrowType) -
Uses of ArrowType in org.apache.arrow.vector.complex.impl
Modifier and TypeMethodDescriptionUnionWriter.asDecimal256
(ArrowType arrowType) UnionWriter.asDuration
(ArrowType arrowType) UnionWriter.asFixedSizeBinary
(ArrowType arrowType) UnionWriter.asTimeStampMicroTZ
(ArrowType arrowType) UnionWriter.asTimeStampMilliTZ
(ArrowType arrowType) UnionWriter.asTimeStampNanoTZ
(ArrowType arrowType) UnionWriter.asTimeStampSecTZ
(ArrowType arrowType) protected FieldWriter
PromotableWriter.getWriter
(Types.MinorType type, ArrowType arrowType) void
DecimalWriterImpl.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
PromotableWriter.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
UnionFixedSizeListWriter.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
UnionLargeListWriter.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
UnionListViewWriter.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
UnionListWriter.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
UnionWriter.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
Decimal256WriterImpl.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
PromotableWriter.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
UnionFixedSizeListWriter.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
UnionLargeListWriter.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
UnionListViewWriter.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
UnionListWriter.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
UnionWriter.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
DecimalWriterImpl.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
DenseUnionWriter.writeDecimal
(long start, ArrowBuf buffer, byte typeId, ArrowType arrowType) void
PromotableWriter.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionFixedSizeListWriter.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionLargeListWriter.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionListViewWriter.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionListWriter.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionWriter.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
Decimal256WriterImpl.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) void
DenseUnionWriter.writeDecimal256
(long start, ArrowBuf buffer, byte typeId, ArrowType arrowType) void
PromotableWriter.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionFixedSizeListWriter.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionLargeListWriter.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionListViewWriter.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionListWriter.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) void
UnionWriter.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) -
Uses of ArrowType in org.apache.arrow.vector.complex.writer
Modifier and TypeMethodDescriptionvoid
DecimalWriter.writeBigEndianBytesToDecimal
(byte[] value, ArrowType arrowType) void
Decimal256Writer.writeBigEndianBytesToDecimal256
(byte[] value, ArrowType arrowType) void
DecimalWriter.writeDecimal
(long start, ArrowBuf buffer, ArrowType arrowType) void
Decimal256Writer.writeDecimal256
(long start, ArrowBuf buffer, ArrowType arrowType) -
Uses of ArrowType in org.apache.arrow.vector.dictionary
-
Uses of ArrowType in org.apache.arrow.vector.types
Modifier and TypeMethodDescriptionfinal ArrowType
Types.MinorType.getType()
Returns theArrowType
equivalent of this type.Modifier and TypeMethodDescriptionstatic Types.MinorType
Types.getMinorTypeForArrowType
(ArrowType arrowType) Maps the ArrowType to the java implementations MinorType. -
Uses of ArrowType in org.apache.arrow.vector.types.pojo
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
A user-defined data type that wraps an underlying storage type.static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Modifier and TypeMethodDescriptionabstract ArrowType
ArrowType.ExtensionType.deserialize
(ArrowType storageType, String serializedData) Given saved metadata and the underlying storage type, construct a new instance of the user type.Field.getType()
FieldType.getType()
static ArrowType
ArrowType.getTypeForField
(Field field) abstract ArrowType
ArrowType.ExtensionType.storageType()
The on-wire type for this user-defined type.Modifier and TypeMethodDescriptionabstract ArrowType
ArrowType.ExtensionType.deserialize
(ArrowType storageType, String serializedData) Given saved metadata and the underlying storage type, construct a new instance of the user type.static Field
Field.notNullable
(String name, ArrowType type) static FieldType
FieldType.notNullable
(ArrowType type) static Field
static FieldType
ModifierConstructorDescriptionFieldType
(boolean nullable, ArrowType type, DictionaryEncoding dictionary) FieldType
(boolean nullable, ArrowType type, DictionaryEncoding dictionary, Map<String, String> metadata) Constructs a new instance.