public final class AggregationDistinctQueryResult extends DistinctQueryResult
| 构造器和说明 |
|---|
AggregationDistinctQueryResult(Collection<QueryResult> queryResults,
List<AggregationDistinctSelectItem> aggregationDistinctSelectItems) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<DistinctQueryResult> |
divide()
Divide one distinct query result to multiple child ones.
|
Object |
getCalendarValue(int columnIndex,
Class<?> type,
Calendar calendar)
Get calendar value.
|
Object |
getCalendarValue(String columnLabel,
Class<?> type,
Calendar calendar)
Get calendar value.
|
int |
getColumnCount()
Get column count.
|
protected Integer |
getColumnIndex(String columnLabel) |
String |
getColumnLabel(int columnIndex)
Get column label.
|
InputStream |
getInputStream(int columnIndex,
String type)
Get InputStream.
|
InputStream |
getInputStream(String columnLabel,
String type)
Get InputStream.
|
Object |
getValue(int columnIndex,
Class<?> type)
Get data value.
|
Object |
getValue(String columnLabel,
Class<?> type)
Get data value.
|
boolean |
wasNull()
Adjust ResultSet is null or not.
|
getInputStream, nextpublic AggregationDistinctQueryResult(Collection<QueryResult> queryResults, List<AggregationDistinctSelectItem> aggregationDistinctSelectItems)
public List<DistinctQueryResult> divide()
divide 在类中 DistinctQueryResultpublic Object getValue(int columnIndex, Class<?> type)
QueryResultgetValue 在接口中 QueryResultgetValue 在类中 DistinctQueryResultcolumnIndex - column indextype - class type of data valuepublic Object getValue(String columnLabel, Class<?> type)
QueryResultgetValue 在接口中 QueryResultgetValue 在类中 DistinctQueryResultcolumnLabel - column labeltype - class type of data valuepublic Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar)
QueryResultgetCalendarValue 在接口中 QueryResultgetCalendarValue 在类中 DistinctQueryResultcolumnIndex - column indextype - class type of data valuecalendar - calendarpublic Object getCalendarValue(String columnLabel, Class<?> type, Calendar calendar)
QueryResultgetCalendarValue 在接口中 QueryResultgetCalendarValue 在类中 DistinctQueryResultcolumnLabel - column labeltype - class type of data valuecalendar - calendarpublic InputStream getInputStream(int columnIndex, String type)
QueryResultgetInputStream 在接口中 QueryResultgetInputStream 在类中 DistinctQueryResultcolumnIndex - column indextype - class type of data valuepublic InputStream getInputStream(String columnLabel, String type)
QueryResultgetInputStream 在接口中 QueryResultgetInputStream 在类中 DistinctQueryResultcolumnLabel - column labeltype - class type of data valuepublic boolean wasNull()
QueryResultwasNull 在接口中 QueryResultwasNull 在类中 DistinctQueryResultpublic int getColumnCount()
QueryResultgetColumnCount 在接口中 QueryResultgetColumnCount 在类中 DistinctQueryResultpublic String getColumnLabel(int columnIndex) throws SQLException
QueryResultgetColumnLabel 在接口中 QueryResultgetColumnLabel 在类中 DistinctQueryResultcolumnIndex - column indexSQLException - SQL Exceptionprotected Integer getColumnIndex(String columnLabel)
getColumnIndex 在类中 DistinctQueryResultCopyright © 2019. All rights reserved.