Class QueryApiKeyRequest
java.lang.Object
org.elasticsearch.client.security.QueryApiKeyRequest
- All Implemented Interfaces:
Validatable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public final class QueryApiKeyRequest
extends Object
implements Validatable, org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMSFields inherited from interface org.elasticsearch.client.Validatable
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionQueryApiKeyRequest(QueryBuilder queryBuilder, Integer from, Integer size, List<FieldSortBuilder> fieldSortBuilders, SearchAfterBuilder searchAfterBuilder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfieldSortBuilders(List<FieldSortBuilder> fieldSortBuilders) from(int from) intgetFrom()intgetSize()inthashCode()queryBuilder(QueryBuilder queryBuilder) searchAfterBuilder(SearchAfterBuilder searchAfterBuilder) size(int size) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) validate()Perform validation.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
QueryApiKeyRequest
public QueryApiKeyRequest() -
QueryApiKeyRequest
public QueryApiKeyRequest(@Nullable QueryBuilder queryBuilder, @Nullable Integer from, @Nullable Integer size, @Nullable List<FieldSortBuilder> fieldSortBuilders, @Nullable SearchAfterBuilder searchAfterBuilder)
-
-
Method Details
-
getQueryBuilder
-
getFrom
public int getFrom() -
getSize
public int getSize() -
getFieldSortBuilders
-
getSearchAfterBuilder
-
queryBuilder
-
from
-
size
-
fieldSortBuilders
-
searchAfterBuilder
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
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()
-