Class NullToleratingDBConcatFunctionSymbol

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.AbstractDBConcatFunctionSymbol
net.sansa_stack.query.spark.ontop.NullToleratingDBConcatFunctionSymbol
All Implemented Interfaces:
it.unibz.inf.ontop.model.term.functionsymbol.db.DBConcatFunctionSymbol, it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol, it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbolSerializer, it.unibz.inf.ontop.model.term.functionsymbol.FunctionSymbol, it.unibz.inf.ontop.model.term.functionsymbol.Predicate, Serializable

public class NullToleratingDBConcatFunctionSymbol extends it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBConcatFunctionSymbol
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface it.unibz.inf.ontop.model.term.functionsymbol.FunctionSymbol

    it.unibz.inf.ontop.model.term.functionsymbol.FunctionSymbol.FunctionalTermNullability
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    NullToleratingDBConcatFunctionSymbol(String nameInDialect, int arity, it.unibz.inf.ontop.model.type.DBTermType dbStringType, it.unibz.inf.ontop.model.type.DBTermType rootDBTermType, boolean isOperator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canBePostProcessed(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> arguments)
     
    it.unibz.inf.ontop.model.term.IncrementalEvaluation
    evaluateIsNotNull(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, it.unibz.inf.ontop.model.term.TermFactory termFactory, it.unibz.inf.ontop.iq.node.VariableNullability variableNullability)
    Never returns NULL
    protected String
    extractString(it.unibz.inf.ontop.model.term.Constant constant)
     
    boolean
     
    protected boolean
     

    Methods inherited from class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBConcatFunctionSymbol

    analyzeInjectivity, buildTermAfterEvaluation, getNativeDBString

    Methods inherited from class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractTypedDBFunctionSymbol

    getTargetType, inferType, isPreferringToBePostProcessedOverBeingBlocked, mayReturnNullWithoutNullArguments

    Methods inherited from class it.unibz.inf.ontop.model.term.functionsymbol.impl.FunctionSymbolImpl

    canBeSafelyDecomposedIntoConjunction, canBeSafelyDecomposedIntoConjunctionWhenInjective, decomposeInjectiveTopFunctionalTerm, enableCoalesceLifting, enableIfElseNullLifting, 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.FunctionSymbol

    evaluateNullability, evaluateStrictEq, getExpectedBaseType, inferType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, shouldBeDecomposedInUnion, simplify, simplifyAsGuaranteedToBeNonNull

    Methods inherited from interface it.unibz.inf.ontop.model.term.functionsymbol.Predicate

    getArity, getName
  • Constructor Details

    • NullToleratingDBConcatFunctionSymbol

      protected NullToleratingDBConcatFunctionSymbol(String nameInDialect, int arity, it.unibz.inf.ontop.model.type.DBTermType dbStringType, it.unibz.inf.ontop.model.type.DBTermType rootDBTermType, boolean isOperator)
  • Method Details

    • isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms

      public boolean isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
      Specified by:
      isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms in class it.unibz.inf.ontop.model.term.functionsymbol.impl.FunctionSymbolImpl
    • canBePostProcessed

      public boolean canBePostProcessed(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> arguments)
    • tolerateNulls

      protected boolean tolerateNulls()
      Overrides:
      tolerateNulls in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractTypedDBFunctionSymbol
    • evaluateIsNotNull

      public it.unibz.inf.ontop.model.term.IncrementalEvaluation evaluateIsNotNull(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, it.unibz.inf.ontop.model.term.TermFactory termFactory, it.unibz.inf.ontop.iq.node.VariableNullability variableNullability)
      Never returns NULL
      Specified by:
      evaluateIsNotNull in interface it.unibz.inf.ontop.model.term.functionsymbol.FunctionSymbol
      Overrides:
      evaluateIsNotNull in class it.unibz.inf.ontop.model.term.functionsymbol.impl.FunctionSymbolImpl
    • extractString

      protected String extractString(it.unibz.inf.ontop.model.term.Constant constant)
      Specified by:
      extractString in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBConcatFunctionSymbol