public interface VariableNullability
| Modifier and Type | Method and Description |
|---|---|
VariableNullability |
applyFreshRenaming(InjectiveVar2VarSubstitution freshRenamingSubstitution) |
boolean |
canPossiblyBeNullSeparately(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
Generalization to arbitrary terms
|
boolean |
canPossiblyBeNullSeparately(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> variables)
Returns true if it possible that among the variables at least two can be null
but are not required to be null at the same time.
|
VariableNullability |
extendToExternalVariables(Stream<Variable> possiblyExternalVariables)
Returns a new VariableNullability.
|
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable>> |
getNullableGroups()
All the variables of a group are always null at the same time (guaranteed).
|
default it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> |
getNullableVariables() |
boolean |
isPossiblyNullable(Variable variable)
NB: for variables outside its scope, returns true (as it does not know anything about them)
TODO: stop tolerating variables outside its scope and throw an exception if it happens (inconsistent with nullable groups)!
|
VariableNullability |
update(ImmutableSubstitution<? extends ImmutableTerm> substitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables) |
boolean isPossiblyNullable(Variable variable)
boolean canPossiblyBeNullSeparately(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> variables)
boolean canPossiblyBeNullSeparately(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable>> getNullableGroups()
VariableNullability update(ImmutableSubstitution<? extends ImmutableTerm> substitution, it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables)
VariableNullability applyFreshRenaming(InjectiveVar2VarSubstitution freshRenamingSubstitution)
VariableNullability extendToExternalVariables(Stream<Variable> possiblyExternalVariables)
default it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> getNullableVariables()
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.