java.lang.Object
com.google.cloud.bigtable.data.v2.models.Value
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Value.IntValue, Value.RawTimestamp, Value.RawValue

@BetaApi public abstract class Value extends Object implements Serializable
Wrapper class for the Value protobuf message.
See Also:
  • Method Details

    • rawValue

      public static Value rawValue(@Nonnull com.google.protobuf.ByteString value)
      Creates a "raw" value that simply passes through "value" as raw byres.
    • rawTimestamp

      public static Value rawTimestamp(long timestamp)
      Creates a "raw" timestamp value that simply passes through "timestamp" as a long.
    • intValue

      public static Value intValue(long value)
      Creates an int64 value.
    • getValueType

      public abstract Value.ValueType getValueType()
    • fromProto

      public static Value fromProto(Value source)