public class Results extends DslCloneable
getCursor()
and getStart()
are mutually exclusive
Constructor and Description |
---|
Results(String cursor,
Long start,
Long size,
List<SortElement> sort,
Collection<String> fields,
Highlight highlight,
Boolean returnScore,
Boolean includeRawResponse,
Group group) |
Modifier and Type | Method and Description |
---|---|
Results |
clone() |
String |
getCursor() |
Collection<String> |
getFields() |
Group |
getGroup() |
Highlight |
getHighlight() |
Boolean |
getIncludeRawResponse() |
Long |
getSize() |
List<SortElement> |
getSort() |
Long |
getStart() |
Boolean |
isReturnScore() |
void |
setCursor(String cursor) |
void |
setFields(Collection<String> fields) |
void |
setGroup(Group group) |
void |
setHighlight(Highlight highlight) |
void |
setReturnScore(boolean returnScore) |
void |
setSize(long size) |
void |
setSort(List<? extends SortElement> sort) |
void |
setStart(Long start) |
clone, deepClone
public String getCursor()
Pagination.getCursor()
from previous response to continuepublic Long getSize()
public List<SortElement> getSort()
public void setCursor(String cursor)
public void setSize(long size)
public Collection<String> getFields()
public void setFields(Collection<String> fields)
public Highlight getHighlight()
public void setHighlight(Highlight highlight)
public Boolean isReturnScore()
public void setReturnScore(boolean returnScore)
public void setSort(List<? extends SortElement> sort)
public Long getStart()
public void setStart(Long start)
public Boolean getIncludeRawResponse()
public Group getGroup()
public void setGroup(Group group)
public Results clone()
clone
in class DslCloneable