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, ReadOption[] readOptions)
public abstract OUTPUT execute(INPUT query, ReadOption[] readOptions)
Parameters | |
---|---|
Name | Description |
query | INPUT A Query to execute. |
readOptions | ReadOption[] Optional ReadOptions to be used when executing Query. |
Returns | |
---|---|
Type | Description |
OUTPUT |