public static interface StructType.FieldOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the field.
|
ByteString |
getNameBytes()
The name of the field.
|
Type |
getType()
The type of the field.
|
TypeOrBuilder |
getTypeOrBuilder()
The type of the field.
|
boolean |
hasType()
The type of the field.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., `"Word"` in the query `"SELECT 'hello' AS Word"`), or the column name (e.g., `"ColName"` in the query `"SELECT ColName FROM Table"`). Some columns might have an empty name (e.g., `"SELECT UPPER(ColName)"`). Note that a query result can contain multiple fields with the same name.
string name = 1;
ByteString getNameBytes()
The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., `"Word"` in the query `"SELECT 'hello' AS Word"`), or the column name (e.g., `"ColName"` in the query `"SELECT ColName FROM Table"`). Some columns might have an empty name (e.g., `"SELECT UPPER(ColName)"`). Note that a query result can contain multiple fields with the same name.
string name = 1;
boolean hasType()
The type of the field.
.google.spanner.v1.Type type = 2;
Type getType()
The type of the field.
.google.spanner.v1.Type type = 2;
TypeOrBuilder getTypeOrBuilder()
The type of the field.
.google.spanner.v1.Type type = 2;
Copyright © 2022 Google LLC. All rights reserved.