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 \ DataChangeRecordMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
VALUE_CAPTURE_TYPE_UNSPECIFIED
Value: 0Not specified.
Generated from protobuf enum VALUE_CAPTURE_TYPE_UNSPECIFIED = 0;
OLD_AND_NEW_VALUES
Value: 10Records both old and new values of the modified watched columns.
Generated from protobuf enum OLD_AND_NEW_VALUES = 10;
NEW_VALUES
Value: 20Records only new values of the modified watched columns.
Generated from protobuf enum NEW_VALUES = 20;
NEW_ROW
Value: 30Records new values of all watched columns, including modified and unmodified columns.
Generated from protobuf enum NEW_ROW = 30;
NEW_ROW_AND_OLD_VALUES
Value: 40Records 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;