CellChunk

com.google.bigtable.v2.bigtable.ReadRowsResponse.CellChunk
See theCellChunk companion object
final case class CellChunk(rowKey: ByteString, familyName: Option[String], qualifier: Option[ByteString], timestampMicros: Long, labels: Seq[String], value: ByteString, valueSize: Int, rowStatus: RowStatus, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CellChunk]

Specifies a piece of a row's contents returned as part of the read response stream.

Value parameters

familyName

The column family name for this chunk of data. If this message is not present this CellChunk is a continuation of the same column family as the previous CellChunk. The empty string can occur as a column family name in a response so clients must check explicitly for the presence of this message, not just for family_name.value being non-empty.

labels

Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.

qualifier

The column qualifier for this chunk of data. If this message is not present, this CellChunk is a continuation of the same column as the previous CellChunk. Column qualifiers may be empty so clients must check for the presence of this message, not just for qualifier.value being non-empty.

rowKey

The row key for this chunk of data. If the row key is empty, this CellChunk is a continuation of the same row as the previous CellChunk in the response stream, even if that CellChunk was in a previous ReadRowsResponse message.

timestampMicros

The cell's stored timestamp, which also uniquely identifies it within its column. Values are always expressed in microseconds, but individual tables may set a coarser granularity to further restrict the allowed values. For example, a table which specifies millisecond granularity will only allow values of timestamp_micros which are multiples of 1000. Timestamps are only set in the first CellChunk per cell (for cells split into multiple chunks).

value

The value stored in the cell. Cell values can be split across multiple CellChunks. In that case only the value field will be set in CellChunks after the first: the timestamp and labels will only be present in the first CellChunk, even if the first CellChunk came in a previous ReadRowsResponse.

valueSize

If this CellChunk is part of a chunked cell value and this is not the final chunk of that cell, value_size will be set to the total length of the cell value. The client can use this size to pre-allocate memory to hold the full cell value.

Attributes

Companion
object
Source
ReadRowsResponse.scala
Graph
Supertypes
trait Updatable[CellChunk]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAllLabels(`__vs`: Iterable[String]): CellChunk

Attributes

Source
ReadRowsResponse.scala
def addLabels(`__vs`: String*): CellChunk

Attributes

Source
ReadRowsResponse.scala
def companion: CellChunk.type

Attributes

Source
ReadRowsResponse.scala
def getCommitRow: Boolean

Attributes

Source
ReadRowsResponse.scala
def getFamilyName: String

Attributes

Source
ReadRowsResponse.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
ReadRowsResponse.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
ReadRowsResponse.scala
def getQualifier: ByteString

Attributes

Source
ReadRowsResponse.scala
def getResetRow: Boolean

Attributes

Source
ReadRowsResponse.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
ReadRowsResponse.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
ReadRowsResponse.scala
def withCommitRow(`__v`: Boolean): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withFamilyName(`__v`: String): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withLabels(`__v`: Seq[String]): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withQualifier(`__v`: ByteString): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withResetRow(`__v`: Boolean): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withRowKey(`__v`: ByteString): CellChunk

Attributes

Source
ReadRowsResponse.scala

Attributes

Source
ReadRowsResponse.scala
def withTimestampMicros(`__v`: Long): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withUnknownFields(`__v`: UnknownFieldSet): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withValue(`__v`: ByteString): CellChunk

Attributes

Source
ReadRowsResponse.scala
def withValueSize(`__v`: Int): CellChunk

Attributes

Source
ReadRowsResponse.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
ReadRowsResponse.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[CellChunk, CellChunk] => () => CellChunk*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala