| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ImmutableHomomorphism.applyToBooleanExpression(ImmutableExpression booleanExpression,
TermFactory termFactory) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ImmutableHomomorphism.applyToBooleanExpression(ImmutableExpression booleanExpression,
TermFactory termFactory) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ExpressionNormalizer.normalize(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TermNullabilityEvaluator.isFilteringNullValue(ImmutableExpression expression,
Variable variable) |
boolean |
TermNullabilityEvaluator.isFilteringNullValues(ImmutableExpression expression,
com.google.common.collect.ImmutableSet<Variable> tightVariables)
tightVariables: if one is null the others as well
|
ImmutableExpression |
ExpressionNormalizer.normalize(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ExpressionNormalizerImpl.normalize(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TermNullabilityEvaluatorImpl.isFilteringNullValue(ImmutableExpression expression,
Variable variable) |
boolean |
TermNullabilityEvaluatorImpl.isFilteringNullValues(ImmutableExpression expression,
com.google.common.collect.ImmutableSet<Variable> tightVariables) |
ImmutableExpression |
ExpressionNormalizerImpl.normalize(ImmutableExpression expression) |
| Constructor and Description |
|---|
FatalTypingException(ImmutableExpression expression,
FatalTypingException caughtException)
Incompatibility detected in an expression
|
NotFilterableNullVariableException(IntermediateQuery query,
ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
FilterNode |
IntermediateQueryFactory.createFilterNode(ImmutableExpression filterCondition) |
InnerJoinNode |
IntermediateQueryFactory.createInnerJoinNode(ImmutableExpression joiningCondition) |
LeftJoinNode |
IntermediateQueryFactory.createLeftJoinNode(ImmutableExpression joiningCondition) |
| Modifier and Type | Method and Description |
|---|---|
InnerJoinNode |
IntermediateQueryFactory.createInnerJoinNode(Optional<ImmutableExpression> joiningCondition) |
LeftJoinNode |
IntermediateQueryFactory.createLeftJoinNode(Optional<ImmutableExpression> joiningCondition) |
| Modifier and Type | Method and Description |
|---|---|
IQTree |
IQTree.propagateDownConstraint(ImmutableExpression constraint)
TODO: explain
The constraint is used for pruning.
|
| Modifier and Type | Method and Description |
|---|---|
IQTree |
IQTree.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint)
Applies the descending substitution and performs SOME optimizations.
|
| Modifier and Type | Method and Description |
|---|---|
IQTree |
BinaryNonCommutativeIQTreeImpl.propagateDownConstraint(ImmutableExpression constraint) |
IQTree |
NaryIQTreeImpl.propagateDownConstraint(ImmutableExpression constraint) |
IQTree |
UnaryIQTreeImpl.propagateDownConstraint(ImmutableExpression constraint) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
FilterNode.getFilterCondition()
Not optional for a FilterNode.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
JoinOrFilterNode.getOptionalFilterCondition() |
| Modifier and Type | Method and Description |
|---|---|
FilterNode |
FilterNode.changeFilterCondition(ImmutableExpression newFilterCondition)
Returns a new FilterNode (immutable).
|
IQTree |
NaryOperatorNode.propagateDownConstraint(ImmutableExpression constraint,
com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
UnaryOperatorNode.propagateDownConstraint(ImmutableExpression constraint,
IQTree child) |
IQTree |
BinaryOrderedOperatorNode.propagateDownConstraint(ImmutableExpression constraint,
IQTree leftChild,
IQTree rightChild) |
| Modifier and Type | Method and Description |
|---|---|
IQTree |
NaryOperatorNode.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
UnaryOperatorNode.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
BinaryOrderedOperatorNode.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree leftChild,
IQTree rightChild) |
CommutativeJoinNode |
CommutativeJoinNode.changeOptionalFilterCondition(Optional<ImmutableExpression> newOptionalFilterCondition) |
JoinLikeNode |
JoinLikeNode.changeOptionalFilterCondition(Optional<ImmutableExpression> newOptionalFilterCondition)
Constructs a new JoinLikeNode with the following optional filter condition
(recall that a QueryNode is immutable).
|
LeftJoinNode |
LeftJoinNode.changeOptionalFilterCondition(Optional<ImmutableExpression> newOptionalFilterCondition) |
InnerJoinLikeNode |
InnerJoinLikeNode.changeOptionalFilterCondition(Optional<ImmutableExpression> newOptionalFilterCondition) |
InnerJoinNode |
InnerJoinNode.changeOptionalFilterCondition(Optional<ImmutableExpression> newOptionalFilterCondition) |
| Modifier and Type | Field and Description |
|---|---|
Optional<ImmutableExpression> |
ConstructionNodeImpl.PropagationResults.filter |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
FilterNodeImpl.getFilterCondition() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
JoinOrFilterNodeImpl.getOptionalFilterCondition() |
| Modifier and Type | Method and Description |
|---|---|
FilterNode |
FilterNodeImpl.changeFilterCondition(ImmutableExpression newFilterCondition) |
protected void |
JoinOrFilterNodeImpl.checkExpression(ImmutableExpression expression,
com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
LeafIQTreeImpl.propagateDownConstraint(ImmutableExpression constraint) |
IQTree |
InnerJoinNodeImpl.propagateDownConstraint(ImmutableExpression constraint,
com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
UnionNodeImpl.propagateDownConstraint(ImmutableExpression constraint,
com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
QueryModifierNodeImpl.propagateDownConstraint(ImmutableExpression constraint,
IQTree child) |
IQTree |
ExtendedProjectionNodeImpl.propagateDownConstraint(ImmutableExpression constraint,
IQTree child) |
IQTree |
FilterNodeImpl.propagateDownConstraint(ImmutableExpression constraint,
IQTree child) |
IQTree |
SliceNodeImpl.propagateDownConstraint(ImmutableExpression constraint,
IQTree child)
Stops constraints
|
IQTree |
LeftJoinNodeImpl.propagateDownConstraint(ImmutableExpression constraint,
IQTree leftChild,
IQTree rightChild) |
VariableNullability |
JoinOrFilterVariableNullabilityTools.updateWithFilter(ImmutableExpression filter,
com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> nullableGroups,
com.google.common.collect.ImmutableSet<Variable> scope) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ConstructionSubstitutionNormalizer.ConstructionSubstitutionNormalization.updateExpression(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
ConditionSimplifier.computeDownConstraint(Optional<ImmutableExpression> optionalConstraint,
ConditionSimplifier.ExpressionAndSubstitution conditionSimplificationResults,
VariableNullability childVariableNullability) |
Optional<ImmutableExpression> |
ConditionSimplifier.ExpressionAndSubstitution.getOptionalExpression() |
| Modifier and Type | Method and Description |
|---|---|
ConditionSimplifier.ExpressionAndSubstitution |
ConditionSimplifier.simplifyCondition(ImmutableExpression expression,
VariableNullability variableNullability) |
ImmutableExpression |
ConstructionSubstitutionNormalizer.ConstructionSubstitutionNormalization.updateExpression(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
ConditionSimplifier.computeDownConstraint(Optional<ImmutableExpression> optionalConstraint,
ConditionSimplifier.ExpressionAndSubstitution conditionSimplificationResults,
VariableNullability childVariableNullability) |
ConditionSimplifier.ExpressionAndSubstitution |
ConditionSimplifier.simplifyCondition(Optional<ImmutableExpression> nonOptimizedExpression,
com.google.common.collect.ImmutableSet<Variable> nonLiftableVariables,
VariableNullability variableNullability) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ConstructionSubstitutionNormalizerImpl.ConstructionSubstitutionNormalizationImpl.updateExpression(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
ConditionSimplifierImpl.computeDownConstraint(Optional<ImmutableExpression> optionalConstraint,
ConditionSimplifier.ExpressionAndSubstitution conditionSimplificationResults,
VariableNullability childVariableNullability) |
Optional<ImmutableExpression> |
ExpressionAndSubstitutionImpl.getOptionalExpression() |
| Modifier and Type | Method and Description |
|---|---|
ConditionSimplifier.ExpressionAndSubstitution |
ConditionSimplifierImpl.simplifyCondition(ImmutableExpression expression,
VariableNullability variableNullability) |
ImmutableExpression |
ConstructionSubstitutionNormalizerImpl.ConstructionSubstitutionNormalizationImpl.updateExpression(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
ConditionSimplifierImpl.computeDownConstraint(Optional<ImmutableExpression> optionalConstraint,
ConditionSimplifier.ExpressionAndSubstitution conditionSimplificationResults,
VariableNullability childVariableNullability) |
R |
JoinLikeChildBindingLifter.BindingLiftConverter.convert(com.google.common.collect.ImmutableList<IQTree> liftedChildren,
IQTree selectedGrandChild,
int selectedChildPosition,
Optional<ImmutableExpression> newCondition,
ImmutableSubstitution<ImmutableTerm> ascendingSubstitution,
ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
<R> R |
JoinLikeChildBindingLifter.liftRegularChildBinding(ConstructionNode selectedChildConstructionNode,
int selectedChildPosition,
IQTree selectedGrandChild,
com.google.common.collect.ImmutableList<IQTree> children,
com.google.common.collect.ImmutableSet<Variable> nonLiftableVariables,
Optional<ImmutableExpression> initialJoiningCondition,
VariableGenerator variableGenerator,
VariableNullability variableNullability,
JoinLikeChildBindingLifter.BindingLiftConverter<R> bindingLiftConverter)
For children of a commutative join or for the left child of a LJ
|
ConditionSimplifier.ExpressionAndSubstitution |
ConditionSimplifierImpl.simplifyCondition(Optional<ImmutableExpression> nonOptimizedExpression,
com.google.common.collect.ImmutableSet<Variable> nonLiftableVariables,
VariableNullability variableNullability) |
| Constructor and Description |
|---|
ExpressionAndSubstitutionImpl(Optional<ImmutableExpression> optionalExpression,
ImmutableSubstitution<? extends VariableOrGroundTerm> substitution) |
State(com.google.common.collect.ImmutableSet<Variable> projectedVariables,
com.google.common.collect.ImmutableList<UnaryOperatorNode> ancestors,
Optional<ImmutableExpression> condition,
IQTree child) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
DefinitionPushDownRequest.getCondition() |
| Modifier and Type | Method and Description |
|---|---|
static DefinitionPushDownRequest |
DefinitionPushDownRequest.create(Variable newVariable,
ImmutableTerm definition,
ImmutableExpression condition) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
DefPushDownRequestImpl.getCondition() |
| Constructor and Description |
|---|
DefPushDownRequestImpl(Variable newVariable,
ImmutableTerm definition,
ImmutableExpression condition) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
TermFactory.getAreCompatibleRDFStringExpression(ImmutableTerm typeTerm1,
ImmutableTerm typeTerm2)
See https://www.w3.org/TR/sparql11-query/#func-arg-compatibility
|
ImmutableExpression |
TermFactory.getBooleanIfElseNull(ImmutableExpression condition,
ImmutableExpression thenExpression) |
ImmutableExpression |
TermFactory.getConjunction(ImmutableExpression expression,
ImmutableExpression... otherExpressions)
Does NOT take care of flattening conjunctions in the arguments
|
ImmutableExpression |
TermFactory.getConjunction(com.google.common.collect.ImmutableList<ImmutableExpression> nonEmptyExpressionList)
Must be non-empty
Does NOT take care of flattening conjunctions in the arguments
|
ImmutableExpression |
TermFactory.getDBBooleanCase(Stream<Map.Entry<ImmutableExpression,ImmutableExpression>> whenPairs,
ImmutableExpression defaultValue,
boolean doOrderingMatter) |
ImmutableExpression |
TermFactory.getDBBooleanInequality(InequalityLabel inequalityLabel,
ImmutableTerm dbBooleanTerm1,
ImmutableTerm dbBooleanTerm2) |
ImmutableExpression |
TermFactory.getDBContains(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms) |
ImmutableExpression |
TermFactory.getDBDateInequality(InequalityLabel inequalityLabel,
ImmutableTerm dbDateTerm1,
ImmutableTerm dbDateTerm2) |
ImmutableExpression |
TermFactory.getDBDatetimeInequality(InequalityLabel inequalityLabel,
ImmutableTerm dbDatetimeTerm1,
ImmutableTerm dbDatetimeTerm2) |
ImmutableExpression |
TermFactory.getDBDefaultInequality(InequalityLabel inequalityLabel,
ImmutableTerm dbTerm1,
ImmutableTerm dbTerm2) |
ImmutableExpression |
TermFactory.getDBEndsWith(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms) |
ImmutableExpression |
TermFactory.getDBIsNotNull(ImmutableTerm immutableTerm) |
ImmutableExpression |
TermFactory.getDBIsNull(ImmutableTerm immutableTerm) |
ImmutableExpression |
TermFactory.getDBIsStringEmpty(ImmutableTerm stringTerm) |
ImmutableExpression |
TermFactory.getDBNonStrictDateEquality(ImmutableTerm dbTerm1,
ImmutableTerm dbTerm2) |
ImmutableExpression |
TermFactory.getDBNonStrictDatetimeEquality(ImmutableTerm dbDatetimeTerm1,
ImmutableTerm dbDatetimeTerm2) |
ImmutableExpression |
TermFactory.getDBNonStrictDefaultEquality(ImmutableTerm dbTerm1,
ImmutableTerm dbTerm2)
Cannot be simplified
--> has to be evaluated by the DB engine
Only suitable for DB terms |
ImmutableExpression |
TermFactory.getDBNonStrictNumericEquality(ImmutableTerm dbNumericTerm1,
ImmutableTerm dbNumericTerm2) |
ImmutableExpression |
TermFactory.getDBNonStrictStringEquality(ImmutableTerm dbStringTerm1,
ImmutableTerm dbStringTerm2) |
ImmutableExpression |
TermFactory.getDBNot(ImmutableExpression expression) |
ImmutableExpression |
TermFactory.getDBNumericInequality(InequalityLabel inequalityLabel,
ImmutableTerm dbNumericTerm1,
ImmutableTerm dbNumericTerm2) |
ImmutableExpression |
TermFactory.getDBRegexpMatches(com.google.common.collect.ImmutableList<ImmutableTerm> terms) |
ImmutableExpression |
TermFactory.getDBStartsWith(com.google.common.collect.ImmutableList<ImmutableTerm> terms) |
ImmutableExpression |
TermFactory.getDBStringInequality(InequalityLabel inequalityLabel,
ImmutableTerm dbStringTerm1,
ImmutableTerm dbStringTerm2) |
ImmutableExpression |
TermFactory.getDisjunction(ImmutableExpression expression,
ImmutableExpression... otherExpressions) |
ImmutableExpression |
TermFactory.getDisjunction(com.google.common.collect.ImmutableList<ImmutableExpression> nonEmptyExpressionList)
Must be non-empty
|
ImmutableExpression |
TermFactory.getFalseOrNullFunctionalTerm(com.google.common.collect.ImmutableList<ImmutableExpression> arguments)
When filled with constants, evaluates to FALSE if one argument is FALSE or to NULL otherwise.
|
ImmutableExpression |
TermFactory.getImmutableExpression(BooleanFunctionSymbol functor,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments) |
ImmutableExpression |
TermFactory.getImmutableExpression(BooleanFunctionSymbol functor,
ImmutableTerm... arguments) |
ImmutableExpression |
TermFactory.getIsAExpression(ImmutableTerm termTypeTerm,
RDFTermType baseType)
Compares a TermType term to a base type
|
ImmutableExpression |
TermFactory.getIsTrue(NonFunctionalTerm dbBooleanTerm)
Wraps a DB boolean constant/variable into an ImmutableExpression
|
ImmutableExpression |
TermFactory.getLexicalEffectiveBooleanValue(ImmutableTerm lexicalTerm,
ImmutableTerm rdfDatatypeTerm) |
ImmutableExpression |
TermFactory.getLexicalInequality(InequalityLabel inequalityLabel,
ImmutableTerm lexicalTerm1,
ImmutableTerm typeTerm1,
ImmutableTerm lexicalTerm2,
ImmutableTerm typeTerm2) |
ImmutableExpression |
TermFactory.getLexicalLangMatches(ImmutableTerm langTagTerm,
ImmutableTerm langRangeTerm)
Do NOT confuse it with the langMatches SPARQL function
|
ImmutableExpression |
TermFactory.getLexicalNonStrictEquality(ImmutableTerm lexicalTerm1,
ImmutableTerm typeTerm1,
ImmutableTerm lexicalTerm2,
ImmutableTerm typeTerm2) |
ImmutableExpression |
TermFactory.getNotYetTypedEquality(ImmutableTerm t1,
ImmutableTerm t2)
To be used when parsing the mapping and when an equality is found.
|
ImmutableExpression |
TermFactory.getRDF2DBBooleanFunctionalTerm(ImmutableTerm xsdBooleanTerm) |
ImmutableExpression |
TermFactory.getStrictEquality(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
terms must have at least two elements
|
ImmutableExpression |
TermFactory.getStrictEquality(com.google.common.collect.ImmutableSet<ImmutableTerm> terms)
terms must have at least two distinct elements
|
ImmutableExpression |
TermFactory.getStrictEquality(ImmutableTerm term1,
ImmutableTerm term2,
ImmutableTerm... otherTerms) |
ImmutableExpression |
TermFactory.getStrictNEquality(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
terms must have at least two elements
Logically equivalent to NOT(STRICT_EQx(...))
|
ImmutableExpression |
TermFactory.getStrictNEquality(com.google.common.collect.ImmutableSet<ImmutableTerm> terms)
terms must have at least two elements
Logically equivalent to NOT(STRICT_EQx(...))
|
ImmutableExpression |
TermFactory.getStrictNEquality(ImmutableTerm term1,
ImmutableTerm term2,
ImmutableTerm... otherTerms) |
ImmutableExpression |
TermFactory.getTrueOrNullFunctionalTerm(com.google.common.collect.ImmutableList<ImmutableExpression> arguments)
When filled with constants, evaluates to TRUE if one argument is TRUE or to NULL otherwise.
|
ImmutableExpression |
ImmutableExpression.negate(TermFactory termFactory)
Returns the equivalent to NOT(this)
|
| Modifier and Type | Method and Description |
|---|---|
Stream<ImmutableExpression> |
ImmutableExpression.flattenAND()
Flattens AND expressions.
|
Stream<ImmutableExpression> |
ImmutableExpression.flattenOR()
Flattens OR expressions.
|
Optional<ImmutableExpression> |
TermFactory.getConjunction(Stream<ImmutableExpression> expressionStream)
May be empty.
|
Optional<ImmutableExpression> |
TermFactory.getDisjunction(Stream<ImmutableExpression> expressions)
May be empty.
|
Optional<ImmutableExpression> |
ImmutableExpression.Evaluation.getExpression() |
Optional<ImmutableExpression> |
IncrementalEvaluation.getNewExpression()
Only when getStatus() == SIMPLIFIED_EXPRESSION
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
TermFactory.getConjunction(com.google.common.collect.ImmutableList<ImmutableExpression> nonEmptyExpressionList)
Must be non-empty
Does NOT take care of flattening conjunctions in the arguments
|
Optional<ImmutableExpression> |
TermFactory.getConjunction(Stream<ImmutableExpression> expressionStream)
May be empty.
|
ImmutableExpression |
TermFactory.getDBBooleanCase(Stream<Map.Entry<ImmutableExpression,ImmutableExpression>> whenPairs,
ImmutableExpression defaultValue,
boolean doOrderingMatter) |
ImmutableExpression |
TermFactory.getDBBooleanCase(Stream<Map.Entry<ImmutableExpression,ImmutableExpression>> whenPairs,
ImmutableExpression defaultValue,
boolean doOrderingMatter) |
ImmutableFunctionalTerm |
TermFactory.getDBCase(Stream<? extends Map.Entry<ImmutableExpression,? extends ImmutableTerm>> whenPairs,
ImmutableTerm defaultTerm,
boolean doOrderingMatter)
IF THEN, ELSEÂ IF ..., ELSE
whenPairs must not be empty
doOrderingMatter: if false, the when pairs can be re-ordered
|
ImmutableFunctionalTerm |
TermFactory.getDBCaseElseNull(Stream<? extends Map.Entry<ImmutableExpression,? extends ImmutableTerm>> whenPairs,
boolean doOrderingMatter)
IF THEN, ELSEÂ IF ..., ELSE NULL
whenPairs must not be empty
|
ImmutableExpression |
TermFactory.getDisjunction(com.google.common.collect.ImmutableList<ImmutableExpression> nonEmptyExpressionList)
Must be non-empty
|
Optional<ImmutableExpression> |
TermFactory.getDisjunction(Stream<ImmutableExpression> expressions)
May be empty.
|
ImmutableExpression |
TermFactory.getFalseOrNullFunctionalTerm(com.google.common.collect.ImmutableList<ImmutableExpression> arguments)
When filled with constants, evaluates to FALSE if one argument is FALSE or to NULL otherwise.
|
ImmutableExpression |
TermFactory.getTrueOrNullFunctionalTerm(com.google.common.collect.ImmutableList<ImmutableExpression> arguments)
When filled with constants, evaluates to TRUE if one argument is TRUE or to NULL otherwise.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
RDFTermTypeFunctionSymbol.liftExpression(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
Function<RDFTermTypeConstant,ImmutableExpression> caseExpressionFct,
TermFactory termFactory)
Builds a boolean DB CASE functional term with an "entry" for possible DBConstant value.
|
ImmutableExpression |
BooleanFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory)
Usually NOT supported when the function symbol blocks negation.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
RDFTermTypeFunctionSymbol.liftExpression(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
Function<RDFTermTypeConstant,ImmutableExpression> caseExpressionFct,
TermFactory termFactory)
Builds a boolean DB CASE functional term with an "entry" for possible DBConstant value.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
DBIfElseNullFunctionSymbol.liftUnaryBooleanFunctionSymbol(com.google.common.collect.ImmutableList<? extends ImmutableTerm> ifElseNullTerms,
BooleanFunctionSymbol unaryBooleanFunctionSymbol,
TermFactory termFactory)
Returns BOOL_IF_ELSE_NULL(c, f(v)) where f is an unary BooleanFunctionSymbol, and c and v and the initial terms
|
ImmutableExpression |
DBIfThenFunctionSymbol.pushDownExpression(ImmutableExpression expression,
int indexOfDBIfThenFunctionSymbol,
TermFactory termFactory)
Pushes a unary boolean function symbol down to the "then" arguments
For instance,
f(CASE(c1, t1, c2, t2, t3), t4) -> BOOL_CASE(c1, f(t1,t4), c2, f(t2,t4), f(t3,t4)) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
DBIfThenFunctionSymbol.pushDownExpression(ImmutableExpression expression,
int indexOfDBIfThenFunctionSymbol,
TermFactory termFactory)
Pushes a unary boolean function symbol down to the "then" arguments
For instance,
f(CASE(c1, t1, c2, t2, t3), t4) -> BOOL_CASE(c1, f(t1,t4), c2, f(t2,t4), f(t3,t4)) |
| Modifier and Type | Method and Description |
|---|---|
protected ImmutableExpression |
DefaultDBBooleanInequalityOperator.buildInequality(InequalityLabel inequalityLabel,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
protected abstract ImmutableExpression |
AbstractDBInequalityOperator.buildInequality(InequalityLabel inequalityLabel,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
protected ImmutableExpression |
DefaultDBDateInequalityOperator.buildInequality(InequalityLabel inequalityLabel,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
protected ImmutableExpression |
DefaultDBDefaultInequalityOperator.buildInequality(InequalityLabel inequalityLabel,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
protected ImmutableExpression |
DefaultDBStringInequalityOperator.buildInequality(InequalityLabel inequalityLabel,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
protected ImmutableExpression |
DefaultDBNumericInequalityOperator.buildInequality(InequalityLabel inequalityLabel,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
protected ImmutableExpression |
DefaultDBDatetimeInequalityOperator.buildInequality(InequalityLabel inequalityLabel,
com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBIfElseNullFunctionSymbol.liftUnaryBooleanFunctionSymbol(com.google.common.collect.ImmutableList<? extends ImmutableTerm> ifElseNullTerms,
BooleanFunctionSymbol unaryBooleanFunctionSymbol,
TermFactory termFactory) |
ImmutableExpression |
AbstractDBInequalityOperator.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultBooleanDenormFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBAndFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBStrictNEqFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBStrStartsWithFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
AbstractDBIsNullOrNotFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
BooleanDBIfElseNullFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
AbstractDBIsStringEmptyFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBOrFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBStrictEqFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DBBooleanCaseFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DBContainsFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DBBooleanFunctionSymbolWithSerializerImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultSimpleDBBooleanCastFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBNotFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DBLikeFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
MockupSimpleDBBooleanCastFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
AbstractOrNullFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBIsTrueFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
AbstractDBNonStrictEqOperator.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBStrEndsWithFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
AbstractDBIfThenFunctionSymbol.pushDownExpression(ImmutableExpression expression,
int indexOfDBIfThenFunctionSymbol,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBIfElseNullFunctionSymbol.pushDownExpression(ImmutableExpression expression,
int indexOfDBIfThenFunctionSymbol,
TermFactory termFactory) |
protected ImmutableExpression |
DBBooleanCaseFunctionSymbolImpl.simplifyValue(ImmutableTerm immutableTerm,
VariableNullability variableNullability,
TermFactory termFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultDBIfElseNullFunctionSymbol.canBeReplacedByValue(ImmutableExpression conditionExpression,
ImmutableTerm possibleValue,
TermFactory termFactory)
When the condition is only composed of IS_NOT_NULL expressions, see if the IF_ELSE_NULL(...) can be replaced
by its "then" value
TODO: group together terms that are known to be nullable together to detect more cases
|
ImmutableExpression |
AbstractDBIfThenFunctionSymbol.pushDownExpression(ImmutableExpression expression,
int indexOfDBIfThenFunctionSymbol,
TermFactory termFactory) |
ImmutableExpression |
DefaultDBIfElseNullFunctionSymbol.pushDownExpression(ImmutableExpression expression,
int indexOfDBIfThenFunctionSymbol,
TermFactory termFactory) |
protected ImmutableTerm |
BooleanDBIfElseNullFunctionSymbolImpl.simplify(ImmutableExpression newCondition,
ImmutableTerm newThenValue,
TermFactory termFactory,
VariableNullability variableNullability) |
protected ImmutableTerm |
DefaultDBIfElseNullFunctionSymbol.simplify(ImmutableExpression newCondition,
ImmutableTerm newThenValue,
TermFactory termFactory,
VariableNullability variableNullability) |
| Modifier and Type | Method and Description |
|---|---|
protected ImmutableFunctionalTerm |
AbstractDBIfThenFunctionSymbol.buildCase(Stream<Map.Entry<ImmutableExpression,? extends ImmutableTerm>> newWhenPairs,
ImmutableTerm defaultValue,
TermFactory termFactory)
Can be overridden
|
protected ImmutableFunctionalTerm |
DBBooleanCaseFunctionSymbolImpl.buildCase(Stream<Map.Entry<ImmutableExpression,? extends ImmutableTerm>> newWhenPairs,
ImmutableTerm defaultValue,
TermFactory termFactory) |
protected <T extends ImmutableFunctionalTerm> |
AbstractDBIfThenFunctionSymbol.pushDownFunctionalTerm(T functionalTerm,
int indexOfDBIfThenFunctionSymbol,
TermFactory termFactory,
BiFunction<FunctionSymbol,com.google.common.collect.ImmutableList<? extends ImmutableTerm>,T> functionalTermCst,
BiFunction<Stream<Map.Entry<ImmutableExpression,T>>,T,T> caseCst) |
| Modifier and Type | Method and Description |
|---|---|
protected ImmutableExpression |
LogicalOrSPARQLFunctionSymbolImpl.computeExpression(com.google.common.collect.ImmutableList<ImmutableExpression> subExpressions,
TermFactory termFactory) |
protected ImmutableExpression |
LogicalAndSPARQLFunctionSymbolImpl.computeExpression(com.google.common.collect.ImmutableList<ImmutableExpression> subExpressions,
TermFactory termFactory) |
protected ImmutableExpression |
NotSPARQLFunctionSymbolImpl.computeExpression(com.google.common.collect.ImmutableList<ImmutableTerm> subLexicalTerms,
TermFactory termFactory) |
protected abstract ImmutableExpression |
AbstractUnaryBooleanSPARQLFunctionSymbol.computeExpression(com.google.common.collect.ImmutableList<ImmutableTerm> subLexicalTerms,
TermFactory termFactory) |
protected ImmutableExpression |
BoundSPARQLFunctionSymbolImpl.computeExpression(com.google.common.collect.ImmutableList<ImmutableTerm> subLexicalTerms,
TermFactory termFactory) |
ImmutableExpression |
RDFTermTypeFunctionSymbolImpl.liftExpression(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
Function<RDFTermTypeConstant,ImmutableExpression> caseExpressionFct,
TermFactory termFactory) |
ImmutableExpression |
LexicalEBVFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
LexicalLangMatchesFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
AreCompatibleRDFStringFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
AbstractLexicalNonStrictEqOrInequalityFunctionSymbol.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
RDF2DBBooleanFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
IsARDFTermTypeFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
ImmutableExpression |
NotYetTypedEqualityFunctionSymbolImpl.negate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected ImmutableExpression |
LogicalOrSPARQLFunctionSymbolImpl.computeExpression(com.google.common.collect.ImmutableList<ImmutableExpression> subExpressions,
TermFactory termFactory) |
protected ImmutableExpression |
LogicalAndSPARQLFunctionSymbolImpl.computeExpression(com.google.common.collect.ImmutableList<ImmutableExpression> subExpressions,
TermFactory termFactory) |
protected abstract ImmutableTerm |
AbstractBinaryBooleanOperatorSPARQLFunctionSymbol.computeExpression(com.google.common.collect.ImmutableList<ImmutableExpression> subExpressions,
TermFactory termFactory) |
ImmutableExpression |
RDFTermTypeFunctionSymbolImpl.liftExpression(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
Function<RDFTermTypeConstant,ImmutableExpression> caseExpressionFct,
TermFactory termFactory) |
| Modifier and Type | Class and Description |
|---|---|
class |
GroundExpressionImpl |
class |
ImmutableExpressionImpl |
class |
NonGroundExpressionImpl |
| Modifier and Type | Method and Description |
|---|---|
Stream<ImmutableExpression> |
ImmutableExpressionImpl.flattenAND()
Recursive
|
Stream<ImmutableExpression> |
ImmutableExpressionImpl.flattenOR() |
Optional<ImmutableExpression> |
TermFactoryImpl.getConjunction(Stream<ImmutableExpression> expressionStream) |
Optional<ImmutableExpression> |
TermFactoryImpl.getDisjunction(Stream<ImmutableExpression> expressionStream) |
Optional<ImmutableExpression> |
ImmutableExpressionImpl.ExpressionEvaluationImpl.getExpression() |
Optional<ImmutableExpression> |
ImmutableExpressionImpl.ValueEvaluationImpl.getExpression() |
Optional<ImmutableExpression> |
IncrementalEvaluationImpl.getNewExpression() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
TermFactoryImpl.getConjunction(com.google.common.collect.ImmutableList<ImmutableExpression> conjunctionOfExpressions) |
Optional<ImmutableExpression> |
TermFactoryImpl.getConjunction(Stream<ImmutableExpression> expressionStream) |
ImmutableExpression |
TermFactoryImpl.getDBBooleanCase(Stream<Map.Entry<ImmutableExpression,ImmutableExpression>> whenPairs,
ImmutableExpression defaultExpression,
boolean doOrderingMatter) |
ImmutableExpression |
TermFactoryImpl.getDBBooleanCase(Stream<Map.Entry<ImmutableExpression,ImmutableExpression>> whenPairs,
ImmutableExpression defaultExpression,
boolean doOrderingMatter) |
ImmutableFunctionalTerm |
TermFactoryImpl.getDBCase(Stream<? extends Map.Entry<ImmutableExpression,? extends ImmutableTerm>> whenPairs,
ImmutableTerm defaultTerm,
boolean doOrderingMatter) |
ImmutableFunctionalTerm |
TermFactoryImpl.getDBCaseElseNull(Stream<? extends Map.Entry<ImmutableExpression,? extends ImmutableTerm>> whenPairs,
boolean doOrderingMatter) |
ImmutableExpression |
TermFactoryImpl.getDisjunction(com.google.common.collect.ImmutableList<ImmutableExpression> disjunctionOfExpressions) |
Optional<ImmutableExpression> |
TermFactoryImpl.getDisjunction(Stream<ImmutableExpression> expressionStream) |
ImmutableExpression |
TermFactoryImpl.getFalseOrNullFunctionalTerm(com.google.common.collect.ImmutableList<ImmutableExpression> arguments) |
ImmutableExpression |
TermFactoryImpl.getTrueOrNullFunctionalTerm(com.google.common.collect.ImmutableList<ImmutableExpression> arguments) |
| Constructor and Description |
|---|
ExpressionEvaluationImpl(ImmutableExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ProtoSubstitution.applyToBooleanExpression(ImmutableExpression booleanExpression) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
ImmutableSubstitution.convertIntoBooleanExpression() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
ProtoSubstitution.applyToBooleanExpression(ImmutableExpression booleanExpression) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
AbstractProtoSubstitution.applyToBooleanExpression(ImmutableExpression booleanExpression) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableExpression> |
AbstractImmutableSubstitutionImpl.convertIntoBooleanExpression() |
protected Optional<ImmutableExpression> |
AbstractImmutableSubstitutionImpl.convertIntoBooleanExpression(ImmutableSubstitution<? extends ImmutableTerm> substitution) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableExpression |
AbstractProtoSubstitution.applyToBooleanExpression(ImmutableExpression booleanExpression) |
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.