Package io.higson.runtime.sql.dialect
Class DefaultDialect
java.lang.Object
io.higson.runtime.sql.dialect.DefaultDialect
- All Implemented Interfaces:
RuntimeDialect
- Direct Known Subclasses:
H2RuntimeDialect,HsqlRuntimeDialect,MsSQLRuntimeDialect,MySQLRuntimeDialect,OracleRuntimeDialect,PostgresqlRuntimeDialect
- Author:
- przemek hertel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis supports hint provider for certain dialects, but not all dialects require that.selectFromSequence(String sequence) withColumnAliases(String... elements) withTableAliases(String... elements) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.higson.runtime.sql.RuntimeDialect
hibernateDialect, jdbcDriverClassName, selectFromSequence, validationQuery
-
Constructor Details
-
DefaultDialect
public DefaultDialect()
-
-
Method Details
-
withColumnAliases
-
withTableAliases
-
withHint
-
column
- Specified by:
columnin interfaceRuntimeDialect
-
table
- Specified by:
tablein interfaceRuntimeDialect
-
selectFromSequence
- Specified by:
selectFromSequencein interfaceRuntimeDialect
-
hint
Description copied from interface:RuntimeDialectThis supports hint provider for certain dialects, but not all dialects require that. If dialect doesn't support the token hint, it will return EMPTY string.- Specified by:
hintin interfaceRuntimeDialect- Parameters:
token- for exact hint- Returns:
- empty string if token is not supported in dialect, otherwise return proper hint value.
-
getColumnAliases
-
getTableAliases
-