Uses of Class
org.elasticsearch.action.get.GetRequest
-
Packages that use GetRequest Package Description org.elasticsearch.action.get org.elasticsearch.client org.elasticsearch.client.support -
-
Uses of GetRequest in org.elasticsearch.action.get
Methods in org.elasticsearch.action.get that return GetRequest Modifier and Type Method Description GetRequestGetRequest. fetchSourceContext(FetchSourceContext context)Allows setting theFetchSourceContextfor this request, controlling if and how _source should be returned.GetRequestGetRequest. id(String id)Sets the id of the document to fetch.GetRequestGetRequest. preference(String preference)Sets the preference to execute the search.GetRequestGetRequest. realtime(boolean realtime)GetRequestGetRequest. refresh(boolean refresh)Should a refresh be executed before this get operation causing the operation to return the latest value.GetRequestGetRequest. routing(String routing)Controls the shard routing of the request.GetRequestGetRequest. storedFields(String... fields)Explicitly specify the stored fields that will be returned.GetRequestGetRequest. type(String type)Deprecated.Types are in the process of being removed.GetRequestGetRequest. version(long version)GetRequestGetRequest. versionType(VersionType versionType)Sets the versioning type.Methods in org.elasticsearch.action.get with parameters of type GetRequest Modifier and Type Method Description protected voidTransportGetAction. asyncShardOperation(GetRequest request, ShardId shardId, ActionListener<GetResponse> listener)protected StringTransportGetAction. getExecutor(GetRequest request, ShardId shardId)protected booleanTransportGetAction. resolveIndex(GetRequest request)protected GetResponseTransportGetAction. shardOperation(GetRequest request, ShardId shardId) -
Uses of GetRequest in org.elasticsearch.client
Methods in org.elasticsearch.client that return GetRequest Modifier and Type Method Description static GetRequestRequests. getRequest(String index)Creates a get request to get the JSON source from an index based on a type and id.Methods in org.elasticsearch.client with parameters of type GetRequest Modifier and Type Method Description booleanRestHighLevelClient. exists(GetRequest getRequest, RequestOptions options)Checks for the existence of a document.CancellableRestHighLevelClient. existsAsync(GetRequest getRequest, RequestOptions options, ActionListener<Boolean> listener)Asynchronously checks for the existence of a document.booleanRestHighLevelClient. existsSource(GetRequest getRequest, RequestOptions options)Checks for the existence of a document with a "_source" field.CancellableRestHighLevelClient. existsSourceAsync(GetRequest getRequest, RequestOptions options, ActionListener<Boolean> listener)Asynchronously checks for the existence of a document with a "_source" field.ActionFuture<GetResponse>Client. get(GetRequest request)Gets the document that was indexed from an index with a type and id.voidClient. get(GetRequest request, ActionListener<GetResponse> listener)Gets the document that was indexed from an index with a type and id.GetResponseRestHighLevelClient. get(GetRequest getRequest, RequestOptions options)Retrieves a document by id using the Get API.CancellableRestHighLevelClient. getAsync(GetRequest getRequest, RequestOptions options, ActionListener<GetResponse> listener)Asynchronously retrieves a document by id using the Get API. -
Uses of GetRequest in org.elasticsearch.client.support
Methods in org.elasticsearch.client.support with parameters of type GetRequest Modifier and Type Method Description ActionFuture<GetResponse>AbstractClient. get(GetRequest request)voidAbstractClient. get(GetRequest request, ActionListener<GetResponse> listener)
-