public abstract class DataNodeImpl<P extends AtomPredicate> extends LeafIQTreeImpl implements DataNode<P>
iqFactory| Modifier | Constructor and Description |
|---|---|
protected |
DataNodeImpl(DataAtom<P> atom,
IQTreeTools iqTreeTools,
IntermediateQueryFactory iqFactory) |
| Modifier and Type | Method and Description |
|---|---|
IQTree |
applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution)
Applies the descending substitution WITHOUT applying any additional optimization.
|
com.google.common.collect.ImmutableSet<Variable> |
getKnownVariables()
Variables present in the tree
|
com.google.common.collect.ImmutableSet<Variable> |
getLocallyDefinedVariables()
Locally defined variables must not appear in the sub-tree
|
com.google.common.collect.ImmutableSet<Variable> |
getLocallyRequiredVariables()
Set of variables that this node, INDEPENDENTLY OF THE REQUIREMENTS OF ITS ANCESTORS,
requires to be defined in the sub-tree.
|
com.google.common.collect.ImmutableSet<Variable> |
getLocalVariables()
Set of variables MENTIONED in the node, INDEPENDENTLY of its sub-tree.
|
DataAtom<P> |
getProjectionAtom()
Data atom containing the projected variables
|
com.google.common.collect.ImmutableSet<Variable> |
getRequiredVariables(IntermediateQuery query)
Set of variables which, individually, must be provided by at least one child,
INDEPENDENTLY OF THE REQUIREMENTS OF THIS NODE'S ANCESTORS.
|
com.google.common.collect.ImmutableSet<Variable> |
getVariables()
Variables projected by the tree
|
boolean |
isDeclaredAsEmpty()
Returns true if corresponds to a EmptyNode
|
applyDescendingSubstitution, getChildren, getPossibleVariableDefinitions, getRootNode, isConstructed, isEquivalentTo, liftIncompatibleDefinitions, normalizeForOptimization, propagateDownConstraint, removeDistincts, replaceSubTreecloneequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptNodeTransformer, getRootNodeacceptTransformer, acceptVisitor, applyDescendingSubstitution, applyFreshRenaming, getChildren, getPossibleVariableDefinitions, getVariableNullability, inferUniqueConstraints, isConstructed, isDistinct, isEquivalentTo, isLeaf, liftIncompatibleDefinitions, normalizeForOptimization, propagateDownConstraint, removeDistincts, replaceSubTree, validateacceptVisitor, clone, isEquivalentTo, isSyntacticallyEquivalentTo, isVariableNullableprotected DataNodeImpl(DataAtom<P> atom, IQTreeTools iqTreeTools, IntermediateQueryFactory iqFactory)
public DataAtom<P> getProjectionAtom()
DataNodegetProjectionAtom in interface DataNode<P extends AtomPredicate>public com.google.common.collect.ImmutableSet<Variable> getVariables()
IQTreegetVariables in interface IQTreegetVariables in interface ExplicitVariableProjectionNodepublic com.google.common.collect.ImmutableSet<Variable> getLocalVariables()
QueryNodegetLocalVariables in interface QueryNodepublic IQTree applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution)
IQTreeapplyDescendingSubstitutionWithoutOptimizing in interface IQTreepublic com.google.common.collect.ImmutableSet<Variable> getLocallyRequiredVariables()
QueryNodegetLocallyRequiredVariables in interface QueryNodepublic com.google.common.collect.ImmutableSet<Variable> getLocallyDefinedVariables()
QueryNodegetLocallyDefinedVariables in interface QueryNodepublic com.google.common.collect.ImmutableSet<Variable> getRequiredVariables(IntermediateQuery query)
QueryNodegetRequiredVariables in interface QueryNodepublic com.google.common.collect.ImmutableSet<Variable> getKnownVariables()
IQTreegetKnownVariables in interface IQTreepublic boolean isDeclaredAsEmpty()
IQTreeisDeclaredAsEmpty in interface IQTreeCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.