|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webcenter.search.util.WrapperQueryResult<T>
public class WrapperQueryResult<T>
Base class that allows for implementors of the Search API to build their QueryResult classes more easily. This assumes some conversion from an Iterator of some source class to an Iterator of a target class
Field Summary |
---|
Fields inherited from interface oracle.webcenter.search.QueryResult |
---|
ESTIMATED_RESULT_COUNT, RESPONSE_TIME |
Constructor Summary | |
---|---|
WrapperQueryResult(java.util.Iterator<T> target) Only called by subclasses. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrapperQueryResult(java.util.Iterator<T> target)
target
- the source iterator of type TMethod Detail |
---|
public 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>
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |