Class Field


public final class Field extends
---------------------------------------------------------------------- A field represents a named column in a record / row batch or child of a nested type.
  • Constructor Details

    • Field

      public Field()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsField

      public static Field getRootAsField(ByteBuffer _bb)
    • getRootAsField

      public static Field getRootAsField(ByteBuffer _bb, Field obj)
    • __init

      public void __init(int _i, ByteBuffer _bb)
    • __assign

      public Field __assign(int _i, ByteBuffer _bb)
    • name

      public String name()
      Name is not required, in i.e. a List
    • nameAsByteBuffer

      public ByteBuffer nameAsByteBuffer()
    • nameInByteBuffer

      public ByteBuffer nameInByteBuffer(ByteBuffer _bb)
    • nullable

      public boolean nullable()
      Whether or not this field can contain nulls. Should be true in general.
    • typeType

      public byte typeType()
    • type

      public type( obj)
      This is the type of the decoded value if the field is dictionary encoded.
    • dictionary

      public DictionaryEncoding dictionary()
      Present only if the field is dictionary encoded.
    • dictionary

      public DictionaryEncoding dictionary(DictionaryEncoding obj)
    • children

      public Field children(int j)
      children apply only to nested data types like Struct, List and Union. For primitive types children will have length 0.
    • children

      public Field children(Field obj, int j)
    • childrenLength

      public int childrenLength()
    • childrenVector

      public Field.Vector childrenVector()
    • childrenVector

      public Field.Vector childrenVector(Field.Vector obj)
    • customMetadata

      public KeyValue customMetadata(int j)
      User-defined metadata
    • customMetadata

      public KeyValue customMetadata(KeyValue obj, int j)
    • customMetadataLength

      public int customMetadataLength()
    • customMetadataVector

      public KeyValue.Vector customMetadataVector()
    • customMetadataVector

      public KeyValue.Vector customMetadataVector(KeyValue.Vector obj)
    • createField

      public static int createField( builder, int nameOffset, boolean nullable, byte typeType, int typeOffset, int dictionaryOffset, int childrenOffset, int customMetadataOffset)
    • startField

      public static void startField( builder)
    • addName

      public static void addName( builder, int nameOffset)
    • addNullable

      public static void addNullable( builder, boolean nullable)
    • addTypeType

      public static void addTypeType( builder, byte typeType)
    • addType

      public static void addType( builder, int typeOffset)
    • addDictionary

      public static void addDictionary( builder, int dictionaryOffset)
    • addChildren

      public static void addChildren( builder, int childrenOffset)
    • createChildrenVector

      public static int createChildrenVector( builder, int[] data)
    • startChildrenVector

      public static void startChildrenVector( builder, int numElems)
    • addCustomMetadata

      public static void addCustomMetadata( builder, int customMetadataOffset)
    • createCustomMetadataVector

      public static int createCustomMetadataVector( builder, int[] data)
    • startCustomMetadataVector

      public static void startCustomMetadataVector( builder, int numElems)
    • endField

      public static int endField( builder)