Uses of Class
com.google.cloud.spanner.Value
Packages that use Value
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of Value in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return ValueModifier and TypeMethodDescriptionstatic Value
Value.bool
(boolean v) Returns aBOOL
value.static Value
Returns aBOOL
value.static Value
Value.boolArray
(boolean[] v) Returns anARRAY<BOOL>
value.static Value
Value.boolArray
(boolean[] v, int pos, int length) Returns anARRAY<BOOL>
value that takes its elements from a region of an array.static Value
Returns anARRAY<BOOL>
value.static Value
Value.bytes
(com.google.cloud.ByteArray v) Returns aBYTES
value.static Value
Value.bytesArray
(Iterable<com.google.cloud.ByteArray> v) Returns anARRAY<BYTES>
value.static Value
Value.bytesArrayFromBase64
(Iterable<String> base64Strings) Returns anARRAY<BYTES>
value.static Value
Value.bytesFromBase64
(String base64String) Returns aBYTES
value.static Value
Value.date
(com.google.cloud.Date v) Returns aDATE
value.static Value
Returns anARRAY<DATE>
value.static Value
Value.float64
(double v) Returns aFLOAT64
value.static Value
Returns aFLOAT64
value.static Value
Value.float64Array
(double[] v) Returns anARRAY<FLOAT64>
value.static Value
Value.float64Array
(double[] v, int pos, int length) Returns anARRAY<FLOAT64>
value that takes its elements from a region of an array.static Value
Value.float64Array
(Iterable<Double> v) Returns anARRAY<FLOAT64>
value.AbstractStructReader.getValue
(int columnIndex) ForwardingStructReader.getValue
(int columnIndex) default Value
StructReader.getValue
(int columnIndex) default Value
protected Value
AbstractStructReader.getValueInternal
(int columnIndex) static Value
Value.int64
(long v) Returns anINT64
value.static Value
Returns anINT64
value.static Value
Value.int64Array
(long[] v) Returns anARRAY<INT64>
value.static Value
Value.int64Array
(long[] v, int pos, int length) Returns anARRAY<INT64>
value that takes its elements from a region of an array.static Value
Value.int64Array
(Iterable<Long> v) Returns anARRAY<INT64>
value.static Value
Returns aJSON
value.static Value
Returns anARRAY<JSON>
value.static Value
Value.numeric
(BigDecimal v) Returns aNUMERIC
value.static Value
Value.numericArray
(Iterable<BigDecimal> v) Returns anARRAY<NUMERIC>
value.static Value
Returns aPG JSONB
value.static Value
Value.pgJsonbArray
(Iterable<String> v) Returns anARRAY<JSONB>
value.static Value
Returns aPG NUMERIC
value.static Value
Value.pgNumericArray
(Iterable<String> v) Returns anARRAY<PG_NUMERIC>
value.static Value
Returns aSTRING
value.static Value
Value.stringArray
(Iterable<String> v) Returns anARRAY<STRING>
value.static Value
Returns a non-NULL
{#code STRUCT} value.static Value
Returns aSTRUCT
value ofType
type.static Value
Value.structArray
(Type elementType, Iterable<Struct> v) Returns anARRAY<STRUCT<...>>
value.static Value
Value.timestamp
(com.google.cloud.Timestamp v) Returns aTIMESTAMP
value.static Value
Value.timestampArray
(Iterable<com.google.cloud.Timestamp> v) Returns anARRAY<TIMESTAMP>
value.static Value
Value.untyped
(com.google.protobuf.Value value) Returns aValue
that wraps the given proto value.Methods in com.google.cloud.spanner that return types with arguments of type ValueModifier and TypeMethodDescriptionMutation.asMap()
For all types exceptMutation.Op.DELETE
, constructs a map from column name to value.Statement.getParameters()
Returns the parameters bound to thisStatement
.Mutation.getValues()
For all types exceptMutation.Op.DELETE
, returns the values that this mutation will write.Methods in com.google.cloud.spanner with parameters of type Value