Class JoinQueryOperation
- java.lang.Object
-
- org.apache.flink.table.operations.JoinQueryOperation
-
- All Implemented Interfaces:
Operation,QueryOperation
@Internal public class JoinQueryOperation extends Object implements QueryOperation
Table operation that joins two relational operations based on given condition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJoinQueryOperation.JoinTypeSpecifies how the two Tables should be joined.
-
Constructor Summary
Constructors Constructor Description JoinQueryOperation(QueryOperation left, QueryOperation right, JoinQueryOperation.JoinType joinType, org.apache.flink.table.expressions.ResolvedExpression condition, boolean correlated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(QueryOperationVisitor<T> visitor)StringasSerializableString()Returns a string that fully serializes this instance.StringasSummaryString()Returns a string that summarizes this operation for printing to a console.List<QueryOperation>getChildren()org.apache.flink.table.expressions.ResolvedExpressiongetCondition()JoinQueryOperation.JoinTypegetJoinType()org.apache.flink.table.catalog.ResolvedSchemagetResolvedSchema()Resolved schema of this operation.booleanisCorrelated()
-
-
-
Constructor Detail
-
JoinQueryOperation
public JoinQueryOperation(QueryOperation left, QueryOperation right, JoinQueryOperation.JoinType joinType, org.apache.flink.table.expressions.ResolvedExpression condition, boolean correlated)
-
-
Method Detail
-
getJoinType
public JoinQueryOperation.JoinType getJoinType()
-
getCondition
public org.apache.flink.table.expressions.ResolvedExpression getCondition()
-
isCorrelated
public boolean isCorrelated()
-
getResolvedSchema
public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()
Description copied from interface:QueryOperationResolved schema of this operation.- Specified by:
getResolvedSchemain interfaceQueryOperation
-
asSummaryString
public String asSummaryString()
Description copied from interface:OperationReturns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryStringin interfaceOperation- Returns:
- summary string of this operation for debugging purposes
-
asSerializableString
public String asSerializableString()
Description copied from interface:QueryOperationReturns a string that fully serializes this instance. The serialized string can be used for storing the query in e.g. aCatalogas a view.- Specified by:
asSerializableStringin interfaceQueryOperation- Returns:
- detailed string for persisting in a catalog
- See Also:
Operation.asSummaryString()
-
getChildren
public List<QueryOperation> getChildren()
- Specified by:
getChildrenin interfaceQueryOperation
-
accept
public <T> T accept(QueryOperationVisitor<T> visitor)
- Specified by:
acceptin interfaceQueryOperation
-
-