Class Value (2.49.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
Name Description
source com.google.bigtable.v2.Value
Returns
Type Description
Value

intValue(long value)

public static Value intValue(long value)

Creates an int64 value.

Parameter
Name Description
value long
Returns
Type Description
Value

rawTimestamp(long timestamp)

public static Value rawTimestamp(long timestamp)

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

Parameter
Name Description
timestamp long
Returns
Type Description
Value

rawValue(ByteString value)

public static Value rawValue(ByteString value)

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

Parameter
Name Description
value ByteString
Returns
Type Description
Value

Methods

getValueType()

public abstract Value.ValueType getValueType()
Returns
Type Description
Value.ValueType