public abstract class QueryMaker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.elasticsearch.common.unit.TimeValue |
DEFAULT_KEEP_ALIVE |
static int |
DEFAULT_MAXIMUM |
| Constructor and Description |
|---|
QueryMaker() |
| Modifier and Type | Method and Description |
|---|---|
static org.elasticsearch.action.search.SearchRequest |
copyFrom(java.lang.String index,
byte[] bytes,
java.lang.Long scroll,
Verbose verbose) |
static org.elasticsearch.action.search.SearchRequest |
copyFrom(java.lang.String index,
byte[] bytes,
Verbose verbose) |
static org.elasticsearch.action.search.SearchRequest |
filterToRequest(java.lang.String repo,
Expression filter,
java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts,
int size) |
static org.elasticsearch.action.search.SearchRequest |
filterToScroller(java.lang.String repo,
Expression filter,
int size) |
static org.elasticsearch.action.search.SearchScrollRequest |
scrollRequest(java.lang.String scrollId,
org.elasticsearch.common.unit.TimeValue scrollTime) |
public static final int DEFAULT_MAXIMUM
public static final org.elasticsearch.common.unit.TimeValue DEFAULT_KEEP_ALIVE
public static org.elasticsearch.action.search.SearchRequest copyFrom(java.lang.String index,
byte[] bytes,
Verbose verbose)
public static org.elasticsearch.action.search.SearchRequest copyFrom(java.lang.String index,
byte[] bytes,
java.lang.Long scroll,
Verbose verbose)
public static org.elasticsearch.action.search.SearchRequest filterToScroller(java.lang.String repo,
Expression filter,
int size)
public static org.elasticsearch.action.search.SearchRequest filterToRequest(java.lang.String repo,
Expression filter,
java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts,
int size)
public static org.elasticsearch.action.search.SearchScrollRequest scrollRequest(java.lang.String scrollId,
org.elasticsearch.common.unit.TimeValue scrollTime)