Package io.deephaven.client.impl
Class FieldAdapter
java.lang.Object
io.deephaven.client.impl.FieldAdapter
- All Implemented Interfaces:
ArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>
,GenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
,PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
,Type.Visitor<org.apache.arrow.vector.types.pojo.Field>
public class FieldAdapter
extends Object
implements Type.Visitor<org.apache.arrow.vector.types.pojo.Field>, PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>, GenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>, ArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>
Utilities for creating a
Field
.-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.arrow.vector.types.pojo.Field
booleanField
(String name) static org.apache.arrow.vector.types.pojo.Field
static org.apache.arrow.vector.types.pojo.Field
byteVectorField
(String name) static org.apache.arrow.vector.types.pojo.Field
static org.apache.arrow.vector.types.pojo.Field
doubleField
(String name) static org.apache.arrow.vector.types.pojo.Field
floatField
(String name) static org.apache.arrow.vector.types.pojo.Field
instantField
(String name) static org.apache.arrow.vector.types.pojo.Field
static org.apache.arrow.vector.types.pojo.Field
static org.apache.arrow.vector.types.pojo.Field
of
(ColumnHeader<?> header) Convert aheader
into aField
.static org.apache.arrow.vector.types.pojo.Field
shortField
(String name) static org.apache.arrow.vector.types.pojo.Field
stringField
(String name) org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
visit
(BooleanType booleanType) org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
visit
(CustomType<?> customType) org.apache.arrow.vector.types.pojo.Field
visit
(DoubleType doubleType) org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
visit
(GenericType<?> generic) org.apache.arrow.vector.types.pojo.Field
visit
(GenericVectorType<?, ?> genericVectorType) org.apache.arrow.vector.types.pojo.Field
visit
(InstantType instantType) org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
visit
(NativeArrayType<?, ?> nativeArrayType) org.apache.arrow.vector.types.pojo.Field
visit
(PrimitiveType<?> primitive) org.apache.arrow.vector.types.pojo.Field
visit
(PrimitiveVectorType<?, ?> vectorPrimitiveType) org.apache.arrow.vector.types.pojo.Field
org.apache.arrow.vector.types.pojo.Field
visit
(StringType stringType)
-
Method Details
-
of
Convert aheader
into aField
.- Parameters:
header
- the header- Returns:
- the field
-
byteField
-
booleanField
-
charField
-
shortField
-
intField
-
longField
-
floatField
-
doubleField
-
stringField
-
byteVectorField
-
instantField
-
visit
- Specified by:
visit
in interfaceType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfacePrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceGenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceGenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceGenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceGenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceGenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-
visit
- Specified by:
visit
in interfaceArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>
-