Package org.apache.arrow.vector
Class TypeLayout
java.lang.Object
org.apache.arrow.vector.TypeLayout
The buffer layout of vectors for a given type.
It defines its own buffers followed by the buffers for the children
if it is a nested type (Struct_, List, Union)
-
Constructor Summary
ConstructorDescriptionTypeLayout
(List<BufferLayout> bufferLayouts) TypeLayout
(BufferLayout... bufferLayouts) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the individual BufferLayouts for the given type.Returns the types of each buffer for this layout.static int
getTypeBufferCount
(ArrowType arrowType) Gets the number ofBufferLayout
s for the givenarrowType
.static TypeLayout
getTypeLayout
(ArrowType arrowType) Constructs a newTypeLayout
for the givenarrowType
.int
hashCode()
toString()
-
Constructor Details
-
TypeLayout
-
TypeLayout
-
-
Method Details
-
getTypeLayout
Constructs a newTypeLayout
for the givenarrowType
. -
getTypeBufferCount
Gets the number ofBufferLayout
s for the givenarrowType
. -
getBufferLayouts
Returns the individual BufferLayouts for the given type. -
getBufferTypes
Returns the types of each buffer for this layout. A layout can consist of multiple buffers for example a validity bitmap buffer, a value buffer or an offset buffer. -
toString
-
hashCode
public int hashCode() -
equals
-