public class Field extends Object
Constructor and Description |
---|
Field(String name,
boolean nullable,
ArrowType type,
DictionaryEncoding dictionary,
List<Field> children) |
Field(String name,
boolean nullable,
ArrowType type,
List<Field> children) |
Field(String name,
FieldType fieldType,
List<Field> children) |
Modifier and Type | Method and Description |
---|---|
static Field |
convertField(Field field) |
FieldVector |
createVector(BufferAllocator allocator) |
boolean |
equals(Object obj) |
List<Field> |
getChildren() |
DictionaryEncoding |
getDictionary() |
int |
getField(com.google.flatbuffers.FlatBufferBuilder builder) |
FieldType |
getFieldType() |
String |
getName() |
ArrowType |
getType() |
TypeLayout |
getTypeLayout() |
int |
hashCode() |
boolean |
isNullable() |
static Field |
nullable(String name,
ArrowType type) |
static Field |
nullablePrimitive(String name,
ArrowType.PrimitiveType type) |
String |
toString() |
void |
validate() |
public Field(String name, boolean nullable, ArrowType type, DictionaryEncoding dictionary, List<Field> children)
public static Field nullablePrimitive(String name, ArrowType.PrimitiveType type)
public FieldVector createVector(BufferAllocator allocator)
public void validate()
public int getField(com.google.flatbuffers.FlatBufferBuilder builder)
public String getName()
public boolean isNullable()
public ArrowType getType()
public FieldType getFieldType()
public DictionaryEncoding getDictionary()
public TypeLayout getTypeLayout()
Copyright © 2017 The Apache Software Foundation. All rights reserved.