Class Value (2.37.0)

public abstract class Value implements Serializable

Wrapper class for the com.google.bigtable.v2.Value protobuf message. See Also: com.google.bigtable.v2.Value

Inheritance

java.lang.Object > Value

Implements

Serializable

Static Methods

fromProto(Value source)

public static Value fromProto(Value source)
Parameter
NameDescription
sourcecom.google.bigtable.v2.Value
Returns
TypeDescription
Value

intValue(long value)

public static Value intValue(long value)

Creates an int64 value.

Parameter
NameDescription
valuelong
Returns
TypeDescription
Value

rawTimestamp(long timestamp)

public static Value rawTimestamp(long timestamp)

Creates a "raw" timestamp value that simply passes through "timestamp" as a long.

Parameter
NameDescription
timestamplong
Returns
TypeDescription
Value

rawValue(ByteString value)

public static Value rawValue(ByteString value)

Creates a "raw" value that simply passes through "value" as raw byres.

Parameter
NameDescription
valueByteString
Returns
TypeDescription
Value

Methods

getValueType()

public abstract Value.ValueType getValueType()
Returns
TypeDescription
Value.ValueType