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 Details

    • of

      public static org.apache.arrow.vector.types.pojo.Field of(ColumnHeader<?> header)
      Convert a header into a Field.
      Parameters:
      header - the header
      Returns:
      the field
    • byteField

      public static org.apache.arrow.vector.types.pojo.Field byteField(String name)
    • booleanField

      public static org.apache.arrow.vector.types.pojo.Field booleanField(String name)
    • charField

      public static org.apache.arrow.vector.types.pojo.Field charField(String name)
    • shortField

      public static org.apache.arrow.vector.types.pojo.Field shortField(String name)
    • intField

      public static org.apache.arrow.vector.types.pojo.Field intField(String name)
    • longField

      public static org.apache.arrow.vector.types.pojo.Field longField(String name)
    • floatField

      public static org.apache.arrow.vector.types.pojo.Field floatField(String name)
    • doubleField

      public static org.apache.arrow.vector.types.pojo.Field doubleField(String name)
    • stringField

      public static org.apache.arrow.vector.types.pojo.Field stringField(String name)
    • byteVectorField

      public static org.apache.arrow.vector.types.pojo.Field byteVectorField(String name)
    • instantField

      public static org.apache.arrow.vector.types.pojo.Field instantField(String name)
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(PrimitiveType<?> primitive)
      Specified by:
      visit in interface Type.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(ByteType byteType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(BooleanType booleanType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(CharType charType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(ShortType shortType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(IntType intType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(LongType longType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(FloatType floatType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(DoubleType doubleType)
      Specified by:
      visit in interface PrimitiveType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(GenericType<?> generic)
      Specified by:
      visit in interface Type.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(BoxedType<?> boxedType)
      Specified by:
      visit in interface GenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(StringType stringType)
      Specified by:
      visit in interface GenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(InstantType instantType)
      Specified by:
      visit in interface GenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(CustomType<?> customType)
      Specified by:
      visit in interface GenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(ArrayType<?,?> arrayType)
      Specified by:
      visit in interface GenericType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(NativeArrayType<?,?> nativeArrayType)
      Specified by:
      visit in interface ArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(PrimitiveVectorType<?,?> vectorPrimitiveType)
      Specified by:
      visit in interface ArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>
    • visit

      public org.apache.arrow.vector.types.pojo.Field visit(GenericVectorType<?,?> genericVectorType)
      Specified by:
      visit in interface ArrayType.Visitor<org.apache.arrow.vector.types.pojo.Field>