Flow PHP

BufferLayout

Read onlyYes
FinalYes

The one layout of Column::encode(): the pre-order nodes and buffers a column type spans.

Methods

bufferCount()  : int
nodeCount()  : int
nodes()  : array<int, array{int, int}>
Pre-order {length, nullCount} of one column's tree: the first node as given, every child derived from the buffers - a null kind is {length, length}, list and map children span the last offset, a map entries node holds no nulls and structure children span their parent.

Methods

bufferCount()

public bufferCount(Type<string|int, mixed> $type) : int
Parameters
$type : Type<string|int, mixed>
Return values
int

nodeCount()

public nodeCount(Type<string|int, mixed> $type) : int
Parameters
$type : Type<string|int, mixed>
Return values
int

nodes()

Pre-order {length, nullCount} of one column's tree: the first node as given, every child derived from the buffers - a null kind is {length, length}, list and map children span the last offset, a map entries node holds no nulls and structure children span their parent.

public nodes(Type<string|int, mixed> $type, int $length, int $nullCount, array<int, string> $buffers) : array<int, array{int, int}>
Parameters
$type : Type<string|int, mixed>
$length : int
$nullCount : int
$buffers : array<int, string>
Tags
throws
InvalidArgumentException
Return values
array<int, array{int, int}>
On this page

Search results