Interface QueryExecutor<INPUT,OUTPUT> (2.19.0)

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

NameDescription
INPUT
OUTPUT

Methods

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

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

A Query to execute.

explainOptionsExplainOptions

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

readOptionsReadOption[]

Optional ReadOptions to be used when executing Query.

Returns
TypeDescription
OUTPUT