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
ConstructorsConstructorDescriptionTypeLayout(List<BufferLayout> bufferLayouts) TypeLayout(BufferLayout... bufferLayouts) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the individual BufferLayouts for the given type.Returns the types of each buffer for this layout.static intgetTypeBufferCount(ArrowType arrowType) Gets the number ofBufferLayouts for the givenarrowType.static TypeLayoutgetTypeLayout(ArrowType arrowType) Constructs a newTypeLayoutfor the givenarrowType.inthashCode()toString()
-
Constructor Details
-
TypeLayout
-
TypeLayout
-
-
Method Details
-
getTypeLayout
Constructs a newTypeLayoutfor the givenarrowType. -
getTypeBufferCount
Gets the number ofBufferLayouts 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
-