Interface SqlType.Struct (2.43.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface SqlType.Struct extends SqlType<Struct>
Represents a struct type in SQL. A struct is an ordered collection of named and type fields.
Implements
com.google.cloud.bigtable.data.v2.models.sql.SqlType<com.google.cloud.bigtable.data.v2.models.sql.Struct>
Methods
getColumnIndex(String fieldName)
public abstract int getColumnIndex(String fieldName)
Parameter |
Name |
Description |
fieldName |
String
name of the field
|
Returns |
Type |
Description |
int |
the field index of the field with the given name
|
getFields()
public abstract List<? extends SqlType.Struct.Field> getFields()
Returns |
Type |
Description |
List<? extends com.google.cloud.bigtable.data.v2.models.sql.SqlType.Struct.Field> |
the ordered list of Fields for the struct
|
getType(int fieldIndex)
public abstract SqlType<?> getType(int fieldIndex)
Parameter |
Name |
Description |
fieldIndex |
int
index of the field
|
Returns |
Type |
Description |
SqlType<?> |
the SqlType of the field at the given index
|
getType(String fieldName)
public abstract SqlType<?> getType(String fieldName)
Parameter |
Name |
Description |
fieldName |
String
name of the field
|
Returns |
Type |
Description |
SqlType<?> |
the SqlType of the field with the given name
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]