Class DefaultSQLEncodeURLorIRIFunctionSymbol
- 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.AbstractEncodeURIorIRIFunctionSymbol
-
- it.unibz.inf.ontop.model.term.functionsymbol.db.impl.DefaultSQLEncodeURLorIRIFunctionSymbol
-
- All Implemented Interfaces:
DBFunctionSymbol,DBFunctionSymbolSerializer,FunctionSymbol,Predicate,Serializable
- Direct Known Subclasses:
MySQLEncodeURLorIRIFunctionSymbolImpl,SparkSQLEncodeURLorIRIFunctionSymbolImpl
public class DefaultSQLEncodeURLorIRIFunctionSymbol extends AbstractEncodeURIorIRIFunctionSymbol
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractEncodeURIorIRIFunctionSymbol
AbstractEncodeURIorIRIFunctionSymbol.EnDecoderForURI, AbstractEncodeURIorIRIFunctionSymbol.IRISafeEnDecoder
-
Nested classes/interfaces inherited from interface it.unibz.inf.ontop.model.term.functionsymbol.FunctionSymbol
FunctionSymbol.FunctionalTermNullability
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultSQLEncodeURLorIRIFunctionSymbol(DBTermType dbStringType, boolean preserveInternationalChars)
-
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 StringencodeSQLStringConstant(String constant)Imported from SQL99DialectAdapter By default, quotes and escapes isolated single quotesprotected StringgetEscapedSingleQuote()Imported from SQL99DialectAdapter By default, escapes single quotes by doubling themStringgetNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)Derived from SQL99DialectAdapter-
Methods inherited from class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractEncodeURIorIRIFunctionSymbol
buildTermAfterEvaluation, evaluateStrictEqWithNonNullConstant, isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms
-
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, 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.FunctionSymbol
analyzeInjectivity, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, shouldBeDecomposedInUnion, simplify, simplifyAsGuaranteedToBeNonNull
-
-
-
-
Constructor Detail
-
DefaultSQLEncodeURLorIRIFunctionSymbol
protected DefaultSQLEncodeURLorIRIFunctionSymbol(DBTermType dbStringType, boolean preserveInternationalChars)
-
-
Method Detail
-
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)
Derived from SQL99DialectAdapter
-
encodeSQLStringConstant
protected String encodeSQLStringConstant(String constant)
Imported from SQL99DialectAdapter By default, quotes and escapes isolated single quotes
-
getEscapedSingleQuote
protected String getEscapedSingleQuote()
Imported from SQL99DialectAdapter By default, escapes single quotes by doubling them
-
-