|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.graph.request.Request
org.jboss.dna.graph.request.SearchRequest
public abstract class SearchRequest

A Request to search or query a graph.
| Constructor Summary | |
|---|---|
SearchRequest()
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel this request. |
QueryResults.Statistics |
getStatistics()
Get the statistics that describe the time metrics for this query. |
List<Object[]> |
getTuples()
Get the results of this query. |
boolean |
isReadOnly()
Return whether this request only reads information. |
| Methods inherited from class org.jboss.dna.graph.request.Request |
|---|
freeze, getError, hasError, isCancelled, isFrozen, setError, setLatchForFreezing |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchRequest()
| Method Detail |
|---|
public final boolean isReadOnly()
isReadOnly in class RequestRequest.isReadOnly()public List<Object[]> getTuples()
public QueryResults.Statistics getStatistics()
public void cancel()
cancellation flag is set, and any current or
future processing of the request may be affected by the cancellation. (Note however, that processors may choose to not
respect this request.)
This method is safe to be called by different threads.
cancel in class RequestRequest.cancel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||