Class FieldCapsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch._core.FieldCapsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class FieldCapsRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFieldCapsRequest.BuilderBuilder forFieldCapsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FieldCapsRequest>_DESERIALIZERJson deserializer forFieldCapsRequeststatic Endpoint<FieldCapsRequest,FieldCapsResponse,ElasticsearchError>ENDPOINTEndpoint "field_caps". -
Constructor Summary
Constructors Constructor Description FieldCapsRequest(FieldCapsRequest.Builder builder)FieldCapsRequest(java.util.function.Function<FieldCapsRequest.Builder,FieldCapsRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.BooleanallowNoIndices()Whether to ignore if a wildcard indices expression resolves into no concrete indices.java.util.List<ExpandWildcardOptions>expandWildcards()Whether to expand wildcard expression to concrete indices that are open, closed or both.java.util.List<java.lang.String>fields()A comma-separated list of field namesjava.lang.BooleanignoreUnavailable()Whether specified concrete indices should be ignored when unavailable (missing or closed)java.lang.BooleanincludeUnmapped()Indicates whether unmapped fields should be included in the response.java.util.List<java.lang.String>index()A comma-separated list of index names; use_allor empty string to perform the operation on all indicesQueryindexFilter()API name:index_filterjava.util.Map<java.lang.String,RuntimeField>runtimeMappings()API name:runtime_mappingsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFieldCapsRequestDeserializer(DelegatingDeserializer<FieldCapsRequest.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldCapsRequest -
ENDPOINT
Endpoint "field_caps".
-
-
Constructor Details
-
FieldCapsRequest
-
FieldCapsRequest
public FieldCapsRequest(java.util.function.Function<FieldCapsRequest.Builder,FieldCapsRequest.Builder> fn)
-
-
Method Details
-
index
@Nullable public java.util.List<java.lang.String> index()A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
index -
allowNoIndices
@Nullable public java.lang.Boolean allowNoIndices()Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_allstring or when no indices have been specified)API name:
allow_no_indices -
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards -
fields
@Nullable public java.util.List<java.lang.String> fields()A comma-separated list of field namesAPI name:
fields -
includeUnmapped
@Nullable public java.lang.Boolean includeUnmapped()Indicates whether unmapped fields should be included in the response.API name:
include_unmapped -
indexFilter
API name:index_filter -
runtimeMappings
API name:runtime_mappings -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFieldCapsRequestDeserializer
protected static void setupFieldCapsRequestDeserializer(DelegatingDeserializer<FieldCapsRequest.Builder> op)
-