Interface QueryExecutor<INPUT,OUTPUT> (2.30.0)

publicinterface 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)

publicabstractOUTPUTexecute(INPUTquery,ExplainOptionsexplainOptions,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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.