public final class GroupByStreamMergedResult extends OrderByStreamMergedResult
Constructor and Description |
---|
GroupByStreamMergedResult(Map<String,Integer> labelAndIndexMap,
List<QueryResult> queryResults,
SelectStatement selectStatement) |
Modifier and Type | Method and Description |
---|---|
Object |
getCalendarValue(int columnIndex,
Class<?> type,
Calendar calendar)
Get calendar value.
|
Object |
getCalendarValue(String columnLabel,
Class<?> type,
Calendar calendar)
Get calendar value.
|
Object |
getValue(int columnIndex,
Class<?> type)
Get data value.
|
Object |
getValue(String columnLabel,
Class<?> type)
Get data value.
|
boolean |
next()
iterate next data.
|
getCurrentQueryResult, getInputStream, getInputStream, wasNull
public GroupByStreamMergedResult(Map<String,Integer> labelAndIndexMap, List<QueryResult> queryResults, SelectStatement selectStatement) throws SQLException
SQLException
public boolean next() throws SQLException
MergedResult
next
in interface MergedResult
next
in class OrderByStreamMergedResult
SQLException
- SQL Exceptionpublic Object getValue(int columnIndex, Class<?> type)
MergedResult
getValue
in interface MergedResult
getValue
in class StreamMergedResult
columnIndex
- column indextype
- class type of data valuepublic Object getValue(String columnLabel, Class<?> type)
MergedResult
getValue
in interface MergedResult
getValue
in class StreamMergedResult
columnLabel
- column labeltype
- class type of data valuepublic Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar)
MergedResult
getCalendarValue
in interface MergedResult
getCalendarValue
in class StreamMergedResult
columnIndex
- column indextype
- class type of data valuecalendar
- calendarpublic Object getCalendarValue(String columnLabel, Class<?> type, Calendar calendar)
MergedResult
getCalendarValue
in interface MergedResult
getCalendarValue
in class StreamMergedResult
columnLabel
- column labeltype
- class type of data valuecalendar
- calendarCopyright © 2018. All rights reserved.