Modifier and Type | Method and Description |
---|---|
static ArrowType |
JdbcToArrowUtils.getArrowTypeFromJdbcType(JdbcFieldInfo fieldInfo,
Calendar calendar)
Converts the provided JDBC type to its respective
ArrowType counterpart. |
Modifier and Type | Method and Description |
---|---|
Function<JdbcFieldInfo,ArrowType> |
JdbcToArrowConfig.getJdbcToArrowTypeConverter()
Gets the mapping between JDBC type information to Arrow type.
|
Modifier and Type | Method and Description |
---|---|
JdbcToArrowConfigBuilder |
JdbcToArrowConfigBuilder.setJdbcToArrowTypeConverter(Function<JdbcFieldInfo,ArrowType> jdbcToArrowTypeConverter)
Set the function used to convert JDBC types to Arrow types.
|
Modifier and Type | Method and Description |
---|---|
VectorSchemaRootTransformer.Builder |
VectorSchemaRootTransformer.Builder.addEmptyField(String fieldName,
ArrowType fieldType)
Adds an empty field to the transformed
VectorSchemaRoot schema. |
static int |
SqlTypes.getSqlTypeIdFromArrowType(ArrowType arrowType)
Convert given
ArrowType to its corresponding SQL type ID. |
static String |
SqlTypes.getSqlTypeNameFromArrowType(ArrowType arrowType)
Convert given
ArrowType to its corresponding SQL type name. |
Modifier and Type | Method and Description |
---|---|
static int |
TypeLayout.getTypeBufferCount(ArrowType arrowType)
Gets the number of
BufferLayout s for the given arrowType . |
static TypeLayout |
TypeLayout.getTypeLayout(ArrowType arrowType)
Constructs a new for the given
arrowType . |
Modifier and Type | Method and Description |
---|---|
DecimalWriter |
UnionWriter.asDecimal(ArrowType arrowType) |
Decimal256Writer |
UnionWriter.asDecimal256(ArrowType arrowType) |
DurationWriter |
UnionWriter.asDuration(ArrowType arrowType) |
FixedSizeBinaryWriter |
UnionWriter.asFixedSizeBinary(ArrowType arrowType) |
BaseWriter.MapWriter |
UnionWriter.asMap(ArrowType arrowType) |
TimeStampMicroTZWriter |
UnionWriter.asTimeStampMicroTZ(ArrowType arrowType) |
TimeStampMilliTZWriter |
UnionWriter.asTimeStampMilliTZ(ArrowType arrowType) |
TimeStampNanoTZWriter |
UnionWriter.asTimeStampNanoTZ(ArrowType arrowType) |
TimeStampSecTZWriter |
UnionWriter.asTimeStampSecTZ(ArrowType arrowType) |
protected FieldWriter |
PromotableWriter.getWriter(Types.MinorType type,
ArrowType arrowType) |
void |
UnionListWriter.writeBigEndianBytesToDecimal(byte[] value,
ArrowType arrowType) |
void |
UnionFixedSizeListWriter.writeBigEndianBytesToDecimal(byte[] value,
ArrowType arrowType) |
void |
DecimalWriterImpl.writeBigEndianBytesToDecimal(byte[] value,
ArrowType arrowType) |
void |
PromotableWriter.writeBigEndianBytesToDecimal(byte[] value,
ArrowType arrowType) |
void |
UnionWriter.writeBigEndianBytesToDecimal(byte[] value,
ArrowType arrowType) |
void |
UnionLargeListWriter.writeBigEndianBytesToDecimal(byte[] value,
ArrowType arrowType) |
void |
UnionListWriter.writeBigEndianBytesToDecimal256(byte[] value,
ArrowType arrowType) |
void |
UnionFixedSizeListWriter.writeBigEndianBytesToDecimal256(byte[] value,
ArrowType arrowType) |
void |
Decimal256WriterImpl.writeBigEndianBytesToDecimal256(byte[] value,
ArrowType arrowType) |
void |
PromotableWriter.writeBigEndianBytesToDecimal256(byte[] value,
ArrowType arrowType) |
void |
UnionWriter.writeBigEndianBytesToDecimal256(byte[] value,
ArrowType arrowType) |
void |
UnionLargeListWriter.writeBigEndianBytesToDecimal256(byte[] value,
ArrowType arrowType) |
void |
UnionListWriter.writeDecimal(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
UnionFixedSizeListWriter.writeDecimal(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
DecimalWriterImpl.writeDecimal(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
PromotableWriter.writeDecimal(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
UnionWriter.writeDecimal(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
UnionLargeListWriter.writeDecimal(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
DenseUnionWriter.writeDecimal(long start,
ArrowBuf buffer,
byte typeId,
ArrowType arrowType) |
void |
UnionListWriter.writeDecimal256(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
UnionFixedSizeListWriter.writeDecimal256(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
Decimal256WriterImpl.writeDecimal256(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
PromotableWriter.writeDecimal256(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
UnionWriter.writeDecimal256(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
UnionLargeListWriter.writeDecimal256(long start,
ArrowBuf buffer,
ArrowType arrowType) |
void |
DenseUnionWriter.writeDecimal256(long start,
ArrowBuf buffer,
byte typeId,
ArrowType arrowType) |
Modifier and Type | Method and Description |
---|---|
void |
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) |
Modifier and Type | Method and Description |
---|---|
ArrowType |
Dictionary.getVectorType() |
Modifier and Type | Method and Description |
---|---|
ArrowType |
Types.MinorType.getType()
Returns the
ArrowType equivalent of this type. |
Modifier and Type | Method and Description |
---|---|
static Types.MinorType |
Types.getMinorTypeForArrowType(ArrowType arrowType)
Maps the ArrowType to the java implementations MinorType.
|
Modifier and Type | Class and Description |
---|---|
static class |
ArrowType.Binary |
static class |
ArrowType.Bool |
static class |
ArrowType.ComplexType |
static class |
ArrowType.Date |
static class |
ArrowType.Decimal |
static class |
ArrowType.Duration |
static class |
ArrowType.ExtensionType
A user-defined data type that wraps an underlying storage type.
|
static class |
ArrowType.FixedSizeBinary |
static class |
ArrowType.FixedSizeList |
static class |
ArrowType.FloatingPoint |
static class |
ArrowType.Int |
static class |
ArrowType.Interval |
static class |
ArrowType.LargeBinary |
static class |
ArrowType.LargeList |
static class |
ArrowType.LargeUtf8 |
static class |
ArrowType.List |
static class |
ArrowType.Map |
static class |
ArrowType.Null |
static class |
ArrowType.PrimitiveType |
static class |
ArrowType.Struct |
static class |
ArrowType.Time |
static class |
ArrowType.Timestamp |
static class |
ArrowType.Union |
static class |
ArrowType.Utf8 |
Modifier and Type | Method and Description |
---|---|
abstract ArrowType |
ArrowType.ExtensionType.deserialize(ArrowType storageType,
String serializedData)
Given saved metadata and the underlying storage type, construct a new instance of the user type.
|
ArrowType |
FieldType.getType() |
ArrowType |
Field.getType() |
static ArrowType |
ArrowType.getTypeForField(Field field) |
abstract ArrowType |
ArrowType.ExtensionType.storageType()
The on-wire type for this user-defined type.
|
Modifier and Type | Method and Description |
---|---|
abstract 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 FieldType |
FieldType.notNullable(ArrowType type) |
static Field |
Field.notNullable(String name,
ArrowType type) |
static FieldType |
FieldType.nullable(ArrowType type) |
static Field |
Field.nullable(String name,
ArrowType type) |
Constructor and Description |
---|
FieldType(boolean nullable,
ArrowType type,
DictionaryEncoding dictionary) |
FieldType(boolean nullable,
ArrowType type,
DictionaryEncoding dictionary,
Map<String,String> metadata)
Constructs a new instance.
|
Copyright © 2023 The Apache Software Foundation. All rights reserved.