public abstract class AbstractMemoryQueryResult extends Object implements QueryResult
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMemoryQueryResult(QueryResultMetaData metaData,
Collection<MemoryQueryResultDataRow> rows) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close.
|
Object |
getCalendarValue(int columnIndex,
Class<?> type,
Calendar calendar)
Get calendar value.
|
InputStream |
getInputStream(int columnIndex,
String type)
Get input stream.
|
Object |
getValue(int columnIndex,
Class<?> type)
Get data value.
|
boolean |
next()
Iterate next data.
|
boolean |
wasNull()
Judge result set is null or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaDataprotected AbstractMemoryQueryResult(QueryResultMetaData metaData, Collection<MemoryQueryResultDataRow> rows)
public final boolean next()
QueryResultnext in interface QueryResultpublic final Object getValue(int columnIndex, Class<?> type)
QueryResultgetValue in interface QueryResultcolumnIndex - column indextype - class type of data valuepublic final Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar)
QueryResultgetCalendarValue in interface QueryResultcolumnIndex - column indextype - class type of data valuecalendar - calendarpublic final InputStream getInputStream(int columnIndex, String type)
QueryResultgetInputStream in interface QueryResultcolumnIndex - column indextype - class type of data valuepublic final boolean wasNull()
QueryResultwasNull in interface QueryResultpublic final void close()
QueryResultclose in interface QueryResultCopyright © 2023 The Apache Software Foundation. All rights reserved.