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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()org.elasticsearch.core.TimeValueorg.elasticsearch.core.TimeValueinthashCode()voidsetKeepAlive(org.elasticsearch.core.TimeValue keepAlive) voidsetWaitForCompletion(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:ValidatablePerform 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. AValidationExceptionthat is not null is assumed to contain validation errors and will be thrown.- Specified by:
validatein interfaceValidatable- Returns:
- An
OptionalValidationExceptionthat contains a list of validation errors.
-
equals
-
hashCode
public int hashCode()
-