@API(value=EXPERIMENTAL) public class LogicalDistinctExpression extends Object implements RelationalExpressionWithChildren
RelationalPlannerExpression
. This expression represents this underlying expression with its result
set de-duplicated.for the fallback implementation
Constructor and Description |
---|
LogicalDistinctExpression(ExpressionRef<RelationalPlannerExpression> inner) |
LogicalDistinctExpression(RelationalPlannerExpression inner) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Iterator<? extends ExpressionRef<? extends PlannerExpression>> |
getPlannerExpressionChildren()
Return an iterator of references to the children of this planner expression.
|
int |
getRelationalChildCount() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fromRecordQuery
acceptPropertyVisitor, bindTo
public LogicalDistinctExpression(@Nonnull RelationalPlannerExpression inner)
public LogicalDistinctExpression(@Nonnull ExpressionRef<RelationalPlannerExpression> inner)
public int getRelationalChildCount()
getRelationalChildCount
in interface RelationalExpressionWithChildren
@Nonnull public Iterator<? extends ExpressionRef<? extends PlannerExpression>> getPlannerExpressionChildren()
PlannerExpression
Collections.emptyIterator()
is returned. The returned iterator should
be treated as an immutable object and may throw an exception if Iterator.remove()
is called.
The iterator must return its elements in a consistent order.getPlannerExpressionChildren
in interface PlannerExpression