@API(value=EXPERIMENTAL) public class LogicalTypeFilterExpression extends Object implements TypeFilterExpression
for the fallback implementation
Constructor and Description |
---|
LogicalTypeFilterExpression(Collection<String> recordTypes,
ExpressionRef<RelationalPlannerExpression> inner) |
LogicalTypeFilterExpression(Collection<String> recordTypes,
RelationalPlannerExpression inner) |
Modifier and Type | Method and Description |
---|---|
RelationalPlannerExpression |
getInner() |
Iterator<? extends ExpressionRef<? extends PlannerExpression>> |
getPlannerExpressionChildren()
Return an iterator of references to the children of this planner expression.
|
Collection<String> |
getRecordTypes() |
int |
getRelationalChildCount() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromRecordQuery
acceptPropertyVisitor, bindTo
public LogicalTypeFilterExpression(@Nonnull Collection<String> recordTypes, @Nonnull RelationalPlannerExpression inner)
public LogicalTypeFilterExpression(@Nonnull Collection<String> recordTypes, @Nonnull ExpressionRef<RelationalPlannerExpression> inner)
@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
@Nonnull public Collection<String> getRecordTypes()
getRecordTypes
in interface TypeFilterExpression
public int getRelationalChildCount()
getRelationalChildCount
in interface RelationalExpressionWithChildren
@Nonnull public RelationalPlannerExpression getInner()