Class AnsiIsoDialect
java.lang.Object
io.github.torand.fastersql.dialect.AnsiIsoDialect
- All Implemented Interfaces:
Dialect
Defines the ANSI/ISO (ISO/IEC 9075) SQL dialect.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatModuloFunction(String divisor, String dividend) Returns the 'mod' function formatted for a specific SQL dialect.getDataType(DataType dataType) Returns the data type for a specific SQL dialect.Gets the name of the RDBMS product associated with this SQL dialect.booleansupports(Capability capability) Indicates whether a capability is supported by a specific SQL dialect.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.torand.fastersql.dialect.Dialect
formatCastFunction, formatCeilFunction, formatConcatFunction, formatCurrentDateFunction, formatLengthFunction, formatLnFunction, formatPowerFunction, formatRoundFunction, formatRowLimitClause, formatRowNumLiteral, formatRowOffsetClause, formatSetOperator, formatSubstringFunction, formatToCharFunction, formatToNumberFunction, getConcatOperator, offsetBeforeLimit
-
Constructor Details
-
AnsiIsoDialect
public AnsiIsoDialect()Creates an ANSI/ISODialectimplementation.
-
-
Method Details
-
getProductName
Description copied from interface:DialectGets the name of the RDBMS product associated with this SQL dialect.- Specified by:
getProductNamein interfaceDialect- Returns:
- the name of the RDBMS product.
-
formatModuloFunction
Description copied from interface:DialectReturns the 'mod' function formatted for a specific SQL dialect.- Specified by:
formatModuloFunctionin interfaceDialect- Parameters:
divisor- the numeric expression for divisor operanddividend- the numeric expression for dividend operand- Returns:
- the 'mod' function for a specific SQL dialect.
-
getDataType
Description copied from interface:DialectReturns the data type for a specific SQL dialect.- Specified by:
getDataTypein interfaceDialect- Parameters:
dataType- the ISO data type- Returns:
- the data type for a specific SQL dialect.
-
supports
Description copied from interface:DialectIndicates whether a capability is supported by a specific SQL dialect.
-