public class ConnectedSortScoreContext extends ConnectedSortAdditionalSortFieldContext implements SortScoreContext
queryContext, states
Constructor and Description |
---|
ConnectedSortScoreContext(QueryBuildingContext queryContext,
SortFieldStates states) |
Modifier and Type | Method and Description |
---|---|
SortScoreContext |
asc()
Sort in ascending order.
|
Sort |
createSort()
Return the Lucene
Sort corresponding to the requested sort. |
SortScoreContext |
desc()
Sort in descending order.
|
andByDistance, andByField, andByField, andByIndexOrder, andByNative, andByNative, andByScore
getQueryContext, getStates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andByDistance, andByField, andByField, andByIndexOrder, andByNative, andByNative, andByScore
public ConnectedSortScoreContext(QueryBuildingContext queryContext, SortFieldStates states)
public SortScoreContext asc()
SortOrder
asc
in interface SortOrder<SortScoreContext>
public SortScoreContext desc()
SortOrder
desc
in interface SortOrder<SortScoreContext>
public Sort createSort()
SortTermination
Sort
corresponding to the requested sort.createSort
in interface SortTermination
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved