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 ValueValue.bool(boolean v) Returns aBOOLvalue.static ValueReturns aBOOLvalue.static ValueValue.boolArray(boolean[] v) Returns anARRAY<BOOL>value.static ValueValue.boolArray(boolean[] v, int pos, int length) Returns anARRAY<BOOL>value that takes its elements from a region of an array.static ValueReturns anARRAY<BOOL>value.static ValueValue.bytes(com.google.cloud.ByteArray v) e Returns aBYTESvalue.static ValueValue.bytesArray(Iterable<com.google.cloud.ByteArray> v) Returns anARRAY<BYTES>value.static ValueValue.bytesArrayFromBase64(Iterable<String> base64Strings) Returns anARRAY<BYTES>value.static ValueValue.bytesFromBase64(String base64String) Returns aBYTESvalue.static ValueValue.date(com.google.cloud.Date v) Returns aDATEvalue.static ValueReturns anARRAY<DATE>value.static ValueValue.float32(float v) Returns aFLOAT32value.static ValueReturns aFLOAT32value.static ValueValue.float32Array(float[] v) Returns anARRAY<FLOAT32>value.static ValueValue.float32Array(float[] v, int pos, int length) Returns anARRAY<FLOAT32>value that takes its elements from a region of an array.static ValueValue.float32Array(Iterable<Float> v) Returns anARRAY<FLOAT32>value.static ValueValue.float64(double v) Returns aFLOAT64value.static ValueReturns aFLOAT64value.static ValueValue.float64Array(double[] v) Returns anARRAY<FLOAT64>value.static ValueValue.float64Array(double[] v, int pos, int length) Returns anARRAY<FLOAT64>value that takes its elements from a region of an array.static ValueValue.float64Array(Iterable<Double> v) Returns anARRAY<FLOAT64>value.AbstractStructReader.getValue(int columnIndex) ForwardingStructReader.getValue(int columnIndex) default ValueStructReader.getValue(int columnIndex) default Valueprotected ValueAbstractStructReader.getValueInternal(int columnIndex) static ValueValue.int64(long v) Returns anINT64value.static ValueReturns anINT64value.static ValueValue.int64Array(long[] v) Returns anARRAY<INT64>value.static ValueValue.int64Array(long[] v, int pos, int length) Returns anARRAY<INT64>value that takes its elements from a region of an array.static ValueValue.int64Array(Iterable<Long> v) Returns anARRAY<INT64>value.static ValueReturns aJSONvalue.static ValueReturns anARRAY<JSON>value.static ValueValue.numeric(BigDecimal v) Returns aNUMERICvalue.static ValueValue.numericArray(Iterable<BigDecimal> v) Returns anARRAY<NUMERIC>value.static ValueReturns aPG JSONBvalue.static ValueValue.pgJsonbArray(Iterable<String> v) Returns anARRAY<JSONB>value.static ValueReturns aPG NUMERICvalue.static ValueValue.pgNumericArray(Iterable<String> v) Returns anARRAY<PG_NUMERIC>value.static ValueValue.pgOid(long v) Returns anPG_OIDvalue.static ValueReturns anPG_OIDvalue.static ValueValue.pgOidArray(long[] v) Returns anARRAY<PG_OID>value.static ValueValue.pgOidArray(long[] v, int pos, int length) Returns anARRAY<PG_OID>value that takes its elements from a region of an array.static ValueValue.pgOidArray(Iterable<Long> v) Returns anARRAY<PG_OID>value.static ValueReturn aENUMvalue.static ValueValue.protoEnum(com.google.protobuf.ProtocolMessageEnum v) Return aENUMvalue for not null proto messages.static ValueReturn aENUMvalue.static ValueReturn aENUMvalue.static ValueValue.protoEnumArray(Iterable<com.google.protobuf.ProtocolMessageEnum> v, com.google.protobuf.Descriptors.EnumDescriptor descriptor) Returns anARRAY<ENUM>value.static ValueValue.protoEnumArray(Iterable<Long> v, String protoTypeFqn) Returns anARRAY<ENUM>value.static ValueValue.protoMessage(com.google.cloud.ByteArray v, com.google.protobuf.Descriptors.Descriptor descriptor) Return aPROTOvaluestatic ValueValue.protoMessage(com.google.cloud.ByteArray v, String protoTypeFqn) Return aPROTOvaluestatic ValueValue.protoMessage(com.google.protobuf.AbstractMessage v) Return aPROTOvalue for not null proto messages.static ValueValue.protoMessageArray(Iterable<com.google.cloud.ByteArray> v, String protoTypeFqn) Returns anARRAY<PROTO>value.static ValueValue.protoMessageArray(Iterable<com.google.protobuf.AbstractMessage> v, com.google.protobuf.Descriptors.Descriptor descriptor) Returns anARRAY<PROTO>value.static ValueReturns aSTRINGvalue.static ValueValue.stringArray(Iterable<String> v) Returns anARRAY<STRING>value.static ValueReturns a non-NULL{#code STRUCT} value.static ValueReturns aSTRUCTvalue ofTypetype.static ValueValue.structArray(Type elementType, Iterable<Struct> v) Returns anARRAY<STRUCT<...>>value.static ValueValue.timestamp(com.google.cloud.Timestamp v) Returns aTIMESTAMPvalue.static ValueValue.timestampArray(Iterable<com.google.cloud.Timestamp> v) Returns anARRAY<TIMESTAMP>value.static ValueValue.untyped(com.google.protobuf.Value value) Returns aValuethat 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