Class GetTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.GetTemplateRequest
Deprecated.
7.8.0
Get legacy index templates. Get information about one or more index
templates.
IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetTemplateRequest,GetTemplateResponse, ErrorResponse> Deprecated.Endpoint "indices.get_template". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanDeprecated.Iftrue, returns settings in flat format.final Booleanlocal()Deprecated.Iftrue, the request retrieves information from the local node only.final TimeDeprecated.Period to wait for a connection to the master node.name()Deprecated.Comma-separated list of index template names used to limit the request.static GetTemplateRequestDeprecated.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Deprecated.Endpoint "indices.get_template".
-
-
Method Details
-
of
public static GetTemplateRequest of(Function<GetTemplateRequest.Builder, ObjectBuilder<GetTemplateRequest>> fn) Deprecated. -
flatSettings
Deprecated.Iftrue, returns settings in flat format.API name:
flat_settings -
local
Deprecated.Iftrue, the request retrieves information from the local node only.API name:
local -
masterTimeout
Deprecated.Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
name
Deprecated.Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. To return all index templates, omit this parameter or use a value of_allor*.API name:
name
-