Package | Description |
---|---|
com.google.cloud |
Core classes for the
google-cloud library. |
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
static ByteArray |
ByteArray.copyFrom(byte[] bytes)
Creates a
ByteArray object given an array of bytes. |
static ByteArray |
ByteArray.copyFrom(ByteBuffer bytes)
Creates a
ByteArray object given a ByteBuffer . |
static ByteArray |
ByteArray.copyFrom(InputStream input)
Creates a
ByteArray object given an InputStream . |
static ByteArray |
ByteArray.copyFrom(String string)
Creates a
ByteArray object given a string. |
static ByteArray |
ByteArray.fromBase64(String data)
Creates a
ByteArray from a base64 representation. |
Modifier and Type | Method and Description |
---|---|
abstract ByteArray |
Value.getBytes()
Returns the value of a
BYTES -typed instance. |
ByteArray |
StructReader.getBytes(int columnIndex)
Returns the value of a non-
NULL column with type Type.bytes() . |
ByteArray |
ForwardingStructReader.getBytes(int columnIndex) |
ByteArray |
AbstractStructReader.getBytes(int columnIndex) |
ByteArray |
StructReader.getBytes(String columnName)
Returns the value of a non-
NULL column with type Type.bytes() . |
ByteArray |
ForwardingStructReader.getBytes(String columnName) |
ByteArray |
AbstractStructReader.getBytes(String columnName) |
protected abstract ByteArray |
AbstractStructReader.getBytesInternal(int columnIndex) |
Modifier and Type | Method and Description |
---|---|
abstract List<ByteArray> |
Value.getBytesArray()
Returns the value of an
ARRAY<BYTES> -typed instance. |
List<ByteArray> |
StructReader.getBytesList(int columnIndex)
Returns the value of a non-
NULL column with type Type.array(Type.bytes()) . |
List<ByteArray> |
ForwardingStructReader.getBytesList(int columnIndex) |
List<ByteArray> |
AbstractStructReader.getBytesList(int columnIndex) |
List<ByteArray> |
StructReader.getBytesList(String columnName)
Returns the value of a non-
NULL column with type Type.array(Type.bytes()) . |
List<ByteArray> |
ForwardingStructReader.getBytesList(String columnName) |
List<ByteArray> |
AbstractStructReader.getBytesList(String columnName) |
protected abstract List<ByteArray> |
AbstractStructReader.getBytesListInternal(int columnIndex) |
Modifier and Type | Method and Description |
---|---|
Key.Builder |
Key.Builder.append(ByteArray value)
Appends a
BYTES value to the key. |
static Value |
Value.bytes(ByteArray v)
Returns a
BYTES value. |
R |
ValueBinder.to(ByteArray value)
Binds to
Value.bytes(value) |
Modifier and Type | Method and Description |
---|---|
static Value |
Value.bytesArray(Iterable<ByteArray> v)
Returns an
ARRAY<BYTES> value. |
R |
ValueBinder.toBytesArray(Iterable<ByteArray> values)
Binds to
Value.bytesArray(values) |
Copyright © 2019 Google LLC. All rights reserved.