@Immutable public static interface QueryResults.Columns extends Serializable, Iterable<Column>
Modifier and Type | Method and Description |
---|---|
List<String> |
getColumnNames()
Get the names of the columns.
|
List<? extends Column> |
getColumns()
Get the columns.
|
String |
getColumnTypeForProperty(String selectorName,
String propertyName)
Get the type of the column given the name of the selector and the property name from where the column should be
obtained.
|
List<String> |
getColumnTypes()
Get the type name for each column.
|
String |
getPropertyNameForColumnName(String columnName)
Get the name of the property that corresponds to the named column in each tuple.
|
int |
getSelectorIndex(String selectorName)
Get the index of the nodes for this selector in each of the
node sequence batches . |
String |
getSelectorNameForColumnName(String columnName)
Get the name of the selector that produced the column with the given name.
|
List<String> |
getSelectorNames()
Get the names of the selectors that are associated with these results.
|
boolean |
hasFullTextSearchScores()
Determine whether these results include full-text search scores.
|
QueryResults.Columns |
with(QueryResults.Columns other)
Return a new Columns that is a superset combination of both this Columns and the supplied Columns.
|
forEach, iterator, spliterator
List<? extends Column> getColumns()
List<String> getColumnNames()
columns
; never nullList<String> getColumnTypes()
columns
; never nullString getColumnTypeForProperty(String selectorName, String propertyName)
selectorName
- the selector namepropertyName
- the name of the propertyNoSuchElementException
- if the selector name or the property name are invalidint getSelectorIndex(String selectorName)
node sequence batches
.selectorName
- the selector nameList<String> getSelectorNames()
String getPropertyNameForColumnName(String columnName)
columnName
- the column nameString getSelectorNameForColumnName(String columnName)
columnName
- the column nameNoSuchElementException
- if the column name is invalid or doesn't match an existing columnboolean hasFullTextSearchScores()
QueryResults.Columns with(QueryResults.Columns other)
other
- the other columns; may not be nullthis
and other
; never nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.