Class SqlWriter
java.lang.Object
ch.tocco.nice2.persist.core.api.query.SqlWriter
Helper class for manually writing SQL queries.
An instance should be obtained from
Context.createSqlWriter()
to
make sure that dialect specific configuration is applied.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionand()
append
(char c) count()
descending
(String path) distinct()
div()
endCount()
eq()
from()
ge()
gt()
inEnd()
inStart()
isNull()
le()
lt()
minus()
multiply()
ne()
not()
or()
orderBy()
plus()
protected SqlWriter
quoteIdentifier
(String token) select()
set()
toSql()
values()
where()
wildcard()
-
Constructor Details
-
SqlWriter
-
-
Method Details
-
toSql
-
select
-
count
-
update
-
delete
-
insert
-
from
-
where
-
distinct
-
orderBy
-
ascending
-
descending
-
ascending
-
descending
-
startCount
-
endCount
-
openParen
-
closeParen
-
wildcard
-
path
-
alias
-
separator
-
inStart
-
inEnd
-
set
-
assign
-
values
-
eq
-
ne
-
gt
-
ge
-
lt
-
le
-
isNull
-
isNotNull
-
and
-
or
-
not
-
keyword
-
quoteIdentifier
-
whitespace
-
append
-
append
-
plus
-
minus
-
div
-
multiply
-