public static class SQLUtils.WhereClause<V>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SQLUtils.WhereClause.ColumnFilter
A condition for filtering query results.
|
static class |
SQLUtils.WhereClause.NestedColumnFilters
An object with three modes: and, or, and cond.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
clause |
java.util.List<V> |
params |
Constructor and Description |
---|
SQLUtils.WhereClause(java.lang.String whereClause,
java.util.List<V> params) |
Modifier and Type | Method and Description |
---|---|
static SQLUtils.WhereClause<java.lang.Object> |
fromFilters(java.sql.Connection conn,
SQLUtils.WhereClause.NestedColumnFilters filters)
Builds a WhereClause from nested filtering logic.
|
public java.lang.String clause
public java.util.List<V> params
public SQLUtils.WhereClause(java.lang.String whereClause, java.util.List<V> params)
public static SQLUtils.WhereClause<java.lang.Object> fromFilters(java.sql.Connection conn, SQLUtils.WhereClause.NestedColumnFilters filters) throws java.sql.SQLException
conn
- filters
- java.sql.SQLException