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,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> variables,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> notInternallyRequiredVariables,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.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() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> |
getNotInternallyRequiredVariables() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
getPossibleVariableDefinitions() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable>> |
getUniqueConstraints() |
VariableNullability |
getVariableNullability() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> |
getVariables() |
Boolean |
isDistinct() |
boolean |
isNormalizedForOptimization() |
void |
setIsDistinct(Boolean isDistinct)
Can only be set ONCE!
|
void |
setNotInternallyRequiredVariables(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> notInternallyRequiredVariables)
Can only be set ONCE!
|
void |
setPossibleVariableDefinitions(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions)
Can only be set ONCE!
|
void |
setUniqueConstraints(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable>> uniqueConstraints)
Can only be set ONCE!
|
void |
setVariableNullability(VariableNullability variableNullability)
Can only be set ONCE!
|
void |
setVariables(it.unibz.inf.ontop.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 it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> variables, @Nullable it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> notInternallyRequiredVariables, @Nullable it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions, @Nullable it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.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 it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> getVariables()
getVariables in interface ConcreteIQTreeCache@Nullable public it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> getNotInternallyRequiredVariables()
getNotInternallyRequiredVariables in interface ConcreteIQTreeCache@Nullable public VariableNullability getVariableNullability()
getVariableNullability in interface ConcreteIQTreeCache@Nullable public it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> getPossibleVariableDefinitions()
getPossibleVariableDefinitions in interface ConcreteIQTreeCache@Nullable public it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable>> getUniqueConstraints()
getUniqueConstraints in interface ConcreteIQTreeCache@Nullable public Boolean isDistinct()
isDistinct in interface ConcreteIQTreeCachepublic void setVariables(@Nonnull it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> variables)
ConcreteIQTreeCachesetVariables in interface ConcreteIQTreeCachepublic void setNotInternallyRequiredVariables(@Nonnull it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> notInternallyRequiredVariables)
ConcreteIQTreeCachesetNotInternallyRequiredVariables 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 it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions)
ConcreteIQTreeCachesetPossibleVariableDefinitions in interface ConcreteIQTreeCachepublic void setUniqueConstraints(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.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.