public class DivideSPARQLFunctionSymbolImpl extends NumericBinarySPARQLFunctionSymbolImpl
FunctionSymbol.FunctionalTermNullability| Modifier | Constructor and Description |
|---|---|
protected |
DivideSPARQLFunctionSymbolImpl(RDFDatatype abstractNumericType,
RDFDatatype xsdDecimalType) |
| Modifier and Type | Method and Description |
|---|---|
protected ImmutableExpression.Evaluation |
evaluateInputTypeError(com.google.common.collect.ImmutableList<ImmutableTerm> subLexicalTerms,
com.google.common.collect.ImmutableList<ImmutableTerm> typeTerms,
TermFactory termFactory,
VariableNullability variableNullability)
Division by zero returns a NULL (SPARQL error) if the operands are both xsd:integer or xsd:decimal
(but not if they are xsd:float and xsd:double)
|
protected ImmutableTerm |
extractRDFTermTypeTerm(ImmutableTerm rdfTerm,
TermFactory termFactory)
Makes sure that it returns a xsd:decimal if both operands are xsd:integer
|
canBePostProcessed, computeLexicalTerm, computeTypeTerm, inferType, isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTermsbuildTermAfterEvaluation, tolerateNullsgetIRI, getOfficialNameextractLexicalTerm, isRDFFunctionalTerm, mayReturnNullWithoutNullArgumentsanalyzeInjectivity, canBeSafelyDecomposedIntoConjunction, decomposeInjectiveTopFunctionalTerm, enableIfElseNullLifting, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, evaluateStrictEqWithFunctionalTerm, evaluateStrictEqWithNonNullConstant, getExpectedBaseType, getExpectedBaseTypes, isAggregation, isDeterministic, isInjective, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNull, transformIntoRegularArguments, tryToLiftMagicNumbersequals, getArity, getName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitanalyzeInjectivity, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNullprotected DivideSPARQLFunctionSymbolImpl(RDFDatatype abstractNumericType, RDFDatatype xsdDecimalType)
protected ImmutableExpression.Evaluation evaluateInputTypeError(com.google.common.collect.ImmutableList<ImmutableTerm> subLexicalTerms, com.google.common.collect.ImmutableList<ImmutableTerm> typeTerms, TermFactory termFactory, VariableNullability variableNullability)
evaluateInputTypeError in class ReduciblePositiveAritySPARQLFunctionSymbolImplprotected ImmutableTerm extractRDFTermTypeTerm(ImmutableTerm rdfTerm, TermFactory termFactory)
extractRDFTermTypeTerm in class SPARQLLikeFunctionSymbolImplCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.