public class ConcreteIQTreeCacheImpl extends Object implements ConcreteIQTreeCache
| Modifier | Constructor and Description |
|---|---|
protected |
ConcreteIQTreeCacheImpl(CoreSingletons coreSingletons)
Initial constructor
|
protected |
ConcreteIQTreeCacheImpl(CoreSingletons coreSingletons,
boolean isNormalizedForOptimization,
boolean areDistinctAlreadyRemoved,
VariableNullability variableNullability,
com.google.common.collect.ImmutableSet<Variable> variables,
com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions,
com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> uniqueConstraints,
Boolean isDistinct)
Internal constructor
|
| Modifier and Type | Method and Description |
|---|---|
IQTreeCache |
applyFreshRenaming(InjectiveVar2VarSubstitution renamingSubstitution)
TODO: explicit assumptions about the effects
|
boolean |
areDistinctAlreadyRemoved() |
IQProperties |
convertIntoIQProperties()
Temporary
|
IQTreeCache |
declareAsNormalizedForOptimizationWithEffect()
TODO: explicit assumptions about the effects of normalization
|
IQTreeCache |
declareAsNormalizedForOptimizationWithoutEffect() |
IQTreeCache |
declareConstraintPushedDownWithEffect()
TODO: explicit assumptions about the effects
|
IQTreeCache |
declareDistinctRemovalWithEffect()
TODO: explicit assumptions about the effects
|
IQTreeCache |
declareDistinctRemovalWithoutEffect() |
com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
getPossibleVariableDefinitions() |
com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> |
getUniqueConstraints() |
VariableNullability |
getVariableNullability() |
com.google.common.collect.ImmutableSet<Variable> |
getVariables() |
Boolean |
isDistinct() |
boolean |
isNormalizedForOptimization() |
void |
setIsDistinct(Boolean isDistinct)
Can only be set ONCE!
|
void |
setPossibleVariableDefinitions(com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions)
Can only be set ONCE!
|
void |
setUniqueConstraints(com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> uniqueConstraints)
Can only be set ONCE!
|
void |
setVariableNullability(VariableNullability variableNullability)
Can only be set ONCE!
|
void |
setVariables(com.google.common.collect.ImmutableSet<Variable> variables)
Can only be set ONCE!
|
@Inject protected ConcreteIQTreeCacheImpl(CoreSingletons coreSingletons)
protected ConcreteIQTreeCacheImpl(CoreSingletons coreSingletons, boolean isNormalizedForOptimization, boolean areDistinctAlreadyRemoved, @Nullable VariableNullability variableNullability, @Nullable com.google.common.collect.ImmutableSet<Variable> variables, @Nullable com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions, @Nullable com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> uniqueConstraints, @Nullable Boolean isDistinct)
public boolean isNormalizedForOptimization()
isNormalizedForOptimization in interface IQTreeCachepublic boolean areDistinctAlreadyRemoved()
areDistinctAlreadyRemoved in interface IQTreeCache@Nullable public com.google.common.collect.ImmutableSet<Variable> getVariables()
getVariables in interface ConcreteIQTreeCache@Nullable public VariableNullability getVariableNullability()
getVariableNullability in interface ConcreteIQTreeCache@Nullable public com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> getPossibleVariableDefinitions()
getPossibleVariableDefinitions in interface ConcreteIQTreeCache@Nullable public com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> getUniqueConstraints()
getUniqueConstraints in interface ConcreteIQTreeCache@Nullable public Boolean isDistinct()
isDistinct in interface ConcreteIQTreeCachepublic void setVariables(@Nonnull com.google.common.collect.ImmutableSet<Variable> variables)
ConcreteIQTreeCachesetVariables in interface ConcreteIQTreeCachepublic IQTreeCache declareAsNormalizedForOptimizationWithoutEffect()
declareAsNormalizedForOptimizationWithoutEffect in interface IQTreeCachepublic IQTreeCache declareAsNormalizedForOptimizationWithEffect()
declareAsNormalizedForOptimizationWithEffect in interface IQTreeCachepublic IQTreeCache declareConstraintPushedDownWithEffect()
declareConstraintPushedDownWithEffect in interface IQTreeCachepublic IQTreeCache declareDistinctRemovalWithoutEffect()
declareDistinctRemovalWithoutEffect in interface IQTreeCachepublic IQTreeCache declareDistinctRemovalWithEffect()
declareDistinctRemovalWithEffect in interface IQTreeCachepublic void setVariableNullability(VariableNullability variableNullability)
ConcreteIQTreeCachesetVariableNullability in interface ConcreteIQTreeCachepublic void setPossibleVariableDefinitions(@Nonnull com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions)
ConcreteIQTreeCachesetPossibleVariableDefinitions in interface ConcreteIQTreeCachepublic void setUniqueConstraints(com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> uniqueConstraints)
ConcreteIQTreeCachesetUniqueConstraints in interface ConcreteIQTreeCachepublic void setIsDistinct(@Nonnull Boolean isDistinct)
ConcreteIQTreeCachesetIsDistinct in interface ConcreteIQTreeCachepublic IQProperties convertIntoIQProperties()
ConcreteIQTreeCacheconvertIntoIQProperties in interface ConcreteIQTreeCachepublic IQTreeCache applyFreshRenaming(InjectiveVar2VarSubstitution renamingSubstitution)
applyFreshRenaming in interface IQTreeCacheCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.