org.tinygroup.dbrouter.context
public class ResultSetExecutor extends Object
| Constructor and 描述 |
|---|
ResultSetExecutor(ResultSet resultSet,
String executeSql,
String originalSql,
Shard shard,
Partition partition,
Router router) |
| Modifier and Type | Method and 描述 |
|---|---|
void |
afterLast() |
void |
beforeFirst() |
void |
first() |
DataSourceConfig |
getDataSourceConfig() |
String |
getExecuteSql() |
int[] |
getOrderByIndexs() |
OrderByProcessor.OrderByValues |
getOrderByValuesFromResultSet() |
boolean[] |
getOrderTypes() |
String |
getOriginalSql() |
Partition |
getPartition() |
ResultSet |
getResultSet() |
Router |
getRouter() |
Shard |
getShard() |
SortOrder |
getSortOrder() |
OrderByProcessor.OrderByValues |
getValueCache() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
void |
last() |
boolean |
next() |
boolean |
previous() |
void |
setAfterLast(boolean isAfterLast) |
void |
setBeforeFirst(boolean isBeforeFirst) |
void |
setValueCache(OrderByProcessor.OrderByValues valueCache) |
public ResultSetExecutor(ResultSet resultSet, String executeSql, String originalSql, Shard shard, Partition partition, Router router) throws SQLException
SQLExceptionpublic SortOrder getSortOrder()
public ResultSet getResultSet()
public String getExecuteSql()
public boolean[] getOrderTypes()
public int[] getOrderByIndexs()
public boolean next()
throws SQLException
SQLExceptionpublic boolean previous()
throws SQLException
SQLExceptionpublic OrderByProcessor.OrderByValues getOrderByValuesFromResultSet() throws SQLException
SQLExceptionpublic OrderByProcessor.OrderByValues getValueCache()
public void setValueCache(OrderByProcessor.OrderByValues valueCache)
public boolean isAfterLast()
public void setAfterLast(boolean isAfterLast)
public boolean isBeforeFirst()
public void setBeforeFirst(boolean isBeforeFirst)
public void beforeFirst()
throws SQLException
SQLExceptionpublic void afterLast()
throws SQLException
SQLExceptionpublic void first()
throws SQLException
SQLExceptionpublic void last()
throws SQLException
SQLExceptionpublic Shard getShard()
public Partition getPartition()
public String getOriginalSql()
public Router getRouter()
public DataSourceConfig getDataSourceConfig()
Copyright © 2006–2015 TinyGroup. All rights reserved.