public static interface SqlType.Struct extends SqlType<Struct>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SqlType.Struct.Field
Represents a field in a struct
|
SqlType.Array<Elem>, SqlType.Code, SqlType.Enum<T extends com.google.protobuf.ProtocolMessageEnum>, SqlType.Map<K,V>, SqlType.Proto<T extends com.google.protobuf.AbstractMessage>, SqlType.Struct| Modifier and Type | Method and Description |
|---|---|
int |
getColumnIndex(String fieldName) |
List<? extends SqlType.Struct.Field> |
getFields() |
SqlType<?> |
getType(int fieldIndex) |
SqlType<?> |
getType(String fieldName) |
List<? extends SqlType.Struct.Field> getFields()
SqlType.Struct.Fields for the structSqlType<?> getType(int fieldIndex)
fieldIndex - index of the fieldSqlType of the field at the given indexSqlType<?> getType(String fieldName)
fieldName - name of the fieldSqlType of the field with the given nameIllegalArgumentException - if there is no field with the name *or* if there are
multiple columns with the given nameint getColumnIndex(String fieldName)
fieldName - name of the fieldIllegalArgumentException - if there is no field with the name *or* if there are
multiple columns with the given nameCopyright © 2026 Google LLC. All rights reserved.