public abstract class AbstractDBBooleanConnectorFunctionSymbol extends DBBooleanFunctionSymbolImpl
FunctionSymbol.FunctionalTermNullability| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDBBooleanConnectorFunctionSymbol(String name,
int arity,
DBTermType dbBooleanTermType) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableTerm |
simplify2VL(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
TermFactory termFactory,
VariableNullability variableNullability)
Propagates the info that 2VL can be applied to the sub-expressions.
|
protected abstract it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> |
simplify2VLInteractions(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> newTerms,
TermFactory termFactory,
VariableNullability variableNullability) |
protected it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> |
simplifyIsNullOrIsNotNull(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> newTerms,
TermFactory termFactory,
VariableNullability variableNullability,
boolean lookForIsNull)
Look for conjuncts that are IS_NULL(...) or disjuncts that are IS_NOT_NULL(...)
and uses them to nullify some terms
|
protected boolean |
tolerateNulls()
Returns true if is not guaranteed to return NULL when one argument is NULL.
|
protected it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> |
transformIntoRegularArguments(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends NonFunctionalTerm> arguments,
TermFactory termFactory)
Requires its arguments to be expressions
|
inBrackets, isPreferringToBePostProcessedOverBeingBlocked, mayReturnNullWithoutNullArgumentsbuildTermAfterEvaluation, enableIfElseNullLifting, inferType, tryToLiftIfThenTerm, tryToLiftMagicNumbersanalyzeInjectivity, canBeSafelyDecomposedIntoConjunction, decomposeInjectiveTopFunctionalTerm, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, evaluateStrictEqWithFunctionalTerm, evaluateStrictEqWithNonNullConstant, getExpectedBaseType, getExpectedBaseTypes, isAggregation, isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms, isDeterministic, isInjective, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNull, tryToLiftMagicNumbersequals, getArity, getName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitblocksNegation, negateanalyzeInjectivity, canBePostProcessed, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, inferType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNullgetArity, getNamegetNativeDBStringprotected AbstractDBBooleanConnectorFunctionSymbol(String name, int arity, DBTermType dbBooleanTermType)
protected boolean tolerateNulls()
FunctionSymbolImpltolerateNulls in class FunctionSymbolImplpublic ImmutableTerm simplify2VL(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, TermFactory termFactory, VariableNullability variableNullability)
protected abstract it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> simplify2VLInteractions(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> newTerms, TermFactory termFactory, VariableNullability variableNullability)
protected it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> transformIntoRegularArguments(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends NonFunctionalTerm> arguments, TermFactory termFactory)
transformIntoRegularArguments in class FunctionSymbolImplprotected it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> simplifyIsNullOrIsNotNull(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> newTerms, TermFactory termFactory, VariableNullability variableNullability, boolean lookForIsNull)
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.