Reference documentation and code samples for the Google Cloud Datastream V1 Client class SpecificStartPosition.
CDC strategy to start replicating from a specific position in the source.
Generated from protobuf message google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition
Namespace
Google \ Cloud \ Datastream \ V1 \ CdcStrategyMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mysql_log_position |
Google\Cloud\Datastream\V1\MysqlLogPosition
MySQL specific log position to start replicating from. |
↳ oracle_scn_position |
Google\Cloud\Datastream\V1\OracleScnPosition
Oracle SCN to start replicating from. |
↳ sql_server_lsn_position |
Google\Cloud\Datastream\V1\SqlServerLsnPosition
SqlServer LSN to start replicating from. |
getMysqlLogPosition
MySQL specific log position to start replicating from.
Returns | |
---|---|
Type | Description |
Google\Cloud\Datastream\V1\MysqlLogPosition|null |
hasMysqlLogPosition
setMysqlLogPosition
MySQL specific log position to start replicating from.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Datastream\V1\MysqlLogPosition
|
Returns | |
---|---|
Type | Description |
$this |
getOracleScnPosition
Oracle SCN to start replicating from.
Returns | |
---|---|
Type | Description |
Google\Cloud\Datastream\V1\OracleScnPosition|null |
hasOracleScnPosition
setOracleScnPosition
Oracle SCN to start replicating from.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Datastream\V1\OracleScnPosition
|
Returns | |
---|---|
Type | Description |
$this |
getSqlServerLsnPosition
SqlServer LSN to start replicating from.
Returns | |
---|---|
Type | Description |
Google\Cloud\Datastream\V1\SqlServerLsnPosition|null |
hasSqlServerLsnPosition
setSqlServerLsnPosition
SqlServer LSN to start replicating from.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Datastream\V1\SqlServerLsnPosition
|
Returns | |
---|---|
Type | Description |
$this |
getPosition
Returns | |
---|---|
Type | Description |
string |