public class ArrowHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addValues(org.apache.arrow.vector.FieldVector vector,
int startRowIndex,
io.greptime.v1.Common.ColumnDataType dataType,
io.greptime.v1.Common.ColumnDataTypeExtension dataTypeExtension,
Iterator<Object> values) |
static org.apache.arrow.vector.types.pojo.Schema |
createSchema(TableSchema tableSchema)
Create an Arrow schema from a table schema.
|
static ArrowCompressionType |
getArrowCompressionType(Context ctx)
Get the Arrow compression type from the context.
|
public static ArrowCompressionType getArrowCompressionType(Context ctx)
ctx
- the contextpublic static org.apache.arrow.vector.types.pojo.Schema createSchema(TableSchema tableSchema)
tableSchema
- the table schemapublic static void addValues(org.apache.arrow.vector.FieldVector vector, int startRowIndex, io.greptime.v1.Common.ColumnDataType dataType, io.greptime.v1.Common.ColumnDataTypeExtension dataTypeExtension, Iterator<Object> values)
Copyright © 2025. All rights reserved.