public class BooleanDBIfElseNullFunctionSymbolImpl extends DefaultDBIfElseNullFunctionSymbol implements DBBooleanFunctionSymbol
FunctionSymbol.FunctionalTermNullabilitydoOrderingMatter| Modifier | Constructor and Description |
|---|---|
protected |
BooleanDBIfElseNullFunctionSymbolImpl(DBTermType dbBooleanType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blocksNegation()
Returns TRUE if the NOT operator has to stay ABOVE the expression
(i.e.
|
ImmutableExpression |
negate(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms,
TermFactory termFactory)
Usually NOT supported when the function symbol blocks negation.
|
protected ImmutableTerm |
simplify(ImmutableExpression newCondition,
ImmutableTerm newThenValue,
TermFactory termFactory,
VariableNullability variableNullability) |
ImmutableTerm |
simplify2VL(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
TermFactory termFactory,
VariableNullability variableNullability)
Can further simplify than the simplify(...) because here FALSE can be treated as equivalent to NULL (2-valued logic)
By default, reuses simplify(...).
|
analyzeInjectivity, canBePostProcessed, canBeReplacedByValue, evaluateIsNotNull, extractDefaultValue, getNativeDBString, liftUnaryBooleanFunctionSymbol, pushDownExpression, simplifybuildCase, extractPossibleValues, extractSubFunctionalTerms, isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms, isPreferringToBePostProcessedOverBeingBlocked, mayReturnNullWithoutNullArguments, pushDownFunctionalTerm, pushDownRegularFunctionalTerm, simplifyValue, tolerateNulls, transformIntoRegularArgumentsinferTypebuildTermAfterEvaluation, canBeSafelyDecomposedIntoConjunction, decomposeInjectiveTopFunctionalTerm, enableIfElseNullLifting, evaluateNullability, evaluateStrictEq, evaluateStrictEqWithFunctionalTerm, evaluateStrictEqWithNonNullConstant, getExpectedBaseType, getExpectedBaseTypes, isAggregation, isDeterministic, isInjective, isNullable, proposeProvenanceVariables, simplifyAsGuaranteedToBeNonNull, tryToLiftMagicNumbersequals, getArity, getName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisPreferringToBePostProcessedOverBeingBlockedanalyzeInjectivity, canBePostProcessed, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, inferType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNullgetArity, getNamegetNativeDBStringextractPossibleValues, pushDownRegularFunctionalTermprotected BooleanDBIfElseNullFunctionSymbolImpl(DBTermType dbBooleanType)
public boolean blocksNegation()
BooleanFunctionSymbolblocksNegation in interface BooleanFunctionSymbolpublic ImmutableExpression negate(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> subTerms, TermFactory termFactory)
BooleanFunctionSymbolnegate in interface BooleanFunctionSymbolprotected ImmutableTerm simplify(ImmutableExpression newCondition, ImmutableTerm newThenValue, TermFactory termFactory, VariableNullability variableNullability)
simplify in class DefaultDBIfElseNullFunctionSymbolpublic ImmutableTerm simplify2VL(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, TermFactory termFactory, VariableNullability variableNullability)
BooleanFunctionSymbolsimplify2VL in interface BooleanFunctionSymbolCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.