public abstract class AbstractDBAggregationFunctionSymbol extends AbstractAggregationFunctionSymbol implements DBFunctionSymbol
FunctionSymbol.FunctionalTermNullability| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDBAggregationFunctionSymbol(String name,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<TermType> expectedBaseTypes,
DBTermType targetType,
boolean isDistinct,
DBFunctionSymbolSerializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
protected ImmutableTerm |
buildTermAfterEvaluation(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> newTerms,
TermFactory termFactory,
VariableNullability variableNullability)
By default, just build a new functional term.
|
String |
getNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms,
Function<ImmutableTerm,String> termConverter,
TermFactory termFactory)
Returns a String in the native query language.
|
boolean |
isPreferringToBePostProcessedOverBeingBlocked()
If it is better to be post-processed than being blocked behind an UNION.
|
canBePostProcessed, inferType, isAggregation, isDistinctanalyzeInjectivity, canBeSafelyDecomposedIntoConjunction, decomposeInjectiveTopFunctionalTerm, enableIfElseNullLifting, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, evaluateStrictEqWithFunctionalTerm, evaluateStrictEqWithNonNullConstant, getExpectedBaseType, getExpectedBaseTypes, isAlwaysInjectiveInTheAbsenceOfNonInjectiveFunctionalTerms, isDeterministic, isInjective, isNullable, mayReturnNullWithoutNullArguments, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNull, tolerateNulls, transformIntoRegularArguments, tryToLiftMagicNumbersequals, getArity, getName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitanalyzeInjectivity, canBePostProcessed, evaluateIsNotNull, evaluateNullability, evaluateStrictEq, getExpectedBaseType, inferType, isAggregation, isDeterministic, isNullable, proposeProvenanceVariables, simplify, simplifyAsGuaranteedToBeNonNullgetArity, getNameevaluateEmptyBagprotected AbstractDBAggregationFunctionSymbol(@Nonnull String name, @Nonnull it.unibz.inf.ontop.com.google.common.collect.ImmutableList<TermType> expectedBaseTypes, @Nonnull DBTermType targetType, boolean isDistinct, @Nonnull DBFunctionSymbolSerializer serializer)
public String getNativeDBString(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
DBFunctionSymbolSerializergetNativeDBString in interface DBFunctionSymbolSerializerprotected ImmutableTerm buildTermAfterEvaluation(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<ImmutableTerm> newTerms, TermFactory termFactory, VariableNullability variableNullability)
FunctionSymbolImplbuildTermAfterEvaluation in class FunctionSymbolImplpublic boolean isPreferringToBePostProcessedOverBeingBlocked()
DBFunctionSymbolisPreferringToBePostProcessedOverBeingBlocked in interface DBFunctionSymbolCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.