java.lang.Object
org.apache.arrow.vector.BufferLayout
Metadata class that captures the "type" of an Arrow buffer. (e.g. data buffers, offset buffers
for variable width types and validity buffers).
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration of the different logical types a buffer can have. -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferLayout
static BufferLayout
static BufferLayout
dataBuffer
(int typeBitWidth) Returns a databuffer for the given bitwidth.boolean
getType()
int
int
hashCode()
static BufferLayout
static BufferLayout
static BufferLayout
static BufferLayout
toString()
static BufferLayout
static BufferLayout
static BufferLayout
-
Method Details
-
typeBuffer
-
offsetBuffer
-
largeOffsetBuffer
-
sizeBuffer
-
largeSizeBuffer
-
dataBuffer
Returns a databuffer for the given bitwidth. Only supports powers of two between 8 and 128 inclusive. -
booleanVector
-
validityVector
-
byteVector
-
viewVector
-
getTypeBitWidth
public int getTypeBitWidth() -
getType
-
toString
-
hashCode
public int hashCode() -
equals
-