Package org.apache.arrow.flatbuf
Class FieldNode
java.lang.Object
com.google.flatbuffers.Struct
org.apache.arrow.flatbuf.FieldNode
public final class FieldNode
extends com.google.flatbuffers.Struct
----------------------------------------------------------------------
Data structures for describing a table row batch (a collection of
equal-length Arrow arrays)
Metadata about a field at some level of a nested type tree (but not
its children).
For example, a List with values `[[1, 2, 3], null, [4], [5, 6], null]`
would have {length: 5, null_count: 2} for its List node, and {length: 6,
null_count: 0} for its Int16 node, as separate FieldNode structs
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.google.flatbuffers.Struct
bb, bb_pos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__assign
(int _i, ByteBuffer _bb) void
__init
(int _i, ByteBuffer _bb) static int
createFieldNode
(com.google.flatbuffers.FlatBufferBuilder builder, long length, long nullCount) long
length()
The number of value slots in the Arrow array at this level of a nested treelong
The number of observed nulls.Methods inherited from class com.google.flatbuffers.Struct
__reset, __reset
-
Constructor Details
-
FieldNode
public FieldNode()
-
-
Method Details
-
__init
-
__assign
-
length
public long length()The number of value slots in the Arrow array at this level of a nested tree -
nullCount
public long nullCount()The number of observed nulls. Fields with null_count == 0 may choose not to write their physical validity bitmap out as a materialized buffer, instead setting the length of the bitmap buffer to 0. -
createFieldNode
public static int createFieldNode(com.google.flatbuffers.FlatBufferBuilder builder, long length, long nullCount)
-