public class TypesExistsRequestBuilder extends MasterNodeReadOperationRequestBuilder<TypesExistsRequest,TypesExistsResponse,TypesExistsRequestBuilder,IndicesAdminClient>
TypesExistsRequest
.client, request
Constructor and Description |
---|
TypesExistsRequestBuilder(IndicesAdminClient indicesClient,
String... indices) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(ActionListener<TypesExistsResponse> listener) |
TypesExistsRequestBuilder |
setIndices(String[] indices) |
TypesExistsRequestBuilder |
setIndicesOptions(IndicesOptions indicesOptions) |
TypesExistsRequestBuilder |
setTypes(String... types) |
setLocal
setMasterNodeTimeout, setMasterNodeTimeout
execute, execute, get, get, get, putHeader, request, setListenerThreaded
public TypesExistsRequestBuilder(IndicesAdminClient indicesClient, String... indices)
indices
- What indices to check for typespublic TypesExistsRequestBuilder setIndices(String[] indices)
indices
- What indices to check for typespublic TypesExistsRequestBuilder setTypes(String... types)
types
- The types to check if they existpublic TypesExistsRequestBuilder setIndicesOptions(IndicesOptions indicesOptions)
indicesOptions
- Specifies how to resolve indices that aren't active / ready and indices wildcard expressionsprotected void doExecute(ActionListener<TypesExistsResponse> listener)
doExecute
in class ActionRequestBuilder<TypesExistsRequest,TypesExistsResponse,TypesExistsRequestBuilder,IndicesAdminClient>
Copyright © 2009–2015. All rights reserved.