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
$partition_status
public
mixed
$partition_status
Methods
__construct()
public
__construct() : mixed
all()
NewPartitionFilterAll creates a partition filter that reads all the partitions.
public
static all() : PartitionFilter
Return values
PartitionFiltergetPartitionStatus()
public
getPartitionStatus() : array<string|int, mixed>
Return values
array<string|int, mixed>initPartitionStatus()
public
initPartitionStatus() : mixed
partition()
NewPartitionFilterById creates a partition filter by partition id.
public
static partition(int $id) : PartitionFilter
Partition id is between 0 - 4095
Parameters
- $id : int
Return values
PartitionFilterrange()
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