Flow PHP

Joiner

Read onlyYes
FinalYes

Methods

__construct()  : mixed
join()  : Generator<string|int, Rows>

Methods

__construct()

public __construct(JoinType $type, JoinSchema $joinSchema, null|JoinKeys $keys, PairPredicate $condition, Backend $backend[, BatchSize $batchSize = new BatchSize(1000) ]) : mixed
Parameters
$type : JoinType
$joinSchema : JoinSchema
$keys : null|JoinKeys

null: no equality to key by, every build row is a candidate of every probe row

$condition : PairPredicate
$backend : Backend
$batchSize : BatchSize = new BatchSize(1000)
  • size of output batches emitted for unmatched build side rows

join()

public join(JoinSide $left, JoinSide $right[, bool $buildLeft = false ]) : Generator<string|int, Rows>
Parameters
$left : JoinSide
$right : JoinSide
$buildLeft : bool = false
  • build the hash table from the left side and stream the right one, memory is then bounded by the left side
Return values
Generator<string|int, Rows>
On this page

Search results