protected abstract static class SubstitutionVisitor.AbstractUnifyRule extends SubstitutionVisitor.UnifyRule
SubstitutionVisitor.UnifyRule
.queryOperand, slotCount, targetOperand
Constructor and Description |
---|
AbstractUnifyRule(SubstitutionVisitor.Operand queryOperand,
SubstitutionVisitor.Operand targetOperand,
int slotCount) |
Modifier and Type | Method and Description |
---|---|
protected static SubstitutionVisitor.Operand |
any(java.lang.Class<? extends MutableRel> clazz)
Creates an operand that doesn't check inputs.
|
protected boolean |
isValid() |
protected static SubstitutionVisitor.Operand |
operand(java.lang.Class<? extends MutableRel> clazz,
SubstitutionVisitor.Operand... inputOperands)
Creates an operand with given inputs.
|
protected static SubstitutionVisitor.Operand |
query(int ordinal)
Creates an operand that matches a relational expression in the query.
|
protected static SubstitutionVisitor.Operand |
target(int ordinal)
Creates an operand that matches a relational expression in the
target.
|
apply, copy, match
public AbstractUnifyRule(SubstitutionVisitor.Operand queryOperand, SubstitutionVisitor.Operand targetOperand, int slotCount)
protected boolean isValid()
protected static SubstitutionVisitor.Operand operand(java.lang.Class<? extends MutableRel> clazz, SubstitutionVisitor.Operand... inputOperands)
protected static SubstitutionVisitor.Operand any(java.lang.Class<? extends MutableRel> clazz)
protected static SubstitutionVisitor.Operand query(int ordinal)
protected static SubstitutionVisitor.Operand target(int ordinal)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.