Constructor and Description |
---|
RowSchema(java.util.List<TField> types) |
Modifier and Type | Method and Description |
---|---|
static RowSchema |
fromArrow(org.apache.arrow.vector.types.pojo.Schema schema) |
MessageType |
get(int column) |
int |
getDataSize() |
MessageType |
getDataType() |
java.util.List<TField> |
getFields() |
int |
getNumberOfColumns() |
int |
getTotalSize() |
boolean |
isLengthsSpecified() |
static RowSchema |
make(TField... t) |
org.apache.arrow.vector.types.pojo.Schema |
toArrowSchema() |
public RowSchema(java.util.List<TField> types)
public MessageType get(int column)
public int getNumberOfColumns()
public java.util.List<TField> getFields()
public org.apache.arrow.vector.types.pojo.Schema toArrowSchema()
public static RowSchema fromArrow(org.apache.arrow.vector.types.pojo.Schema schema)
public MessageType getDataType()
getDataType
in interface Schema
public int getDataSize()
getDataSize
in interface Schema
public int getTotalSize()
getTotalSize
in interface Schema
public boolean isLengthsSpecified()
isLengthsSpecified
in interface Schema