public class WrapperQueryResult<T> extends java.lang.Object implements QueryResult<T>
ESTIMATED_RESULT_COUNT, RESPONSE_TIME| Constructor and Description | 
|---|
WrapperQueryResult(java.util.Iterator<T> target)
Only called by subclasses. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Map<java.lang.String,java.lang.String> | 
getProperties()
Default implementation of the getProperties to subclasses to not have to
 implement this directly. 
 | 
boolean | 
hasNext()
Wrapped implementation of the Iterator.hasNext method. 
 | 
T | 
next()
Wrapped implementation of the Iterator.next method. 
 | 
void | 
remove()
To prohibit callers from removing entries in the Iterator, this method
 always throws an Exception that "remove" is not supported 
 | 
public WrapperQueryResult(java.util.Iterator<T> target)
target - the source iterator of type Tpublic java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in interface QueryResult<T>public boolean hasNext()
hasNext in interface java.util.Iterator<T>public T next()
next in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>