Class GetAsyncSearchRequest
java.lang.Object
org.elasticsearch.client.asyncsearch.GetAsyncSearchRequest
- All Implemented Interfaces:
Validatable
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
org.elasticsearch.core.TimeValue
org.elasticsearch.core.TimeValue
int
hashCode()
void
setKeepAlive
(org.elasticsearch.core.TimeValue keepAlive) void
setWaitForCompletion
(org.elasticsearch.core.TimeValue waitForCompletion) validate()
Perform validation.
-
Constructor Details
-
GetAsyncSearchRequest
-
-
Method Details
-
getId
-
getWaitForCompletion
public org.elasticsearch.core.TimeValue getWaitForCompletion() -
setWaitForCompletion
public void setWaitForCompletion(org.elasticsearch.core.TimeValue waitForCompletion) -
getKeepAlive
public org.elasticsearch.core.TimeValue getKeepAlive() -
setKeepAlive
public void setKeepAlive(org.elasticsearch.core.TimeValue keepAlive) -
validate
Description copied from interface:Validatable
Perform validation. This method does not have to be overridden in the event that no validation needs to be done, or the validation was done during object construction time. AValidationException
that is not null is assumed to contain validation errors and will be thrown.- Specified by:
validate
in interfaceValidatable
- Returns:
- An
Optional
ValidationException
that contains a list of validation errors.
-
equals
-
hashCode
public int hashCode()
-