public class DefaultBooleanNormFunctionSymbol extends AbstractDBTypeConversionFunctionSymbolImpl
AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionExceptionFunctionSymbol.FunctionalTermNullability| Modifier | Constructor and Description |
|---|---|
protected |
DefaultBooleanNormFunctionSymbol(DBTermType booleanType,
DBTermType stringType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBePostProcessed(com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
1.
|
protected DBConstant |
convertDBConstant(DBConstant constant,
TermFactory termFactory) |
Optional<DBTermType> |
getInputType() |
String |
getNativeDBString(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
Function<ImmutableTerm,String> termConverter,
TermFactory termFactory)
Returns a String in the native query language.
|
boolean |
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
Here we assume that the DB has only one way to represent the boolean value as a string
|
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) |
buildTermAfterEvaluation, buildTermFromFunctionalTermgetTargetType, inferType, isPreferringToBePostProcessedOverBeingBlocked, mayReturnNullWithoutNullArguments, tolerateNullsanalyzeInjectivity, canBeSafelyDecomposedIntoConjunction, decomposeInjectiveTopFunctionalTerm, enableIfElseNullLifting, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, evaluateStrictEqWithFunctionalTerm, evaluateStrictEqWithNonNullConstant, getExpectedBaseType, getExpectedBaseTypes, isAggregation, isDeterministic, isInjective, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNull, transformIntoRegularArguments, tryToLiftMagicNumbersclone, equals, getArity, getName, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetTargetTypeisPreferringToBePostProcessedOverBeingBlockedanalyzeInjectivity, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, inferType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNullprotected DefaultBooleanNormFunctionSymbol(DBTermType booleanType, DBTermType stringType)
public Optional<DBTermType> getInputType()
public boolean isTemporary()
public boolean isSimple()
DBTypeConversionFunctionSymbolpublic boolean isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms in class FunctionSymbolImplpublic boolean canBePostProcessed(com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
FunctionSymbolprotected DBConstant convertDBConstant(DBConstant constant, TermFactory termFactory) throws AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionException
convertDBConstant in class AbstractDBTypeConversionFunctionSymbolImplAbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionExceptionpublic String getNativeDBString(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
DBFunctionSymbolSerializerprotected ImmutableFunctionalTerm transformIntoDBCase(ImmutableTerm subTerm, TermFactory termFactory)
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.