T - type of rulepublic abstract class MemoryMergedResult<T extends org.apache.shardingsphere.infra.rule.ShardingSphereRule> extends Object implements MergedResult
| 限定符 | 构造器和说明 |
|---|---|
protected |
MemoryMergedResult(T rule,
org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema,
SQLStatementContext sqlStatementContext,
List<QueryResult> queryResults) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getCalendarValue(int columnIndex,
Class<?> type,
Calendar calendar)
Get calendar value.
|
InputStream |
getInputStream(int columnIndex,
String type)
Get InputStream.
|
Object |
getValue(int columnIndex,
Class<?> type)
Get data value.
|
protected abstract List<MemoryQueryResultRow> |
init(T rule,
org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema,
SQLStatementContext sqlStatementContext,
List<QueryResult> queryResults) |
boolean |
next()
Iterate next data.
|
boolean |
wasNull()
Judge ResultSet is null or not.
|
protected MemoryMergedResult(T rule, org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema, SQLStatementContext sqlStatementContext, List<QueryResult> queryResults) throws SQLException
SQLExceptionprotected abstract List<MemoryQueryResultRow> init(T rule, org.apache.shardingsphere.infra.metadata.schema.ShardingSphereSchema schema, SQLStatementContext sqlStatementContext, List<QueryResult> queryResults) throws SQLException
SQLExceptionpublic final boolean next()
MergedResultnext 在接口中 MergedResultpublic final Object getValue(int columnIndex, Class<?> type) throws SQLException
MergedResultgetValue 在接口中 MergedResultcolumnIndex - column indextype - class type of data valueSQLException - SQL Exceptionpublic final Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar)
MergedResultgetCalendarValue 在接口中 MergedResultcolumnIndex - column indextype - class type of data valuecalendar - calendarpublic final InputStream getInputStream(int columnIndex, String type) throws SQLException
MergedResultgetInputStream 在接口中 MergedResultcolumnIndex - column indextype - class type of data valueSQLException - SQL Exceptionpublic final boolean wasNull()
MergedResultwasNull 在接口中 MergedResultCopyright © 2021 The Apache Software Foundation. All rights reserved.