Documentation

PartitionFilter
in package

Virtual collection of records retrieved through queries and scans. During a query/scan, multiple threads will retrieve records from the server nodes and put these records on an internal queue managed by the recordset. The single user thread consumes these records from the queue.

Table of Contents

Properties

$partition_status  : mixed

Methods

__construct()  : mixed
all()  : PartitionFilter
NewPartitionFilterAll creates a partition filter that reads all the partitions.
getPartitionStatus()  : array<string|int, mixed>
initPartitionStatus()  : mixed
partition()  : PartitionFilter
NewPartitionFilterById creates a partition filter by partition id.
range()  : PartitionFilter
NewPartitionFilterByRange creates a partition filter by partition range.

Properties

Methods

range()

NewPartitionFilterByRange creates a partition filter by partition range.

public static range(int $begin, int $count) : PartitionFilter

begin partition id is between 0 - 4095 count is the number of partitions, in the range of 1 - 4096 inclusive.

Parameters
$begin : int
$count : int
Return values
PartitionFilter

        
On this page

Search results