|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.graph.query.process.QueryResultColumns
org.jboss.dna.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
|
| 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)
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 org.jboss.dna.graph.query.process.QueryResultColumns |
|---|
empty, equals, getColumnCount, getColumnIndexForName, getColumnIndexForProperty, getColumnNames, getColumns, getFullTextSearchScoreIndexFor, getLocationCount, getLocationIndex, getLocationIndexForColumn, getLocationIndexForColumn, getPropertyNameForColumn, getPropertyNameForColumn, getSelectorNames, getTupleSize, getTupleValueNames, hasSelector, includeFullTextScores, includeFullTextScores, includes, isUnionCompatible, subSelect, subSelect, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final QueryResultColumns INSTANCE
| Constructor Detail |
|---|
public FullTextSearchResultColumns()
public FullTextSearchResultColumns(List<Column> columns)
columns - the columns that define the results; should never be modified directly| 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.ColumnshasFullTextSearchScores in class QueryResultColumnsQueryResultColumns.hasFullTextSearchScores()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||