public static class Type.StructWithSchema extends com.google.cloud.bigtable.data.v2.internal.ColumnToIndexMapper implements Type, SqlType.Struct
| Modifier and Type | Class and Description |
|---|---|
static class |
Type.StructWithSchema.Field |
Type.Array<Elem>, Type.Bool, Type.Bytes, Type.Date, Type.DefaultInstances, Type.Enum<T extends com.google.protobuf.ProtocolMessageEnum>, Type.Float32, Type.Float64, Type.Int64, Type.Map<K,V>, Type.Proto<T extends com.google.protobuf.AbstractMessage>, Type.SchemalessEnum, Type.SchemalessProto, Type.SchemalessStruct, Type.String, Type.StructWithSchema, Type.TimestampSqlType.Code, SqlType.Struct| Constructor and Description |
|---|
StructWithSchema(List<Type.StructWithSchema.Field> fields) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Type.StructWithSchema |
fromProto(Type.Struct proto) |
SqlType.Code |
getCode() |
List<Type.StructWithSchema.Field> |
getFields() |
SqlType<?> |
getType(int fieldIndex) |
SqlType<?> |
getType(String fieldName) |
int |
hashCode() |
String |
toString() |
getColumnIndexclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetColumnIndex@InternalApi(value="Visible for testing") public StructWithSchema(List<Type.StructWithSchema.Field> fields)
public static Type.StructWithSchema fromProto(Type.Struct proto)
public SqlType.Code getCode()
getCode in interface SqlType<Struct>SqlType.Code enum for this typepublic List<Type.StructWithSchema.Field> getFields()
getFields in interface SqlType.StructSqlType.Struct.Fields for the structpublic SqlType<?> getType(int fieldIndex)
getType in interface SqlType.StructfieldIndex - index of the fieldSqlType of the field at the given indexpublic SqlType<?> getType(String fieldName)
getType in interface SqlType.StructfieldName - name of the fieldSqlType of the field with the given nameCopyright © 2026 Google LLC. All rights reserved.