Package com.google.cloud.bigtable.data.v2.models.sql (2.58.2)

GitHub Repository

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.bigtable for new applications.

Classes

Class Description
com.google.cloud.bigtable.data.v2.models.sql.BoundStatement A bound SQL statement that can be executed by calling com.google.cloud.bigtable.data.v2.BigtableDataClient#executeQuery(BoundStatement).

It is an error to bind a statement with unset parameters.

com.google.cloud.bigtable.data.v2.models.sql.BoundStatement.Builder

Interfaces

Interface Description
com.google.cloud.bigtable.data.v2.models.sql.ColumnMetadata Represents the metadata for a column in a ResultSet
com.google.cloud.bigtable.data.v2.models.sql.PreparedStatement The results of query preparation that can be used to create BoundStatements to execute queries.

Whenever possible this should be shared across different instances of the same query, in order

com.google.cloud.bigtable.data.v2.models.sql.ResultSet A set of SQL data, generated as the result of an ExecuteQuery request.

This allows access to the data of one row at a time using the methods from the StructReader interface. The rows are read in the order of the query results. To advance to the

com.google.cloud.bigtable.data.v2.models.sql.ResultSetMetadata Provides information about the schema of a ResultSet.
com.google.cloud.bigtable.data.v2.models.sql.SqlType Represents a data type in a SQL query.

Complex types (SqlType.Map, SqlType.Array, & SqlType.Struct provide additional information about the schema of the type.

com.google.cloud.bigtable.data.v2.models.sql.SqlType.Array Represents an array type in SQL. Provides access to the element type of the array.
com.google.cloud.bigtable.data.v2.models.sql.SqlType.Map Represents a map type in SQL. Provides access to the key and value types for the map.
com.google.cloud.bigtable.data.v2.models.sql.SqlType.Struct Represents a struct type in SQL. A struct is an ordered collection of named and type fields.
com.google.cloud.bigtable.data.v2.models.sql.SqlType.Struct.Field Represents a field in a struct
com.google.cloud.bigtable.data.v2.models.sql.Struct The representation of a SQL Struct type. Data can be accessed using the methods from the StructReader interface.
com.google.cloud.bigtable.data.v2.models.sql.StructReader An interface for reading the columns of a Struct or com.google.cloud.bigtable.data.v2.models.sql.ResultSet.

This provides accessors for each valid type in the form of getTypeName(). Attempting

Enums

Enum Description
com.google.cloud.bigtable.data.v2.models.sql.SqlType.Code

Exceptions

Exception Description
com.google.cloud.bigtable.data.v2.models.sql.PreparedStatementRefreshTimeoutException Error thrown when an executeQuery attempt hits the attempt deadline waiting for PreparedStatement to refresh it's underlying plan.