public interface Dialect extends UrlParser
| 限定符和类型 | 方法和说明 |
|---|---|
int |
bindLimitParametersAtEndOfQuery(RowSelection paramRowSelection,
PreparedStatement paramPreparedStatement,
int paramInt) |
int |
bindLimitParametersAtStartOfQuery(RowSelection paramRowSelection,
PreparedStatement paramPreparedStatement,
int paramInt) |
String |
getDatabaseId() |
String |
getLimitSql(String query,
RowSelection rowSelection)
Given a limit and an offset, apply the limit clause to the query.
|
boolean |
isBindLimitParametersFirst() |
boolean |
isBindLimitParametersInReverseOrder()
Whether bind parameter in reverse or not.
|
boolean |
isForceLimitUsage()
Generally if there is no, limit applied to a query we do not apply any limits
. to the soI query.
|
boolean |
isSupportsLimit()
Does this dialect support some form of limiting query results
via a soI clause?
|
boolean |
isSupportsLimitOffset()
Does this dialect ' s LIMIT support (if any) additionally
support specifying an offset?
|
boolean |
isSupportsVariableLimit()
Does this dialect support bind variables (i.e., prepared statement
parameters) for its limit/offset?
|
boolean |
isUseMaxForLimit() |
int |
registerResultSetOutParameter(CallableStatement paramCallableStatement,
int paramInt) |
void |
setMaxRows(RowSelection paramRowSelection,
PreparedStatement paramPreparedStatement) |
getUrlSchemas, parseString getDatabaseId()
boolean isSupportsLimit()
boolean isForceLimitUsage()
boolean isSupportsLimitOffset()
boolean isSupportsVariableLimit()
String getLimitSql(String query, RowSelection rowSelection)
query - The query to which to apply the limit.boolean isBindLimitParametersInReverseOrder()
boolean isBindLimitParametersFirst()
int bindLimitParametersAtStartOfQuery(RowSelection paramRowSelection, PreparedStatement paramPreparedStatement, int paramInt) throws SQLException
SQLExceptionint bindLimitParametersAtEndOfQuery(RowSelection paramRowSelection, PreparedStatement paramPreparedStatement, int paramInt) throws SQLException
SQLExceptionboolean isUseMaxForLimit()
int registerResultSetOutParameter(CallableStatement paramCallableStatement, int paramInt) throws SQLException
SQLExceptionvoid setMaxRows(RowSelection paramRowSelection, PreparedStatement paramPreparedStatement) throws SQLException
SQLExceptionCopyright © 2019. All rights reserved.