T0
- the type of the items in the primary stagepublic abstract class GeneralHashJoinBuilder<T0> extends Object
GeneralStage.hashJoinBuilder()
on the primary
stage, the one whose data will be enriched from all other stages.
Collect all the tags returned from add()
and use them to retrieve
the enriching items from ItemsByTag
you get in the result.
This object is mainly intended to build a hash-join of the primary stage
with three or more contributing stages. For one or two stages, prefer the
direct stage.hashJoin(...)
calls because they offer more static
type safety.
Modifier and Type | Method and Description |
---|---|
<K,T1_IN,T1> |
add(BatchStage<T1_IN> stage,
JoinClause<K,T0,T1_IN,T1> joinClause)
Adds another contributing pipeline stage to the hash-join operation.
|
<K,T1_IN,T1> |
addInner(BatchStage<T1_IN> stage,
JoinClause<K,T0,T1_IN,T1> joinClause)
Adds another contributing pipeline stage to the hash-join operation.
|
public <K,T1_IN,T1> Tag<T1> add(BatchStage<T1_IN> stage, JoinClause<K,T0,T1_IN,T1> joinClause)
K
- the type of the join keyT1_IN
- the type of the contributing stage's dataT1
- the type of result after applying the projecting transformation
to the contributing stage's datastage
- the contributing stagejoinClause
- specifies how to join the contributing stagepublic <K,T1_IN,T1> Tag<T1> addInner(BatchStage<T1_IN> stage, JoinClause<K,T0,T1_IN,T1> joinClause)
K
- the type of the join keyT1_IN
- the type of the contributing stage's dataT1
- the type of result after applying the projecting transformation
to the contributing stage's datastage
- the contributing stagejoinClause
- specifies how to join the contributing stageCopyright © 2021 Hazelcast, Inc.. All rights reserved.