public abstract class AbstractDBFunctionSymbolFactory extends Object implements DBFunctionSymbolFactory
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDBFunctionSymbolFactory(com.google.common.collect.ImmutableTable<String,Integer,DBFunctionSymbol> predefinedRegularFunctionTable,
TypeFactory typeFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDBAnd, getDBCharLength, getDBConcatOperator, getDBIfThenElse, getDBIsNotNull, getDBIsNull, getDBIsStringEmpty, getDBLower, getDBNow, getDBOr, getDBRand, getDBRegexpMatches2, getDBRegexpMatches3, getDBRegexpReplace3, getDBRegexpReplace4, getDBReplace, getDBRight, getDBSubString2, getDBSubString3, getDBUpper, getDBUUID, getIsTrue, getNullRejectingDBConcatprotected AbstractDBFunctionSymbolFactory(com.google.common.collect.ImmutableTable<String,Integer,DBFunctionSymbol> predefinedRegularFunctionTable, TypeFactory typeFactory)
@Inject protected void init()
protected com.google.common.collect.ImmutableTable<DBTermType,RDFDatatype,DBTypeConversionFunctionSymbol> createNormalizationTable()
protected com.google.common.collect.ImmutableTable<DBTermType,RDFDatatype,DBTypeConversionFunctionSymbol> createDenormalizationTable()
protected com.google.common.collect.ImmutableTable<Integer,Boolean,DBFunctionSymbol> createDBCountTable()
public IRIStringTemplateFunctionSymbol getIRIStringTemplateFunctionSymbol(String iriTemplate)
DBFunctionSymbolFactorygetIRIStringTemplateFunctionSymbol in interface DBFunctionSymbolFactorypublic BnodeStringTemplateFunctionSymbol getBnodeStringTemplateFunctionSymbol(String bnodeTemplate)
DBFunctionSymbolFactorygetBnodeStringTemplateFunctionSymbol in interface DBFunctionSymbolFactorypublic BnodeStringTemplateFunctionSymbol getFreshBnodeStringTemplateFunctionSymbol(int arity)
DBFunctionSymbolFactorygetFreshBnodeStringTemplateFunctionSymbol in interface DBFunctionSymbolFactorypublic DBTypeConversionFunctionSymbol getTemporaryConversionToDBStringFunctionSymbol()
DBFunctionSymbolFactorygetTemporaryConversionToDBStringFunctionSymbol in interface DBFunctionSymbolFactorypublic DBTypeConversionFunctionSymbol getDBCastFunctionSymbol(DBTermType targetType)
getDBCastFunctionSymbol in interface DBFunctionSymbolFactorypublic DBTypeConversionFunctionSymbol getDBCastFunctionSymbol(DBTermType inputType, DBTermType targetType)
getDBCastFunctionSymbol in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getRegularDBFunctionSymbol(String nameInDialect, int arity)
DBFunctionSymbolFactorygetRegularDBFunctionSymbol in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getRegularDBBooleanFunctionSymbol(String nameInDialect, int arity)
DBFunctionSymbolFactorygetRegularDBBooleanFunctionSymbol in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBCase(int arity, boolean doOrderingMatter)
DBFunctionSymbolFactorygetDBCase in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBBooleanCase(int arity, boolean doOrderingMatter)
getDBBooleanCase in interface DBFunctionSymbolFactorypublic DBIfElseNullFunctionSymbol getDBIfElseNull()
getDBIfElseNull in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBBooleanIfElseNull()
getDBBooleanIfElseNull in interface DBFunctionSymbolFactorypublic DBStrictEqFunctionSymbol getDBStrictEquality(int arity)
getDBStrictEquality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBStrictNEquality(int arity)
getDBStrictNEquality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBNonStrictNumericEquality()
getDBNonStrictNumericEquality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBNonStrictStringEquality()
getDBNonStrictStringEquality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBNonStrictDatetimeEquality()
getDBNonStrictDatetimeEquality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBNonStrictDateEquality()
getDBNonStrictDateEquality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBNonStrictDefaultEquality()
getDBNonStrictDefaultEquality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBNumericInequality(InequalityLabel inequalityLabel)
getDBNumericInequality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBBooleanInequality(InequalityLabel inequalityLabel)
getDBBooleanInequality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBStringInequality(InequalityLabel inequalityLabel)
getDBStringInequality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBDatetimeInequality(InequalityLabel inequalityLabel)
getDBDatetimeInequality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBDateInequality(InequalityLabel inequalityLabel)
getDBDateInequality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBDefaultInequality(InequalityLabel inequalityLabel)
getDBDefaultInequality in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBStartsWith()
getDBStartsWith in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBEndsWith()
getDBEndsWith in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getR2RMLIRISafeEncode()
getR2RMLIRISafeEncode in interface DBFunctionSymbolFactorypublic DBNotFunctionSymbol getDBNot()
getDBNot in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBCoalesce(int arity)
DBFunctionSymbolFactorygetDBCoalesce in interface DBFunctionSymbolFactorypublic FalseOrNullFunctionSymbol getFalseOrNullFunctionSymbol(int arity)
getFalseOrNullFunctionSymbol in interface DBFunctionSymbolFactorypublic TrueOrNullFunctionSymbol getTrueOrNullFunctionSymbol(int arity)
getTrueOrNullFunctionSymbol in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBContains()
DBFunctionSymbolFactorygetDBContains in interface DBFunctionSymbolFactorypublic DBBooleanFunctionSymbol getDBLike()
getDBLike in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBStrBefore()
getDBStrBefore in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBStrAfter()
getDBStrAfter in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBMd5()
getDBMd5 in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBSha1()
getDBSha1 in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBSha256()
getDBSha256 in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBSha512()
getDBSha512 in interface DBFunctionSymbolFactorypublic DBMathBinaryOperator getDBMathBinaryOperator(String dbMathOperatorName, DBTermType dbNumericType)
getDBMathBinaryOperator in interface DBFunctionSymbolFactorypublic DBMathBinaryOperator getUntypedDBMathBinaryOperator(String dbMathOperatorName)
DBFunctionSymbolFactorygetUntypedDBMathBinaryOperator in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getAbs(DBTermType dbTermType)
getAbs in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getCeil(DBTermType dbTermType)
getCeil in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getFloor(DBTermType dbTermType)
getFloor in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getRound(DBTermType dbTermType)
getRound in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBYearFromDatetime()
getDBYearFromDatetime in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBYearFromDate()
getDBYearFromDate in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBMonthFromDatetime()
getDBMonthFromDatetime in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBMonthFromDate()
getDBMonthFromDate in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBDayFromDatetime()
getDBDayFromDatetime in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBDayFromDate()
getDBDayFromDate in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBHours()
getDBHours in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBMinutes()
getDBMinutes in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBSeconds()
getDBSeconds in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBTz()
getDBTz in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getTypedNullFunctionSymbol(DBTermType termType)
DBFunctionSymbolFactorygetTypedNullFunctionSymbol in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBCount(int arity, boolean isDistinct)
DBFunctionSymbolFactorygetDBCount in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getNullIgnoringDBSum(DBTermType dbType, boolean isDistinct)
DBFunctionSymbolFactorygetNullIgnoringDBSum in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBSum(DBTermType dbType, boolean isDistinct)
getDBSum in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getNullIgnoringDBAvg(DBTermType dbType, boolean isDistinct)
DBFunctionSymbolFactorygetNullIgnoringDBAvg in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBMin(DBTermType dbType)
getDBMin in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBMax(DBTermType dbType)
getDBMax in interface DBFunctionSymbolFactorypublic DBFunctionSymbol getDBIntIndex(int nbValues)
DBFunctionSymbolFactorygetDBIntIndex in interface DBFunctionSymbolFactoryprotected abstract DBFunctionSymbol createDBCount(boolean isUnary, boolean isDistinct)
protected abstract DBFunctionSymbol createDBSum(DBTermType termType, boolean isDistinct)
protected abstract DBFunctionSymbol createDBAvg(DBTermType termType, boolean isDistinct)
protected abstract DBFunctionSymbol createDBMin(DBTermType termType)
protected abstract DBFunctionSymbol createDBMax(DBTermType termType)
protected abstract DBTypeConversionFunctionSymbol createDateTimeNormFunctionSymbol(DBTermType dbDateTimestampType)
protected abstract DBTypeConversionFunctionSymbol createBooleanNormFunctionSymbol(DBTermType booleanType)
protected abstract DBTypeConversionFunctionSymbol createDateTimeDenormFunctionSymbol(DBTermType timestampType)
protected abstract DBTypeConversionFunctionSymbol createBooleanDenormFunctionSymbol()
protected DBBooleanFunctionSymbol createLikeFunctionSymbol()
protected DBIfElseNullFunctionSymbol createRegularIfElseNull()
protected DBBooleanFunctionSymbol createStrStartsFunctionSymbol()
protected DBBooleanFunctionSymbol createStrEndsFunctionSymbol()
protected DBMathBinaryOperator createDBBinaryMathOperator(String dbMathOperatorName, DBTermType dbNumericType) throws UnsupportedOperationException
UnsupportedOperationExceptionprotected DBMathBinaryOperator createUntypedDBBinaryMathOperator(String dbMathOperatorName) throws UnsupportedOperationException
UnsupportedOperationExceptionprotected DBBooleanFunctionSymbol createContainsFunctionSymbol()
protected DBFunctionSymbol createStrBeforeFunctionSymbol()
protected DBFunctionSymbol createStrAfterFunctionSymbol()
protected FalseOrNullFunctionSymbol createFalseOrNullFunctionSymbol(int arity)
protected TrueOrNullFunctionSymbol createTrueOrNullFunctionSymbol(int arity)
protected DBFunctionSymbol createMD5FunctionSymbol()
protected DBFunctionSymbol createSHA1FunctionSymbol()
protected DBFunctionSymbol createSHA256FunctionSymbol()
protected DBFunctionSymbol createSHA512FunctionSymbol()
protected DBFunctionSymbol createYearFromDatetimeFunctionSymbol()
protected DBFunctionSymbol createYearFromDateFunctionSymbol()
protected DBFunctionSymbol createMonthFromDatetimeFunctionSymbol()
protected DBFunctionSymbol createMonthFromDateFunctionSymbol()
protected DBFunctionSymbol createDayFromDatetimeFunctionSymbol()
protected DBFunctionSymbol createDayFromDateFunctionSymbol()
protected DBFunctionSymbol createHoursFunctionSymbol()
protected DBFunctionSymbol createMinutesFunctionSymbol()
protected DBFunctionSymbol createSecondsFunctionSymbol()
protected DBFunctionSymbol createTzFunctionSymbol()
protected abstract DBMathBinaryOperator createMultiplyOperator(DBTermType dbNumericType)
protected abstract DBMathBinaryOperator createDivideOperator(DBTermType dbNumericType)
protected abstract DBMathBinaryOperator createAddOperator(DBTermType dbNumericType)
protected abstract DBMathBinaryOperator createSubstractOperator(DBTermType dbNumericType)
protected abstract DBMathBinaryOperator createUntypedMultiplyOperator()
protected abstract DBMathBinaryOperator createUntypedDivideOperator()
protected abstract DBMathBinaryOperator createUntypedAddOperator()
protected abstract DBMathBinaryOperator createUntypedSubstractOperator()
protected abstract DBBooleanFunctionSymbol createNonStrictNumericEquality()
protected abstract DBBooleanFunctionSymbol createNonStrictStringEquality()
protected abstract DBBooleanFunctionSymbol createNonStrictDatetimeEquality()
protected abstract DBBooleanFunctionSymbol createNonStrictDateEquality()
protected abstract DBBooleanFunctionSymbol createNonStrictDefaultEquality()
protected abstract DBBooleanFunctionSymbol createNumericInequality(InequalityLabel inequalityLabel)
protected abstract DBBooleanFunctionSymbol createBooleanInequality(InequalityLabel inequalityLabel)
protected abstract DBBooleanFunctionSymbol createStringInequality(InequalityLabel inequalityLabel)
protected abstract DBBooleanFunctionSymbol createDatetimeInequality(InequalityLabel inequalityLabel)
protected abstract DBBooleanFunctionSymbol createDateInequality(InequalityLabel inequalityLabel)
protected abstract DBBooleanFunctionSymbol createDefaultInequality(InequalityLabel inequalityLabel)
protected String canonicalizeRegularFunctionSymbolName(String nameInDialect)
protected abstract DBFunctionSymbol createRegularUntypedFunctionSymbol(String nameInDialect, int arity)
protected abstract DBBooleanFunctionSymbol createRegularBooleanFunctionSymbol(String nameInDialect, int arity)
protected abstract DBTypeConversionFunctionSymbol createSimpleCastFunctionSymbol(DBTermType targetType)
protected abstract DBTypeConversionFunctionSymbol createSimpleCastFunctionSymbol(DBTermType inputType, DBTermType targetType)
protected abstract DBFunctionSymbol createDBCase(int arity, boolean doOrderingMatter)
protected abstract DBBooleanFunctionSymbol createDBBooleanCase(int arity, boolean doOrderingMatter)
protected abstract DBFunctionSymbol createCoalesceFunctionSymbol(int arity)
protected DBBooleanFunctionSymbol createDBBooleanIfElseNull()
protected abstract DBStrictEqFunctionSymbol createDBStrictEquality(int arity)
protected abstract DBBooleanFunctionSymbol createDBStrictNEquality(int arity)
protected abstract DBNotFunctionSymbol createDBNotFunctionSymbol(DBTermType dbBooleanType)
protected abstract DBFunctionSymbol createR2RMLIRISafeEncode()
protected abstract DBFunctionSymbol createAbsFunctionSymbol(DBTermType dbTermType)
protected abstract DBFunctionSymbol createCeilFunctionSymbol(DBTermType dbTermType)
protected abstract DBFunctionSymbol createFloorFunctionSymbol(DBTermType dbTermType)
protected abstract DBFunctionSymbol createRoundFunctionSymbol(DBTermType dbTermType)
protected DBFunctionSymbol createTypeNullFunctionSymbol(DBTermType termType)
protected abstract String serializeContains(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeStrBefore(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeStrAfter(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeMD5(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeSHA1(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeSHA256(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeSHA512(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeYearFromDatetime(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeYearFromDate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeMonthFromDatetime(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeMonthFromDate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeDayFromDatetime(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeDayFromDate(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeHours(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeMinutes(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeSeconds(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
protected abstract String serializeTz(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms, Function<ImmutableTerm,String> termConverter, TermFactory termFactory)
public DBTypeConversionFunctionSymbol getConversion2RDFLexicalFunctionSymbol(DBTermType inputType, RDFTermType rdfTermType)
DBFunctionSymbolFactorygetConversion2RDFLexicalFunctionSymbol in interface DBFunctionSymbolFactorypublic DBTypeConversionFunctionSymbol getConversionFromRDFLexical2DBFunctionSymbol(DBTermType targetDBType, RDFTermType rdfTermType)
DBFunctionSymbolFactorygetConversionFromRDFLexical2DBFunctionSymbol in interface DBFunctionSymbolFactoryCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.