Class Meta
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.search.Meta
-
public class Meta extends Object
Represents metadata from the search response
-
-
Constructor Summary
Constructors Constructor Description Meta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)List<String>getAlerts()Array of alerts for your deployment.EnginegetEngine()The engine associated with this search requestResponsePagegetPage()Object delimiting the pagination meta data.IntegergetPrecision()The precision of the searchStringgetRequestId()String ID representing the request.List<String>getWarnings()Array of warnings for the query.inthashCode()MetasetAlerts(List<String> alerts)Array of alerts for your deployment.MetasetEngine(Engine engine)The engine associated with this search requestMetasetPage(ResponsePage page)Object delimiting the pagination meta data.MetasetPrecision(Integer precision)The precision of the searchMetasetRequestId(String requestId)String ID representing the request.MetasetWarnings(List<String> warnings)Array of warnings for the query.StringtoString()
-
-
-
Method Detail
-
getAlerts
public List<String> getAlerts()
Array of alerts for your deployment. Included with error responses and success responses, so inspect all responses for alerts.- Returns:
- the alerts
-
getWarnings
public List<String> getWarnings()
Array of warnings for the query. Included with error responses and success responses, so inspect all responses for warnings.- Returns:
- the warnings
-
getPrecision
public Integer getPrecision()
The precision of the search- Returns:
- the precision
-
getPage
public ResponsePage getPage()
Object delimiting the pagination meta data.- Returns:
- the page metadata
-
getEngine
public Engine getEngine()
The engine associated with this search request- Returns:
- the engine
-
getRequestId
public String getRequestId()
String ID representing the request. Guaranteed to be unique.- Returns:
- the request id
-
setAlerts
public Meta setAlerts(List<String> alerts)
Array of alerts for your deployment. Included with error responses and success responses, so inspect all responses for alerts.- Parameters:
alerts- the alerts- Returns:
this.
-
setWarnings
public Meta setWarnings(List<String> warnings)
Array of warnings for the query. Included with error responses and success responses, so inspect all responses for warnings.- Parameters:
warnings- the warnings- Returns:
this.
-
setPrecision
public Meta setPrecision(Integer precision)
The precision of the search- Parameters:
precision- The precision- Returns:
this.
-
setPage
public Meta setPage(ResponsePage page)
Object delimiting the pagination meta data.- Parameters:
page- the page metadata- Returns:
this.
-
setEngine
public Meta setEngine(Engine engine)
The engine associated with this search request- Parameters:
engine- the engine- Returns:
this.
-
setRequestId
public Meta setRequestId(String requestId)
String ID representing the request. Guaranteed to be unique.- Parameters:
requestId- The request id- Returns:
this.
-
canEqual
protected boolean canEqual(Object other)
-
-