Interface QueryExecutor<INPUT,OUTPUT> (2.17.6)

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, ReadOption[] readOptions)

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

A Query to execute.

readOptionsReadOption[]

Optional ReadOptions to be used when executing Query.

Returns
TypeDescription
OUTPUT