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

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.Statement A SQL statement that can be executed by calling com.google.cloud.bigtable.data.v2.BigtableDataClient#executeQuery(Statement).

A statement contains a SQL string and optional parameters. A parameterized query should contain placeholders in the form of @ followed by the parameter name. Parameter names

com.google.cloud.bigtable.data.v2.models.sql.Statement.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.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