public final class Join extends AbstractRelationalJoin
AbstractRelationalJoin.getUseHashJoinHint()
one of two procedures are used.
hash join hint
is currently ignored if join mode is
JoinMode.FULL_OUTER
or JoinMode.RIGHT_OUTER
.Constructor and Description |
---|
Join()
Default constructor.
|
Join(JoinKey[] joinKeys)
Performs a join with the given set of join keys
|
Join(List<JoinKey> joinKeys)
Performs a join with the given set of join keys
|
Modifier and Type | Method and Description |
---|---|
protected RecordPort |
composeJoin(CompositionContext ctx,
RecordPort left,
RecordPort right,
JoinKey[] keys) |
JoinMode |
getJoinMode()
Returns the join mode to use when performing a join.
|
boolean |
isMergeLeftAndRightKeys()
Returns whether to merge the left and right key fields into a single field for output.
|
void |
setJoinMode(JoinMode joinMode)
Sets the join mode to use when performing a join.
|
void |
setMergeLeftAndRightKeys(boolean mergeLeftAndRightKeys)
Sets whether to merge the left and right key fields into a single field for output.
|
compose, getJoinCondition, getJoinKeys, getLeft, getOutput, getRight, getUseHashJoinHint, newJoinID, setJoinCondition, setJoinCondition, setJoinKeys, setJoinKeys, setJoinKeys, setJoinKeys, setUseHashJoinHint
disableParallelism, getInputPorts, getOutputPorts, newInput, newInput, newOutput, newRecordInput, newRecordInput, newRecordOutput, notifyError
public Join()
public Join(JoinKey[] joinKeys)
joinKeys
- the join keyspublic boolean isMergeLeftAndRightKeys()
public void setMergeLeftAndRightKeys(boolean mergeLeftAndRightKeys)
mergeLeftAndRightKeys
- whether to merge the left and right key fields into a single field for outputpublic JoinMode getJoinMode()
JoinMode.INNER
by default.public void setJoinMode(JoinMode joinMode)
JoinMode.INNER
by default.joinMode
- the join mode to use when performing a join.protected RecordPort composeJoin(CompositionContext ctx, RecordPort left, RecordPort right, JoinKey[] keys)
composeJoin
in class AbstractRelationalJoin
Copyright © 2024 Actian Corporation. All rights reserved.