public class SparkSQLDBFunctionSymbolFactory
extends it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
ABS_STR, abstractRootDBType, abstractRootType, ADD_STR, AND_STR, CEIL_STR, CHAR_LENGTH_STR, COALESCE_STR, CONCAT_OP_STR, CONCAT_STR, CURRENT_TIMESTAMP_STR, dbBooleanType, dbDecimalType, dbDoubleType, dbIntegerType, dbStringType, dbTypeFactory, DIVIDE_STR, FLOOR_STR, LCASE_STR, LENGTH_STR, LOWER_STR, MULTIPLY_STR, NOT_STR, NULLIF_STR, OR_STR, RAND_STR, REGEXP_REPLACE_STR, REPLACE_STR, RIGHT_STR, ROUND_STR, ST_ASTEXT, ST_CONTAINS, ST_CONTAINSPROPERLY, ST_COVEREDBY, ST_COVERS, ST_CROSSES, ST_DISJOINT, ST_DISTANCE, ST_DISTANCE_SPHERE, ST_DISTANCE_SPHEROID, ST_EQUALS, ST_FLIP_COORDINATES, ST_INTERSECTS, ST_OVERLAPS, ST_SETSRID, ST_TOUCHES, ST_TRANSFORM, ST_WITHIN, SUBSTR_STR, SUBSTRING_STR, SUBTRACT_STR, typeFactory, UCASE_STR, UPPER_STR
Modifier and Type | Method and Description |
---|---|
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol |
createCeilFunctionSymbol(it.unibz.inf.ontop.model.type.DBTermType dbTermType) |
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol |
createDBAvg(it.unibz.inf.ontop.model.type.DBTermType inputType,
boolean isDistinct) |
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBConcatFunctionSymbol |
createDBConcatOperator(int arity) |
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol |
createDBGroupConcat(it.unibz.inf.ontop.model.type.DBTermType dbStringType,
boolean isDistinct) |
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol |
createEncodeURLorIRI(boolean preserveInternationalChars) |
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol |
createFloorFunctionSymbol(it.unibz.inf.ontop.model.type.DBTermType dbTermType) |
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBConcatFunctionSymbol |
createNullRejectingDBConcat(int arity) |
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBConcatFunctionSymbol |
createRegularDBConcat(int arity)
Treats NULLs as empty strings
|
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol |
createRoundFunctionSymbol(it.unibz.inf.ontop.model.type.DBTermType dbTermType) |
protected static it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<String,Integer,it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol> |
createSparkRegularFunctionTable(it.unibz.inf.ontop.model.type.TypeFactory typeFactory) |
it.unibz.inf.ontop.model.term.functionsymbol.db.DBBooleanFunctionSymbol |
getDBRegexpMatches2() |
it.unibz.inf.ontop.model.term.functionsymbol.db.DBBooleanFunctionSymbol |
getDBRegexpMatches3() |
protected String |
getUUIDNameInDialect() |
protected String |
serializeContains(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
protected String |
serializeDateTimeNorm(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory)
Asks the timezone to be included
|
protected String |
serializeMD5(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
protected String |
serializeSHA1(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
protected String |
serializeSHA256(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
protected String |
serializeSHA512(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
protected String |
serializeStrAfter(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
protected String |
serializeStrBefore(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
protected String |
serializeTz(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms,
Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter,
it.unibz.inf.ontop.model.term.TermFactory termFactory) |
createAbsFunctionSymbol, createAddOperator, createBooleanDenormFunctionSymbol, createBooleanInequality, createBooleanNormFunctionSymbol, createCoalesceFunctionSymbol, createDateInequality, createDateTimeDenormFunctionSymbol, createDatetimeInequality, createDateTimeNormFunctionSymbol, createDatetimeToDatetimeCastFunctionSymbol, createDBAnd, createDBBooleanCase, createDBCase, createDBCount, createDBIfThenElse, createDBIsNotNull, createDBIsNull, createDBIsTrue, createDBMax, createDBMin, createDBNotFunctionSymbol, createDBOr, createDBStrictEquality, createDBStrictNEquality, createDBSum, createDecimalToDecimalCastFunctionSymbol, createDecimalToStringCastFunctionSymbol, createDefaultCastToStringFunctionSymbol, createDefaultInequality, createDefaultRegularFunctionTable, createDivideOperator, createFloatDoubleToFloatDoubleCastFunctionSymbol, createFloatDoubleToStringCastFunctionSymbol, createIntegerToIntegerCastFunctionSymbol, createIntegerToStringCastFunctionSymbol, createIsStringEmpty, createMultiplyOperator, createNonStrictDateEquality, createNonStrictDatetimeEquality, createNonStrictDefaultEquality, createNonStrictNumericEquality, createNonStrictStringEquality, createNumericInequality, createRegularBooleanFunctionSymbol, createRegularUntypedFunctionSymbol, createSimpleCastFunctionSymbol, createSimpleCastFunctionSymbol, createStringInequality, createStringToStringCastFunctionSymbol, createSubtractOperator, createUntypedAddOperator, createUntypedDivideOperator, createUntypedMultiplyOperator, createUntypedSubtractOperator, getDBAnd, getDBAsText, getDBBoundary, getDBBuffer, getDBCharLength, getDBConcatOperator, getDBConvexHull, getDBDifference, getDBEnvelope, getDBGetSRID, getDBIfThenElse, getDBIntersection, getDBIsNotNull, getDBIsNull, getDBIsStringEmpty, getDBLower, getDBNow, getDBNullIf, getDBOr, getDBRand, getDBRegexpReplace3, getDBRegexpReplace4, getDBRelate, getDBRelateMatrix, getDBReplace, getDBRight, getDBSTContains, getDBSTContainsProperly, getDBSTCoveredBy, getDBSTCovers, getDBSTCrosses, getDBSTDisjoint, getDBSTDistance, getDBSTDistanceSphere, getDBSTDistanceSpheroid, getDBSTEquals, getDBSTFlipCoordinates, getDBSTIntersects, getDBSTOverlaps, getDBSTSetSRID, getDBSTTouches, getDBSTTransform, getDBSTWithin, getDBSubString2, getDBSubString3, getDBSymDifference, getDBUnion, getDBUpper, getDBUUID, getIsTrue, getNullRejectingDBConcat, getRandNameInDialect, init, isAnd, isCoalesce, isConcat, isOr, serializeDay, serializeDayFromDate, serializeDayFromDatetime, serializeDBRowNumber, serializeHours, serializeMinutes, serializeMonth, serializeMonthFromDate, serializeMonthFromDatetime, serializeSeconds, serializeYear, serializeYearFromDate, serializeYearFromDatetime
canonicalizeRegularFunctionSymbolName, createContainsFunctionSymbol, createCurrentDateTimeFunctionSymbol, createDayFromDateFunctionSymbol, createDayFromDatetimeFunctionSymbol, createDBBinaryMathOperator, createDBBooleanIfElseNull, createDBCountTable, createDBIriStringResolver, createDBRowNumber, createDBRowUniqueStr, createDenormalizationTable, createExtractFunctionSymbol, createFalseOrNullFunctionSymbol, createHoursFunctionSymbol, createLikeFunctionSymbol, createMD5FunctionSymbol, createMinutesFunctionSymbol, createMonthFromDateFunctionSymbol, createMonthFromDatetimeFunctionSymbol, createNormalizationTable, createRegularIfElseNull, createSecondsFunctionSymbol, createSHA1FunctionSymbol, createSHA256FunctionSymbol, createSHA512FunctionSymbol, createSimilarToFunctionSymbol, createStrAfterFunctionSymbol, createStrBeforeFunctionSymbol, createStrEndsFunctionSymbol, createStrStartsFunctionSymbol, createTrueOrNullFunctionSymbol, createTypeNullFunctionSymbol, createTzFunctionSymbol, createUntypedDBBinaryMathOperator, createYearFromDateFunctionSymbol, createYearFromDatetimeFunctionSymbol, getAbs, getBnodeStringTemplateFunctionSymbol, getCeil, getConversion2RDFLexicalFunctionSymbol, getConversionFromRDFLexical2DBFunctionSymbol, getCurrentDateTimeSymbol, getDBBooleanCase, getDBBooleanIfElseNull, getDBBooleanInequality, getDBCase, getDBCastFunctionSymbol, getDBCastFunctionSymbol, getDBCoalesce, getDBContains, getDBCount, getDBDateInequality, getDBDatetimeInequality, getDBDayFromDate, getDBDayFromDatetime, getDBDefaultInequality, getDBEncodeForURI, getDBEndsWith, getDBHours, getDBIfElseNull, getDBIntIndex, getDBIriStringResolver, getDBLike, getDBMathBinaryOperator, getDBMax, getDBMd5, getDBMin, getDBMinutes, getDBMonthFromDate, getDBMonthFromDatetime, getDBNonStrictDateEquality, getDBNonStrictDatetimeEquality, getDBNonStrictDefaultEquality, getDBNonStrictNumericEquality, getDBNonStrictStringEquality, getDBNot, getDBNumericInequality, getDBRowNumber, getDBRowUniqueStr, getDBSeconds, getDBSha1, getDBSha256, getDBSha512, getDBSimilarTo, getDBStartsWith, getDBStrAfter, getDBStrBefore, getDBStrictEquality, getDBStrictNEquality, getDBStringInequality, getDBSum, getDBTz, getDBYearFromDate, getDBYearFromDatetime, getExtractFunctionSymbol, getFalseOrNullFunctionSymbol, getFloor, getFreshBnodeStringTemplateFunctionSymbol, getIRIStringTemplateFunctionSymbol, getNullIgnoringDBAvg, getNullIgnoringDBGroupConcat, getNullIgnoringDBSum, getR2RMLIRISafeEncode, getRegularDBBooleanFunctionSymbol, getRegularDBFunctionSymbol, getRound, getTemporaryConversionToDBStringFunctionSymbol, getTrueOrNullFunctionSymbol, getTypedNullFunctionSymbol, getUntypedDBMathBinaryOperator, serializeCurrentDateTime, serializeDBRowUniqueStr, serializeExtract
protected static it.unibz.inf.ontop.com.google.common.collect.ImmutableTable<String,Integer,it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol> createSparkRegularFunctionTable(it.unibz.inf.ontop.model.type.TypeFactory typeFactory)
protected String serializeContains(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeContains
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected String serializeStrBefore(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeStrBefore
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected String serializeStrAfter(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeStrAfter
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected String serializeMD5(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeMD5
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected String serializeSHA1(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeSHA1
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected String serializeSHA256(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeSHA256
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected String serializeSHA512(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeSHA512
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected String serializeTz(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeTz
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBConcatFunctionSymbol createNullRejectingDBConcat(int arity)
createNullRejectingDBConcat
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBConcatFunctionSymbol createDBConcatOperator(int arity)
createDBConcatOperator
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBConcatFunctionSymbol createRegularDBConcat(int arity)
createRegularDBConcat
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol createCeilFunctionSymbol(it.unibz.inf.ontop.model.type.DBTermType dbTermType)
createCeilFunctionSymbol
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol createFloorFunctionSymbol(it.unibz.inf.ontop.model.type.DBTermType dbTermType)
createFloorFunctionSymbol
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol createRoundFunctionSymbol(it.unibz.inf.ontop.model.type.DBTermType dbTermType)
createRoundFunctionSymbol
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected String serializeDateTimeNorm(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> terms, Function<it.unibz.inf.ontop.model.term.ImmutableTerm,String> termConverter, it.unibz.inf.ontop.model.term.TermFactory termFactory)
serializeDateTimeNorm
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol createDBAvg(it.unibz.inf.ontop.model.type.DBTermType inputType, boolean isDistinct)
createDBAvg
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected String getUUIDNameInDialect()
getUUIDNameInDialect
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
public it.unibz.inf.ontop.model.term.functionsymbol.db.DBBooleanFunctionSymbol getDBRegexpMatches2()
getDBRegexpMatches2
in interface it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbolFactory
getDBRegexpMatches2
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
public it.unibz.inf.ontop.model.term.functionsymbol.db.DBBooleanFunctionSymbol getDBRegexpMatches3()
getDBRegexpMatches3
in interface it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbolFactory
getDBRegexpMatches3
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol createDBGroupConcat(it.unibz.inf.ontop.model.type.DBTermType dbStringType, boolean isDistinct)
createDBGroupConcat
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractDBFunctionSymbolFactory
protected it.unibz.inf.ontop.model.term.functionsymbol.db.DBFunctionSymbol createEncodeURLorIRI(boolean preserveInternationalChars)
createEncodeURLorIRI
in class it.unibz.inf.ontop.model.term.functionsymbol.db.impl.AbstractSQLDBFunctionSymbolFactory
Copyright © 2016–2021 Smart Data Analytics (SDA) Research Group. All rights reserved.