Class OracleDateNormFunctionSymbol
- java.lang.Object
-
- it.unibz.inf.ontop.model.term.impl.PredicateImpl
-
- it.unibz.inf.ontop.model.term.functionsymbol.impl.FunctionSymbolImpl
-
- it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractTypedDBFunctionSymbol
-
- it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBTypeConversionFunctionSymbolImpl
-
- it.unibz.inf.ontop.model.term.functionsymbol.db.impl.OracleDateNormFunctionSymbol
-
- All Implemented Interfaces:
DBFunctionSymbol,DBFunctionSymbolSerializer,DBTypeConversionFunctionSymbol,FunctionSymbol,Predicate,Serializable
public class OracleDateNormFunctionSymbol extends AbstractDBTypeConversionFunctionSymbolImpl
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBTypeConversionFunctionSymbolImpl
AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionException
-
Nested classes/interfaces inherited from interface it.unibz.inf.ontop.model.term.functionsymbol.FunctionSymbol
FunctionSymbol.FunctionalTermNullability
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOracleDateNormFunctionSymbol(DBTermType dbDateType, DBTermType dbStringType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBePostProcessed(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)protected ImmutableTermconvertDBConstant(DBConstant constant, TermFactory termFactory)No optimizationOptional<DBTermType>getInputType()StringgetNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)booleanisAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()Assumption: a given Oracle instance always use the DATE valuebooleanisSimple()booleanisTemporary()-
Methods inherited from class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBTypeConversionFunctionSymbolImpl
buildFromVariable, buildTermAfterEvaluation, buildTermFromFunctionalTerm
-
Methods inherited from class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractTypedDBFunctionSymbol
getTargetType, inferType, isPreferringToBePostProcessedOverBeingBlocked, mayReturnNullWithoutNullArguments, tolerateNulls
-
Methods inherited from class it.unibz.inf.ontop.model.term.functionsymbol.impl.FunctionSymbolImpl
analyzeInjectivity, canBeSafelyDecomposedIntoConjunction, canBeSafelyDecomposedIntoConjunctionWhenInjective, decomposeInjectiveTopFunctionalTerm, enableCoalesceLifting, enableIfElseNullLifting, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, evaluateStrictEqWithFunctionalTerm, evaluateStrictEqWithNonNullConstant, getExpectedBaseType, getExpectedBaseTypes, isAggregation, isDeterministic, isInjective, isNullable, proposeProvenanceVariables, shouldBeDecomposedInUnion, simplify, simplifyAsGuaranteedToBeNonNull, transformIntoRegularArguments, tryToLiftMagicNumbers
-
Methods inherited from class it.unibz.inf.ontop.model.term.impl.PredicateImpl
equals, getArity, getName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol
isPreferringToBePostProcessedOverBeingBlocked
-
Methods inherited from interface it.unibz.inf.ontop.model.term.functionsymbol.db.DBTypeConversionFunctionSymbol
getTargetType
-
Methods inherited from interface it.unibz.inf.ontop.model.term.functionsymbol.FunctionSymbol
analyzeInjectivity, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, inferType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, shouldBeDecomposedInUnion, simplify, simplifyAsGuaranteedToBeNonNull
-
-
-
-
Constructor Detail
-
OracleDateNormFunctionSymbol
protected OracleDateNormFunctionSymbol(DBTermType dbDateType, DBTermType dbStringType)
-
-
Method Detail
-
convertDBConstant
protected ImmutableTerm convertDBConstant(DBConstant constant, TermFactory termFactory) throws AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionException
No optimization- Specified by:
convertDBConstantin classAbstractDBTypeConversionFunctionSymbolImpl- Throws:
AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionException
-
getInputType
public Optional<DBTermType> getInputType()
-
isTemporary
public boolean isTemporary()
-
isSimple
public boolean isSimple()
-
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms
public boolean isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
Assumption: a given Oracle instance always use the DATE value- Specified by:
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTermsin classFunctionSymbolImpl
-
canBePostProcessed
public boolean canBePostProcessed(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
-
getNativeDBString
public String getNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
-
-