Interface QueryExecutor<INPUT,OUTPUT> (2.19.1)

public interface QueryExecutor<INPUT,OUTPUT>

An internal functional interface whose implementation has the responsibility to execute a Query and returns the result. This class will have the responsibility to orchestrate between com.google.cloud.datastore.execution.request.ProtoPreparer, com.google.cloud.datastore.spi.v1.DatastoreRpc and com.google.cloud.datastore.execution.response.ResponseTransformer layers.

Type Parameters

Name Description
INPUT
OUTPUT

Methods

execute(INPUT query, ExplainOptions explainOptions, ReadOption[] readOptions)

public abstract OUTPUT execute(INPUT query, ExplainOptions explainOptions, ReadOption[] readOptions)
Parameters
Name Description
query INPUT

A Query to execute.

explainOptions ExplainOptions

com.google.cloud.datastore.models.ExplainOptionss to be used when executing Query.

readOptions ReadOption[]

Optional ReadOptions to be used when executing Query.

Returns
Type Description
OUTPUT