@Immutable public abstract class Struct extends AbstractStructReader implements Serializable
Type.Code.STRUCT. Such values are a tuple of named and typed
columns, where individual columns may be null. Individual rows from a read or query operation can
be considered as structs; ResultSet.getCurrentRowAsStruct() allows an immutable struct to
be created from the row that the result set is currently positioned over.
Struct instances are immutable.
| Modifier and Type | Class and Description |
|---|---|
static class |
Struct.Builder
Builder for
Struct instances. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static Struct.Builder |
newBuilder()
Returns a builder for creating a
Struct instance. |
getBoolean, getBoolean, getBooleanArray, getBooleanArray, getBooleanArrayInternal, getBooleanInternal, getBooleanList, getBooleanList, getBooleanListInternal, getBytes, getBytes, getBytesInternal, getBytesList, getBytesList, getBytesListInternal, getColumnCount, getColumnIndex, getColumnType, getColumnType, getDate, getDate, getDateInternal, getDateList, getDateList, getDateListInternal, getDouble, getDouble, getDoubleArray, getDoubleArray, getDoubleArrayInternal, getDoubleInternal, getDoubleList, getDoubleList, getDoubleListInternal, getLong, getLong, getLongArray, getLongArray, getLongArrayInternal, getLongInternal, getLongList, getLongList, getLongListInternal, getString, getString, getStringInternal, getStringList, getStringList, getStringListInternal, getStructList, getStructList, getStructListInternal, getTimestamp, getTimestamp, getTimestampInternal, getTimestampList, getTimestampList, getTimestampListInternal, isNullclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetType, isNullpublic static Struct.Builder newBuilder()
Struct instance. This is intended mainly for test
purposes: the library implementation is typically responsible for creating Struct
instances.Copyright © 2017 Google. All rights reserved.