Class SparkSQLTimestampDenormFunctionSymbol
- 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.SparkSQLTimestampDenormFunctionSymbol
-
- All Implemented Interfaces:
DBFunctionSymbol,DBFunctionSymbolSerializer,DBTypeConversionFunctionSymbol,FunctionSymbol,Predicate,Serializable
public class SparkSQLTimestampDenormFunctionSymbol 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 protectedSparkSQLTimestampDenormFunctionSymbol(DBTermType dbTimestampType, 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)Optional<DBTermType>getInputType()StringgetNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)protected booleanisAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()booleanisSimple()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
-
-
-
-
Field Detail
-
TEMPLATE
protected static final String TEMPLATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SparkSQLTimestampDenormFunctionSymbol
protected SparkSQLTimestampDenormFunctionSymbol(DBTermType dbTimestampType, DBTermType dbStringType)
-
-
Method Detail
-
getInputType
public Optional<DBTermType> getInputType()
-
isTemporary
public boolean isTemporary()
-
isSimple
public boolean isSimple()
-
getNativeDBString
public String getNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
-
convertDBConstant
protected ImmutableTerm convertDBConstant(DBConstant constant, TermFactory termFactory) throws AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionException
- Specified by:
convertDBConstantin classAbstractDBTypeConversionFunctionSymbolImpl- Throws:
AbstractDBTypeConversionFunctionSymbolImpl.DBTypeConversionException
-
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms
protected boolean isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
- Specified by:
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTermsin classFunctionSymbolImpl
-
canBePostProcessed
public boolean canBePostProcessed(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
-
-