All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.topicus.jdbc.shaded.com.google.spanner.v1.ExecuteSqlRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.1.6
Show newest version
// Generated by the protocol buffer nl.topicus.jdbc.shaded.com.iler.  DO NOT EDIT!
// source: google/spanner/v1/spanner.proto

package nl.topicus.jdbc.shaded.com.google.spanner.v1;

public interface ExecuteSqlRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteSqlRequest)
    nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Required. The session in which the SQL query should be performed.
   * 
* * string session = 1; */ java.lang.String getSession(); /** *
   * Required. The session in which the SQL query should be performed.
   * 
* * string session = 1; */ nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getSessionBytes(); /** *
   * The transaction to use. If none is provided, the default is a
   * temporary read-only transaction with strong concurrency.
   * 
* * .google.spanner.v1.TransactionSelector transaction = 2; */ boolean hasTransaction(); /** *
   * The transaction to use. If none is provided, the default is a
   * temporary read-only transaction with strong concurrency.
   * 
* * .google.spanner.v1.TransactionSelector transaction = 2; */ nl.topicus.jdbc.shaded.com.google.spanner.v1.TransactionSelector getTransaction(); /** *
   * The transaction to use. If none is provided, the default is a
   * temporary read-only transaction with strong concurrency.
   * 
* * .google.spanner.v1.TransactionSelector transaction = 2; */ nl.topicus.jdbc.shaded.com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder(); /** *
   * Required. The SQL query string.
   * 
* * string sql = 3; */ java.lang.String getSql(); /** *
   * Required. The SQL query string.
   * 
* * string sql = 3; */ nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getSqlBytes(); /** *
   * The SQL query string can contain parameter placeholders. A parameter
   * placeholder consists of `'@'` followed by the parameter
   * name. Parameter names consist of any nl.topicus.jdbc.shaded.com.ination of letters,
   * numbers, and underscores.
   * Parameters can appear anywhere that a literal value is expected.  The same
   * parameter name can be used more than once, for example:
   *   `"WHERE id > @msg_id AND id < @msg_id + 100"`
   * It is an error to execute an SQL query with unbound parameters.
   * Parameter values are specified using `params`, which is a JSON
   * object whose keys are parameter names, and whose values are the
   * corresponding parameter values.
   * 
* * .google.protobuf.Struct params = 4; */ boolean hasParams(); /** *
   * The SQL query string can contain parameter placeholders. A parameter
   * placeholder consists of `'@'` followed by the parameter
   * name. Parameter names consist of any nl.topicus.jdbc.shaded.com.ination of letters,
   * numbers, and underscores.
   * Parameters can appear anywhere that a literal value is expected.  The same
   * parameter name can be used more than once, for example:
   *   `"WHERE id > @msg_id AND id < @msg_id + 100"`
   * It is an error to execute an SQL query with unbound parameters.
   * Parameter values are specified using `params`, which is a JSON
   * object whose keys are parameter names, and whose values are the
   * corresponding parameter values.
   * 
* * .google.protobuf.Struct params = 4; */ nl.topicus.jdbc.shaded.com.google.protobuf.Struct getParams(); /** *
   * The SQL query string can contain parameter placeholders. A parameter
   * placeholder consists of `'@'` followed by the parameter
   * name. Parameter names consist of any nl.topicus.jdbc.shaded.com.ination of letters,
   * numbers, and underscores.
   * Parameters can appear anywhere that a literal value is expected.  The same
   * parameter name can be used more than once, for example:
   *   `"WHERE id > @msg_id AND id < @msg_id + 100"`
   * It is an error to execute an SQL query with unbound parameters.
   * Parameter values are specified using `params`, which is a JSON
   * object whose keys are parameter names, and whose values are the
   * corresponding parameter values.
   * 
* * .google.protobuf.Struct params = 4; */ nl.topicus.jdbc.shaded.com.google.protobuf.StructOrBuilder getParamsOrBuilder(); /** *
   * It is not always possible for Cloud Spanner to infer the right SQL type
   * from a JSON value.  For example, values of type `BYTES` and values
   * of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings.
   * In these cases, `param_types` can be used to specify the exact
   * SQL type for some or all of the SQL query parameters. See the
   * definition of [Type][google.spanner.v1.Type] for more information
   * about SQL types.
   * 
* * map<string, .google.spanner.v1.Type> param_types = 5; */ int getParamTypesCount(); /** *
   * It is not always possible for Cloud Spanner to infer the right SQL type
   * from a JSON value.  For example, values of type `BYTES` and values
   * of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings.
   * In these cases, `param_types` can be used to specify the exact
   * SQL type for some or all of the SQL query parameters. See the
   * definition of [Type][google.spanner.v1.Type] for more information
   * about SQL types.
   * 
* * map<string, .google.spanner.v1.Type> param_types = 5; */ boolean containsParamTypes( java.lang.String key); /** * Use {@link #getParamTypesMap()} instead. */ @java.lang.Deprecated java.util.Map getParamTypes(); /** *
   * It is not always possible for Cloud Spanner to infer the right SQL type
   * from a JSON value.  For example, values of type `BYTES` and values
   * of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings.
   * In these cases, `param_types` can be used to specify the exact
   * SQL type for some or all of the SQL query parameters. See the
   * definition of [Type][google.spanner.v1.Type] for more information
   * about SQL types.
   * 
* * map<string, .google.spanner.v1.Type> param_types = 5; */ java.util.Map getParamTypesMap(); /** *
   * It is not always possible for Cloud Spanner to infer the right SQL type
   * from a JSON value.  For example, values of type `BYTES` and values
   * of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings.
   * In these cases, `param_types` can be used to specify the exact
   * SQL type for some or all of the SQL query parameters. See the
   * definition of [Type][google.spanner.v1.Type] for more information
   * about SQL types.
   * 
* * map<string, .google.spanner.v1.Type> param_types = 5; */ nl.topicus.jdbc.shaded.com.google.spanner.v1.Type getParamTypesOrDefault( java.lang.String key, nl.topicus.jdbc.shaded.com.google.spanner.v1.Type defaultValue); /** *
   * It is not always possible for Cloud Spanner to infer the right SQL type
   * from a JSON value.  For example, values of type `BYTES` and values
   * of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings.
   * In these cases, `param_types` can be used to specify the exact
   * SQL type for some or all of the SQL query parameters. See the
   * definition of [Type][google.spanner.v1.Type] for more information
   * about SQL types.
   * 
* * map<string, .google.spanner.v1.Type> param_types = 5; */ nl.topicus.jdbc.shaded.com.google.spanner.v1.Type getParamTypesOrThrow( java.lang.String key); /** *
   * If this request is resuming a previously interrupted SQL query
   * execution, `resume_token` should be copied from the last
   * [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this
   * enables the new SQL query execution to resume where the last one left
   * off. The rest of the request parameters must exactly match the
   * request that yielded this token.
   * 
* * bytes resume_token = 6; */ nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getResumeToken(); /** *
   * Used to control the amount of debugging information returned in
   * [ResultSetStats][google.spanner.v1.ResultSetStats].
   * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; */ int getQueryModeValue(); /** *
   * Used to control the amount of debugging information returned in
   * [ResultSetStats][google.spanner.v1.ResultSetStats].
   * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; */ nl.topicus.jdbc.shaded.com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy