public class PigJoin extends Join implements PigRel
Join in
Pig calling convention.PigRel.ImplementorRelNode.Contextcondition, joinType, variablesSetdigest, id, rowType, traitSetCONVENTION| Constructor and Description |
|---|
PigJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
JoinRelType joinType)
Creates a PigJoin.
|
| Modifier and Type | Method and Description |
|---|---|
Join |
copy(RelTraitSet traitSet,
RexNode conditionExpr,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
private java.lang.String |
getPigJoinStatement(PigRel.Implementor implementor)
Constructs a Pig JOIN statement in the form of
|
private java.lang.String |
getPigJoinType()
Get a string representation of the type of join for use in a Pig script.
|
RelOptTable |
getTable()
The Pig alias of the joined relation will have the same name as one from
the left side of the join.
|
void |
implement(PigRel.Implementor implementor)
Converts this node to a Pig Latin statement.
|
accept, analyzeCondition, computeSelfCost, copy, createJoinType, deriveJoinRowType, deriveRowType, estimateJoinedRows, estimateRowCount, explainTerms, getChildExps, getCondition, getJoinType, getSystemFieldList, getVariablesSet, isSemiJoinDone, isValidchildrenAccept, getInputs, getLeft, getRight, replaceInputaccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTraitSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetpublic PigJoin(RelOptCluster cluster, RelTraitSet traitSet, RelNode left, RelNode right, RexNode condition, JoinRelType joinType)
public Join copy(RelTraitSet traitSet, RexNode conditionExpr, RelNode left, RelNode right, JoinRelType joinType, boolean semiJoinDone)
public void implement(PigRel.Implementor implementor)
PigRelpublic RelOptTable getTable()
getTable in interface RelNodegetTable in class AbstractRelNodeprivate java.lang.String getPigJoinStatement(PigRel.Implementor implementor)
A = JOIN A BY f1 LEFT OUTER, B BY f2;
Only supports simple equi-joins with single column on both sides of
=.private java.lang.String getPigJoinType()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.