public static class QueryOptions.QuerySortOrder extends Object implements Indexed, Annotatable<QueryOptions.QuerySortOrder>
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryOptions.QuerySortOrder.Direction
Direction enumerates the order for sorting values.
|
static class |
QueryOptions.QuerySortOrder.Score
Score enumerates whether or not the relevance score is used.
|
| Constructor and Description |
|---|
QueryOptions.QuerySortOrder() |
| Modifier and Type | Method and Description |
|---|---|
QueryOptions.QuerySortOrder |
annotate(String xmlString) |
List<QueryOptions.QueryAnnotation> |
getAnnotations() |
QName |
getAttribute() |
String |
getCollation() |
QueryOptions.QuerySortOrder.Direction |
getDirection() |
QName |
getElement() |
String |
getFieldName() |
String |
getJsonKey() |
QueryOptions.QuerySortOrder.Score |
getScore() |
String |
getType() |
void |
setAttribute(QueryOptions.MarkLogicQName attribute) |
void |
setCollation(String collation) |
void |
setDirection(QueryOptions.QuerySortOrder.Direction direction) |
void |
setElement(QueryOptions.MarkLogicQName element) |
void |
setField(QueryOptions.Field field) |
void |
setJsonKey(QueryOptions.JsonKey jsonKey) |
void |
setPath(QueryOptions.PathIndex pathIndex) |
void |
setScore() |
void |
setType(String type) |
void |
unsetScore() |
public List<QueryOptions.QueryAnnotation> getAnnotations()
getAnnotations in interface Annotatable<QueryOptions.QuerySortOrder>public QueryOptions.QuerySortOrder annotate(String xmlString)
annotate in interface Annotatable<QueryOptions.QuerySortOrder>public QName getAttribute()
public String getCollation()
public QueryOptions.QuerySortOrder.Direction getDirection()
public QName getElement()
public String getFieldName()
public String getJsonKey()
public String getType()
public void setAttribute(QueryOptions.MarkLogicQName attribute)
setAttribute in interface Indexedpublic void setCollation(String collation)
public void setDirection(QueryOptions.QuerySortOrder.Direction direction)
public void setElement(QueryOptions.MarkLogicQName element)
setElement in interface Indexedpublic void setField(QueryOptions.Field field)
public void setPath(QueryOptions.PathIndex pathIndex)
public void setScore()
public QueryOptions.QuerySortOrder.Score getScore()
public void unsetScore()
public void setType(String type)
public void setJsonKey(QueryOptions.JsonKey jsonKey)
setJsonKey in interface IndexedCopyright © 2013-2015 MarkLogic Corporation.