public class SimpleUnarySPARQLFunctionSymbolImpl extends ReduciblePositiveAritySPARQLFunctionSymbolImpl
FunctionSymbol.FunctionalTermNullability| Modifier | Constructor and Description |
|---|---|
protected |
SimpleUnarySPARQLFunctionSymbolImpl(String name,
org.apache.commons.rdf.api.IRI functionIRI,
RDFTermType inputType,
RDFTermType targetType,
boolean isAlwaysInjective,
BiFunction<TermFactory,ImmutableTerm,ImmutableFunctionalTerm> dbFunctionalTermFct) |
protected |
SimpleUnarySPARQLFunctionSymbolImpl(String name,
String officialName,
RDFTermType inputType,
RDFTermType targetType,
boolean isAlwaysInjective,
BiFunction<TermFactory,ImmutableTerm,ImmutableFunctionalTerm> dbFunctionalTermFct) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBePostProcessed(com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
1.
|
protected ImmutableTerm |
computeLexicalTerm(com.google.common.collect.ImmutableList<ImmutableTerm> subLexicalTerms,
com.google.common.collect.ImmutableList<ImmutableTerm> typeTerms,
TermFactory termFactory,
ImmutableTerm returnedTypeTerm)
Compute the lexical term when there is no input type error
|
protected ImmutableTerm |
computeTypeTerm(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subLexicalTerms,
com.google.common.collect.ImmutableList<ImmutableTerm> typeTerms,
TermFactory termFactory,
VariableNullability variableNullability) |
Optional<TermTypeInference> |
inferType(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
If the child type is xsd:string or a language tag, then returns it.
|
boolean |
isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
When the function symbol is, in the absence of non-injective functional sub-terms, sometimes but not always injective,
please override isInjective(...)
|
buildTermAfterEvaluation, evaluateInputTypeError, tolerateNullsgetIRI, getOfficialNameextractLexicalTerm, extractRDFTermTypeTerm, isRDFFunctionalTerm, mayReturnNullWithoutNullArgumentsanalyzeInjectivity, 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, waitanalyzeInjectivity, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNullprotected SimpleUnarySPARQLFunctionSymbolImpl(@Nonnull String name, org.apache.commons.rdf.api.IRI functionIRI, RDFTermType inputType, RDFTermType targetType, boolean isAlwaysInjective, BiFunction<TermFactory,ImmutableTerm,ImmutableFunctionalTerm> dbFunctionalTermFct)
protected SimpleUnarySPARQLFunctionSymbolImpl(@Nonnull String name, String officialName, RDFTermType inputType, RDFTermType targetType, boolean isAlwaysInjective, BiFunction<TermFactory,ImmutableTerm,ImmutableFunctionalTerm> dbFunctionalTermFct)
public Optional<TermTypeInference> inferType(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
public boolean canBePostProcessed(com.google.common.collect.ImmutableList<? extends ImmutableTerm> arguments)
FunctionSymbolprotected ImmutableTerm computeLexicalTerm(com.google.common.collect.ImmutableList<ImmutableTerm> subLexicalTerms, com.google.common.collect.ImmutableList<ImmutableTerm> typeTerms, TermFactory termFactory, ImmutableTerm returnedTypeTerm)
ReduciblePositiveAritySPARQLFunctionSymbolImplcomputeLexicalTerm in class ReduciblePositiveAritySPARQLFunctionSymbolImplprotected ImmutableTerm computeTypeTerm(com.google.common.collect.ImmutableList<? extends ImmutableTerm> subLexicalTerms, com.google.common.collect.ImmutableList<ImmutableTerm> typeTerms, TermFactory termFactory, VariableNullability variableNullability)
computeTypeTerm in class ReduciblePositiveAritySPARQLFunctionSymbolImplpublic boolean isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms()
FunctionSymbolImplisAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms in class FunctionSymbolImplCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.