@Deprecated public interface FreeformStatementDelegate extends FreeformQueryDelegate
Modifier and Type | Method and Description |
---|---|
StatementHelper |
getContainsRowQueryStatement(Object... keys)
Deprecated.
Should return a new instance of StatementHelper that contains the query
string and parameter values required to create a PreparedStatement used
by the FreeformQuery.containsRowWithKeys() method.
|
StatementHelper |
getCountStatement()
Deprecated.
Should return a new instance of StatementHelper that contains the query
string and parameter values required to create a PreparedStatement that
will fetch the row count from the DB.
|
StatementHelper |
getQueryStatement(int offset,
int limit)
Deprecated.
Should return a new instance of StatementHelper that contains the query
string and parameter values required to create a PreparedStatement.
|
getContainsRowQueryString, getCountQuery, getQueryString, removeRow, setFilters, setOrderBy, storeRow
StatementHelper getQueryStatement(int offset, int limit) throws UnsupportedOperationException
offset
- the first record (row) to fetch.limit
- the limit of records (rows) to fetch. 0 means all records
starting from offset.UnsupportedOperationException
StatementHelper getCountStatement() throws UnsupportedOperationException
UnsupportedOperationException
StatementHelper getContainsRowQueryStatement(Object... keys) throws UnsupportedOperationException
keys
- the values of the primary keysUnsupportedOperationException
- to use the default logic in FreeformQueryCopyright © 2020 Vaadin Ltd. All rights reserved.