Cloud Spanner V1 Client - Class ValueCaptureType (2.2.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class ValueCaptureType.

Value capture type describes which values are recorded in the data change record.

Protobuf type google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType

Namespace

Google \ Cloud \ Spanner \ V1 \ ChangeStreamRecord \ DataChangeRecord

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

VALUE_CAPTURE_TYPE_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum VALUE_CAPTURE_TYPE_UNSPECIFIED = 0;

OLD_AND_NEW_VALUES

Value: 10

Records both old and new values of the modified watched columns.

Generated from protobuf enum OLD_AND_NEW_VALUES = 10;

NEW_VALUES

Value: 20

Records only new values of the modified watched columns.

Generated from protobuf enum NEW_VALUES = 20;

NEW_ROW

Value: 30

Records new values of all watched columns, including modified and unmodified columns.

Generated from protobuf enum NEW_ROW = 30;

NEW_ROW_AND_OLD_VALUES

Value: 40

Records the new values of all watched columns, including modified and unmodified columns. Also records the old values of the modified columns.

Generated from protobuf enum NEW_ROW_AND_OLD_VALUES = 40;