public interface SqlDialect
default String select()
SELECT statement keyword.default String selectDistinct()
select() #distinct() (as supported by dialect or regular select).default String selectCountAll(EntityAlias<?> alias)
alias - the EntityAlias.select() countAll(EntityAlias).default String countAll(EntityAlias<?> alias)
alias - the EntityAlias.COUNT(*) selector.default String insert()
INSERT statement keyword.default String into()
INTO keyword.default String update()
UPDATE statement keyword.default String delete()
DELETE statement keyword.default String from()
FROM selector keyword.default String as()
AS keyword to define an alias for a FROM source.as(EntityAlias, boolean)default String as(EntityAlias<?> alias, boolean space)
alias - the EntityAlias.space - true if a space should be appended at the end of the alias, false otherwise.as() alias.name.default String alias(EntityAlias<?> alias, boolean space)
alias - the EntityAlias.space - true if a space should be appended at the end of the alias, false otherwise.EntityAlias.getName(). In case EntityAlias.getName() is null according to the
dialect either the empty string or the source is used as fallback.default String upsert() throws UnsupportedOperationException
UPSERT keyword.UnsupportedOperationException - if not supported by this dialect.FeatureUpsertdefault String distinct()
DISTINCT keyword.default String where()
WHERE clause keyword.default String orderBy()
ORDER BY clause keyword.default String groupBy()
GROUP BY clause keyword.default String having()
HAVING clause keyword.default String forUpdate()
FOR UPDATE keyword.default String set()
SET keyword.default String let()
LET keyword.default String like()
LIKE condition keyword to match a pattern.default String not()
NOT keyword to negate expressions or conditions.default String is()
IS condition keyword.default String escape()
ESCAPE keyword to supply an escape character for like() expressions. Will be the empty
String if NOT support via this SqlDialect (maybe only via query metadata).default String escape(char escape)
escape - the character to escape like() wildcards such as '%' and '_'.ESCAPE clause to supply an escape character for like() expressions. Will be the empty
String if NOT support via this SqlDialect (maybe only via query metadata).default String limit()
LIMIT keyword to supply the maximum number of results. Will be the empty String if NOT
supported via this SqlDialect (maybe only via query metadata).default String offset()
OFFSET (or SKIP) keyword to supply an offset. Will be the empty String if NOT support
via SQL (maybe only via query metadata).default String empty()
EMPTY condition keyword.default String in()
IN expression keyword.default String literalTrue()
Boolean.TRUE.default String literalFalse()
Boolean.FALSE.default String literalNull()
null.default String and()
logical AND.default String or()
logical OR.default String quoteReference()
String for no quoting of references.default String ref(String reference)
reference - the reference such as selection source, paths, etc.potentially quoted reference to prevent keyword collisions.default String startExpression()
default String endExpression()
default String startConjunction(Conjunction conjunction)
conjunction - the Conjunction.Conjunction expression.default String endConjunction(Conjunction conjunction)
conjunction - the Conjunction.Conjunction expression.default String conjuction(Conjunction conjunction)
conjunction - the Conjunction.Conjunction such as and().default String operator(SqlOperator<?,?> operator)
operator - the SqlOperator.SqlOperator.default String parameter(int index)
index - the zero-based index of the current parameter.default String parameter(String name)
name - the name of the parameter.default String separator()
default String fetch()
FETCH keyword.default String join()
JOIN keyword.default Object order(SortOrder order)
order - the SortOrder. May be null.default String property(ReadableProperty<?> property)
property - the property to format.property name.Copyright © 2001–2016 mmm-Team. All rights reserved.