|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.graph.request.Request org.modeshape.graph.request.SearchRequest org.modeshape.graph.request.FullTextSearchRequest
public class FullTextSearchRequest
A Request
to perform a full-text search on a graph.
Constructor Summary | |
---|---|
FullTextSearchRequest(String fullTextSearch,
String workspace,
int maxResults,
int offset)
Create a new request to execute the supplied query against the name workspace. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
expression()
Get the full-text search expression that is to be executed. |
QueryResults.Columns |
getResultColumns()
Get the specification of the columns for the results . |
int |
hashCode()
|
int |
maxResults()
Get the maximum number of results that should be returned. |
int |
offset()
Get the number of initial search results that should be excluded from the tuples included on this
request. |
void |
setResults(QueryResults.Columns resultColumns,
List<Object[]> tuples,
QueryResults.Statistics statistics)
Set the results for this request. |
String |
toString()
|
String |
workspace()
Get the name of the workspace in which the node exists. |
Methods inherited from class org.modeshape.graph.request.SearchRequest |
---|
cancel, getStatistics, getTuples, isReadOnly |
Methods inherited from class org.modeshape.graph.request.Request |
---|
freeze, getError, hasError, isCancelled, isFrozen, setError, setLatchForFreezing |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FullTextSearchRequest(String fullTextSearch, String workspace, int maxResults, int offset)
fullTextSearch
- the full-text search to be performed; may not be nullworkspace
- the name of the workspace to be queriedmaxResults
- the maximum number of results that are to be returned; always positiveoffset
- the number of initial results to skip, or 0 if the first results are to be returned
IllegalArgumentException
- if the query or workspace name is null, if the maxResults is not positive, or if the
offset is negativeMethod Detail |
---|
public String expression()
public String workspace()
public int maxResults()
public int offset()
tuples
included on this
request.
public int hashCode()
hashCode
in class Object
Object.hashCode()
public QueryResults.Columns getResultColumns()
results
.
public void setResults(QueryResults.Columns resultColumns, List<Object[]> tuples, QueryResults.Statistics statistics)
resultColumns
- the definition of the result columnstuples
- the result valuesstatistics
- the statistics, or null if there are nonepublic boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |