| Package | Description |
|---|---|
| com.google.cloud.bigtable.common | |
| com.google.cloud.bigtable.data.v2 |
A client for the Cloud Bigtable data API.
|
| com.google.cloud.bigtable.data.v2.models.sql |
| Modifier and Type | Class and Description |
|---|---|
static class |
Type.Array<Elem> |
static class |
Type.Bool |
static class |
Type.Bytes |
static class |
Type.Date |
static class |
Type.Enum<T extends com.google.protobuf.ProtocolMessageEnum> |
static class |
Type.Float32 |
static class |
Type.Float64 |
static class |
Type.Int64 |
static class |
Type.Map<K,V> |
static class |
Type.Proto<T extends com.google.protobuf.AbstractMessage> |
static class |
Type.SchemalessEnum
This is a special version of enum that is intended to only be used internally, to facilitate
enum schema parsing, which does not have the full information required to parse the protobuf
enum messages.
|
static class |
Type.SchemalessProto
This is a special version of proto that is intended to only be used internally, to facilitate
proto schema parsing, which does not have the full information required to parse the protobuf
messages.
|
static class |
Type.SchemalessStruct
This is a special version of struct that is intended to only be used in the
StructReader getters that require types. |
static class |
Type.String |
static class |
Type.StructWithSchema
Struct implementation that contains a schema that users can access.
|
static class |
Type.Timestamp |
| Modifier and Type | Method and Description |
|---|---|
protected abstract SqlType<Elem> |
Type.Array.elementType() |
SqlType<Elem> |
Type.Array.getElementType() |
SqlType<K> |
Type.Map.getKeyType() |
SqlType<?> |
Type.SchemalessStruct.getType(int fieldIndex) |
SqlType<?> |
Type.StructWithSchema.getType(int fieldIndex) |
SqlType<?> |
Type.SchemalessStruct.getType(String fieldName) |
SqlType<?> |
Type.StructWithSchema.getType(String fieldName) |
SqlType<V> |
Type.Map.getValueType() |
protected abstract SqlType<K> |
Type.Map.keyType() |
abstract SqlType<?> |
Type.StructWithSchema.Field.type() |
protected abstract SqlType<V> |
Type.Map.valueType() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Type.Map<K,V> |
Type.Map.create(SqlType<K> keyType,
SqlType<V> valueType) |
static <K,V> Type.Map<K,V> |
Type.Map.create(SqlType<K> keyType,
SqlType<V> valueType) |
static <T> Type.Array<T> |
Type.Array.create(SqlType<T> elemType) |
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
BigtableDataClient.prepareStatement(String query,
Map<String,SqlType<?>> paramTypes)
Prepares a query for execution.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SqlType.Array<Elem>
Represents an array type in SQL.
|
static interface |
SqlType.Enum<T extends com.google.protobuf.ProtocolMessageEnum>
Represents a protobuf enum type in SQL.
|
static interface |
SqlType.Map<K,V>
Represents a map type in SQL.
|
static interface |
SqlType.Proto<T extends com.google.protobuf.AbstractMessage>
Represents a protobuf message type in SQL.
|
static interface |
SqlType.Struct
Represents a struct type in SQL.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlType<Boolean> |
SqlType.bool()
returns a
SqlType for the BOOL type. |
static SqlType<com.google.protobuf.ByteString> |
SqlType.bytes()
returns a
SqlType for the BYTES type. |
static SqlType<com.google.cloud.Date> |
SqlType.date()
returns a
SqlType for the DATE type. |
static SqlType<Float> |
SqlType.float32()
returns a
SqlType for the FLOAT32 type. |
static SqlType<Double> |
SqlType.float64()
returns a
SqlType for the FLOAT64 type. |
static SqlType<?> |
SqlType.fromProto(Type proto)
Creates a
SqlType from the protobuf representation of Types. |
SqlType<?> |
ResultSetMetadata.getColumnType(int columnIndex) |
SqlType<?> |
ResultSetMetadata.getColumnType(String columnName) |
SqlType<Elem> |
SqlType.Array.getElementType() |
SqlType<K> |
SqlType.Map.getKeyType() |
SqlType<?> |
SqlType.Struct.getType(int fieldIndex) |
SqlType<?> |
SqlType.Struct.getType(String fieldName) |
SqlType<V> |
SqlType.Map.getValueType() |
static SqlType<Long> |
SqlType.int64()
returns a
SqlType for the INT64 type. |
static SqlType<String> |
SqlType.string()
returns a
SqlType for the STRING type. |
static SqlType<Instant> |
SqlType.timestamp()
returns a
SqlType for the TIMESTAMP type. |
SqlType<?> |
SqlType.Struct.Field.type() |
SqlType<?> |
ColumnMetadata.type()
The
SqlType of the column |
| Modifier and Type | Method and Description |
|---|---|
static <Elem> SqlType.Array<Elem> |
SqlType.arrayOf(SqlType<Elem> elemType)
|
static <K,V> SqlType.Map<K,V> |
SqlType.mapOf(SqlType<K> keyType,
SqlType<V> valType)
|
static <K,V> SqlType.Map<K,V> |
SqlType.mapOf(SqlType<K> keyType,
SqlType<V> valType)
|
static boolean |
SqlType.typesMatch(SqlType<?> left,
SqlType<?> right)
This can be used to check whether
StructReader get calls are being called for the
correct type when compared to the schema. |
static boolean |
SqlType.typesMatch(SqlType<?> left,
SqlType<?> right)
This can be used to check whether
StructReader get calls are being called for the
correct type when compared to the schema. |
| Constructor and Description |
|---|
Builder(com.google.cloud.bigtable.data.v2.internal.PreparedStatementImpl preparedStatement,
Map<String,SqlType<?>> paramTypes)
Creates a builder from a
PreparedStatement
This is considered an internal implementation detail and should not be used by
applications. |
Copyright © 2026 Google LLC. All rights reserved.