public class DefaultNumberNormAsBooleanFunctionSymbol extends AbstractDBTypeConversionFunctionSymbolImpl
AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionExceptionFunctionSymbol.FunctionalTermNullability| Modifier | Constructor and Description |
|---|---|
protected |
DefaultNumberNormAsBooleanFunctionSymbol(DBTermType numberType,
DBTermType stringType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBePostProcessed(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
1.
|
protected ImmutableTerm |
convertDBConstant(DBConstant constant,
TermFactory termFactory) |
protected IncrementalEvaluation |
evaluateStrictEqWithNonNullConstant(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
NonNullConstant otherTerm,
TermFactory termFactory,
VariableNullability variableNullability)
Default implementation, does nothing, can be overridden
|
Optional<DBTermType> |
getInputType() |
String |
getNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
Function<ImmutableTerm,String> termConverter,
TermFactory termFactory)
Returns a String in the native query language.
|
boolean |
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
All non-zero numbers are considered as true
|
boolean |
isSimple()
Returns true if does not transform the string representation of the value
(i.e.
|
boolean |
isTemporary() |
protected ImmutableFunctionalTerm |
transformIntoDBCase(ImmutableTerm subTerm,
TermFactory termFactory) |
buildFromVariable, buildTermAfterEvaluation, buildTermFromFunctionalTermgetTargetType, inferType, isPreferringToBePostProcessedOverBeingBlocked, mayReturnNullWithoutNullArguments, tolerateNullsanalyzeInjectivity, canBeSafelyDecomposedIntoConjunction, decomposeInjectiveTopFunctionalTerm, enableIfElseNullLifting, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, evaluateStrictEqWithFunctionalTerm, getExpectedBaseType, getExpectedBaseTypes, isAggregation, isDeterministic, isInjective, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNull, transformIntoRegularArguments, tryToLiftMagicNumbersequals, getArity, getName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTargetType, isTemporary, uncastisPreferringToBePostProcessedOverBeingBlockedanalyzeInjectivity, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, inferType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNullprotected DefaultNumberNormAsBooleanFunctionSymbol(DBTermType numberType, DBTermType stringType)
public Optional<DBTermType> getInputType()
public boolean isTemporary()
public boolean isSimple()
DBTypeConversionFunctionSymbolpublic boolean isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms in class FunctionSymbolImplpublic boolean canBePostProcessed(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
FunctionSymbolprotected ImmutableTerm convertDBConstant(DBConstant constant, TermFactory termFactory) throws AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionException
convertDBConstant in class AbstractDBTypeConversionFunctionSymbolImplAbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionExceptionpublic String getNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
DBFunctionSymbolSerializerprotected ImmutableFunctionalTerm transformIntoDBCase(ImmutableTerm subTerm, TermFactory termFactory)
protected IncrementalEvaluation evaluateStrictEqWithNonNullConstant(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, NonNullConstant otherTerm, TermFactory termFactory, VariableNullability variableNullability)
FunctionSymbolImplevaluateStrictEqWithNonNullConstant in class FunctionSymbolImplCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.