|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.graph.query.process.QueryResultColumns
org.modeshape.graph.query.process.FullTextSearchResultColumns
public class FullTextSearchResultColumns
A specialization of QueryResultColumns
that can be used to represent results containing only the Location
of
the node and the
Field Summary | |
---|---|
static QueryResultColumns |
INSTANCE
|
Fields inherited from class org.modeshape.graph.query.process.QueryResultColumns |
---|
DEFAULT_SELECTOR_NAME, EMPTY, NO_COLUMNS, NO_TYPES |
Constructor Summary | |
---|---|
FullTextSearchResultColumns()
Create a new definition for the query results containing just the locations and the full-text search scores. |
|
FullTextSearchResultColumns(List<Column> columns,
List<String> columnTypes)
Create a new definition for the query results given the supplied columns. |
Method Summary | |
---|---|
int |
getFullTextSearchScoreIndex()
Get the index of the tuple value containing the full-text search score for the node. |
int |
getLocationIndex()
Get the index of a tuple's correct Location object. |
boolean |
hasFullTextSearchScores()
Determine whether these results include full-text search scores. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QueryResultColumns INSTANCE
Constructor Detail |
---|
public FullTextSearchResultColumns()
public FullTextSearchResultColumns(List<Column> columns, List<String> columnTypes)
columns
- the columns that define the results; should never be modified directlycolumnTypes
- the type name for each of the Column objects in columns
Method Detail |
---|
public int getLocationIndex()
public int getFullTextSearchScoreIndex()
Double
full-text search score, or -1 if there is no full-text search
score for the named selectorpublic boolean hasFullTextSearchScores()
hasFullTextSearchScores
in interface QueryResults.Columns
hasFullTextSearchScores
in class QueryResultColumns
QueryResultColumns.hasFullTextSearchScores()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |