Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
Struct.Builder |
Struct.Builder.add(String fieldName,
Iterable<Type.StructField> fieldTypes,
Iterable<Struct> elements)
Adds a new field of type
ARRAY<STRUCT<fieldTypes>> named fieldName with the
given element values. |
Struct.Builder |
Struct.Builder.add(String fieldName,
Value value)
Adds a new field named
fieldName with the given value. |
static Struct.Builder |
Struct.newBuilder()
Returns a builder for creating a
Struct instance. |
Modifier and Type | Method and Description |
---|---|
ValueBinder<Struct.Builder> |
Struct.Builder.set(String fieldName)
Returns a binder to set the value of a new field in the struct named
fieldName . |
Copyright © 2018 Google LLC. All rights reserved.