@@ -24,7 +24,7 @@ Main entry point for SELECT queries and static gateway to DML builders.
2424** Static factory methods**
2525
2626| Method | Returns | Description |
27- | --------| ---------| -------------|
27+ | -------- | --------- | ------------- |
2828| ` insert() ` | ` InsertBuilder ` | New ` InsertBuilder ` |
2929| ` insertInto(String table) ` | ` InsertBuilder ` | New ` InsertBuilder ` pre-set to ` table ` |
3030| ` update() ` | ` UpdateBuilder ` | New ` UpdateBuilder ` |
@@ -37,7 +37,7 @@ Main entry point for SELECT queries and static gateway to DML builders.
3737** SELECT builder methods**
3838
3939| Method | Returns | Description |
40- | --------| ---------| -------------|
40+ | -------- | --------- | ------------- |
4141| ` from(String table) ` | ` QueryBuilder ` | Set source table |
4242| ` select(String... columns) ` | ` QueryBuilder ` | Add columns to SELECT clause; omit for ` SELECT * ` |
4343| ` distinct() ` | ` QueryBuilder ` | Add ` DISTINCT ` to SELECT |
@@ -82,7 +82,7 @@ Main entry point for SELECT queries and static gateway to DML builders.
8282Lower-level SELECT builder that produces ` SqlResult ` directly (no ` Query ` intermediary).
8383
8484| Method | Returns | Description |
85- | --------| ---------| -------------|
85+ | -------- | --------- | ------------- |
8686| ` from(String table) ` | ` SelectBuilder ` | Set source table |
8787| ` select(String... columns) ` | ` SelectBuilder ` | Add SELECT columns |
8888| ` distinct() ` | ` SelectBuilder ` | Add ` DISTINCT ` |
@@ -102,7 +102,7 @@ Lower-level SELECT builder that produces `SqlResult` directly (no `Query` interm
102102### ` InsertBuilder `
103103
104104| Method | Returns | Description |
105- | --------| ---------| -------------|
105+ | -------- | --------- | ------------- |
106106| ` into(String table) ` | ` InsertBuilder ` | Set target table |
107107| ` value(String col, Object val) ` | ` InsertBuilder ` | Add a column/value pair |
108108| ` build() ` | ` SqlResult ` | Render with standard dialect |
@@ -113,7 +113,7 @@ Lower-level SELECT builder that produces `SqlResult` directly (no `Query` interm
113113### ` UpdateBuilder `
114114
115115| Method | Returns | Description |
116- | --------| ---------| -------------|
116+ | -------- | --------- | ------------- |
117117| ` table(String table) ` | ` UpdateBuilder ` | Set target table |
118118| ` set(String col, Object val) ` | ` UpdateBuilder ` | Add a SET pair |
119119| ` whereEquals(col, val) ` | ` UpdateBuilder ` | ` WHERE col = ? ` (AND) |
@@ -127,7 +127,7 @@ Lower-level SELECT builder that produces `SqlResult` directly (no `Query` interm
127127### ` DeleteBuilder `
128128
129129| Method | Returns | Description |
130- | --------| ---------| -------------|
130+ | -------- | --------- | ------------- |
131131| ` from(String table) ` | ` DeleteBuilder ` | Set target table |
132132| ` whereEquals(col, val) ` | ` DeleteBuilder ` | ` WHERE col = ? ` (AND) |
133133| ` whereNotEquals(col, val) ` | ` DeleteBuilder ` | ` WHERE col != ? ` (AND) |
@@ -147,7 +147,7 @@ Lower-level SELECT builder that produces `SqlResult` directly (no `Query` interm
147147### ` CreateBuilder `
148148
149149| Method | Returns | Description |
150- | --------| ---------| -------------|
150+ | -------- | --------- | ------------- |
151151| ` table(String name) ` | ` CreateBuilder ` | Set table name |
152152| ` column(String name, String sqlType) ` | ` CreateBuilder ` | Add column definition |
153153| ` primaryKey(String name) ` | ` CreateBuilder ` | Declare a primary key column |
@@ -164,7 +164,7 @@ Lower-level SELECT builder that produces `SqlResult` directly (no `Query` interm
164164Enum of comparison operators. See [ Conditions] ( conditions ) for the full table.
165165
166166| Constant | SQL |
167- | ----------| -----|
167+ | ---------- | ----- |
168168| ` EQ ` | ` = ? ` |
169169| ` NEQ ` | ` != ? ` |
170170| ` GT ` | ` > ? ` |
@@ -187,7 +187,7 @@ Enum of comparison operators. See [Conditions](conditions) for the full table.
187187### ` Condition `
188188
189189| Member | Description |
190- | --------| -------------|
190+ | -------- | ------------- |
191191| ` Condition(Operator op, Object value) ` | Create a condition; ` value ` may be ` null ` |
192192| ` getOperator() ` | Returns the ` Operator ` |
193193| ` getValue() ` | Returns the comparison value (` null ` , scalar, ` List<?> ` , or ` Query ` ) |
@@ -198,7 +198,7 @@ Enum of comparison operators. See [Conditions](conditions) for the full table.
198198### ` ConditionEntry `
199199
200200| Member | Description |
201- | --------| -------------|
201+ | -------- | ------------- |
202202| ` ConditionEntry(String col, Condition cond, Connector connector) ` | Create a condition entry |
203203| ` getColumn() ` | Column name (` null ` for EXISTS-subquery conditions) |
204204| ` getCondition() ` | The wrapped ` Condition ` |
@@ -209,7 +209,7 @@ Enum of comparison operators. See [Conditions](conditions) for the full table.
209209### ` Connector `
210210
211211| Constant | SQL keyword |
212- | ----------| -------------|
212+ | ---------- | ------------- |
213213| ` AND ` | ` AND ` |
214214| ` OR ` | ` OR ` |
215215
@@ -223,7 +223,7 @@ Immutable data holder produced by `QueryBuilder.build()`. All fields have
223223getters and setters; setters are used exclusively by the builders.
224224
225225| Getter | Type | Description |
226- | --------| ------| -------------|
226+ | -------- | ------ | ------------- |
227227| ` getTable() ` | ` String ` | Source table name |
228228| ` getSelectColumns() ` | ` List<String> ` | Columns in SELECT clause; empty = ` SELECT * ` |
229229| ` isDistinct() ` | ` boolean ` | Whether ` DISTINCT ` is active |
@@ -244,7 +244,7 @@ getters and setters; setters are used exclusively by the builders.
244244### ` JoinClause `
245245
246246| Member | Description |
247- | --------| -------------|
247+ | -------- | ------------- |
248248| ` JoinClause(Type, String table, String on) ` | Plain-table join |
249249| ` JoinClause(Type, Query subquery, String alias, String on) ` | Subquery (derived-table) join |
250250| ` getType() ` | ` JoinClause.Type ` : ` INNER ` , ` LEFT ` , ` RIGHT ` , or ` CROSS ` |
@@ -258,7 +258,7 @@ getters and setters; setters are used exclusively by the builders.
258258### ` ScalarSelectItem `
259259
260260| Member | Description |
261- | --------| -------------|
261+ | -------- | ------------- |
262262| ` ScalarSelectItem(Query subquery, String alias) ` | Create a scalar SELECT item |
263263| ` getSubquery() ` | The subquery to embed |
264264| ` getAlias() ` | Column alias in SELECT clause |
@@ -283,7 +283,7 @@ public interface QueryableStorage {
283283### ` SqlDialect `
284284
285285| Member | Description |
286- | --------| -------------|
286+ | -------- | ------------- |
287287| ` STANDARD ` | ANSI SQL (no identifier quoting) |
288288| ` MYSQL ` | MySQL: back-tick quoting; DELETE LIMIT supported |
289289| ` SQLITE ` | SQLite: double-quote quoting; DELETE LIMIT supported |
@@ -295,7 +295,7 @@ public interface QueryableStorage {
295295### ` SqlResult `
296296
297297| Method | Returns | Description |
298- | --------| ---------| -------------|
298+ | -------- | --------- | ------------- |
299299| ` getSql() ` | ` String ` | Rendered SQL with ` ? ` placeholders |
300300| ` getParameters() ` | ` List<Object> ` | Bind parameters in placeholder order |
301301
@@ -311,7 +311,7 @@ usage guide.
311311** Static methods**
312312
313313| Method | Returns | Description |
314- | --------| ---------| -------------|
314+ | -------- | --------- | ------------- |
315315| ` global() ` | ` QueryBuilderDefaults ` | Current JVM-wide defaults instance |
316316| ` setGlobal(defaults) ` | ` void ` | Replace the JVM-wide defaults; throws ` NullPointerException ` if ` null ` |
317317| ` builder() ` | ` Builder ` | New builder pre-filled with canonical defaults |
@@ -320,7 +320,7 @@ usage guide.
320320** Instance getters**
321321
322322| Method | Returns | Description |
323- | --------| ---------| -------------|
323+ | -------- | --------- | ------------- |
324324| ` getDialect() ` | ` SqlDialect ` | Configured SQL dialect |
325325| ` getDefaultColumns() ` | ` String ` | Default SELECT column expression |
326326| ` getDefaultLimit() ` | ` int ` | Default LIMIT; ` -1 ` means none |
@@ -333,7 +333,7 @@ usage guide.
333333### ` QueryBuilderDefaults.Builder `
334334
335335| Method | Returns | Description |
336- | --------| ---------| -------------|
336+ | -------- | --------- | ------------- |
337337| ` dialect(SqlDialect) ` | ` Builder ` | Set dialect; throws ` NullPointerException ` if ` null ` |
338338| ` defaultColumns(String) ` | ` Builder ` | Set default SELECT columns; throws ` NullPointerException ` if ` null ` |
339339| ` defaultLimit(int) ` | ` Builder ` | Set default LIMIT; pass ` -1 ` to disable |
@@ -349,7 +349,7 @@ usage guide.
349349### ` QueryBuilderException `
350350
351351| Constructor | Description |
352- | -------------| -------------|
352+ | ------------- | ------------- |
353353| ` QueryBuilderException() ` | No-message default |
354354| ` QueryBuilderException(String message) ` | Simple message |
355355| ` QueryBuilderException(String message, Throwable cause) ` | Wraps another exception |
@@ -360,7 +360,7 @@ usage guide.
360360### ` QueryException `
361361
362362| Constructor | Description |
363- | -------------| -------------|
363+ | ------------- | ------------- |
364364| ` QueryException() ` | No-message default |
365365| ` QueryException(String message) ` | Simple message |
366366| ` QueryException(String message, Throwable cause) ` | Wraps another exception |
@@ -371,7 +371,7 @@ usage guide.
371371### ` QueryRenderException `
372372
373373| Constructor | Description |
374- | -------------| -------------|
374+ | ------------- | ------------- |
375375| ` QueryRenderException() ` | No-message default |
376376| ` QueryRenderException(String message) ` | Simple message |
377377| ` QueryRenderException(String message, Throwable cause) ` | Wraps another exception |
0 commit comments