public class PartitionMetadataAdminDao
extends java.lang.Object
The partition metadata table will be used to keep the state of a partition as the Connector is performing change stream queries.
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | COLUMN_CREATED_ATMetadata table column name for the timestamp at which the partition row was first created. | 
| static java.lang.String | COLUMN_END_TIMESTAMPMetadata table column name for the timestamp to end the change stream query of the partition. | 
| static java.lang.String | COLUMN_FINISHED_ATMetadata table column name for the timestamp at which the partition was marked as finished by
 the  ReadChangeStreamPartitionDoFnSDF. | 
| static java.lang.String | COLUMN_HEARTBEAT_MILLISMetadata table column name for the change stream query heartbeat interval in millis. | 
| static java.lang.String | COLUMN_PARENT_TOKENSMetadata table column name for parent partition tokens. | 
| static java.lang.String | COLUMN_PARTITION_TOKENMetadata table column name for the partition token. | 
| static java.lang.String | COLUMN_RUNNING_ATMetadata table column name for the timestamp at which the partition was marked as running by
 the  ReadChangeStreamPartitionDoFnSDF. | 
| static java.lang.String | COLUMN_SCHEDULED_ATMetadata table column name for the timestamp at which the partition was scheduled by the  DetectNewPartitionsDoFnSDF. | 
| static java.lang.String | COLUMN_START_TIMESTAMPMetadata table column name for the timestamp to start the change stream query of the partition. | 
| static java.lang.String | COLUMN_STATEMetadata table column name for the state that the partition is currently in. | 
| static java.lang.String | COLUMN_WATERMARKMetadata table column name for the current watermark of the partition. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | createPartitionMetadataTable()Creates the metadata table in the given instance, database configuration, with the constructor
 specified table name. | 
| void | deletePartitionMetadataTable(java.util.List<java.lang.String> indexes)Drops the metadata table. | 
public static final java.lang.String COLUMN_PARTITION_TOKEN
public static final java.lang.String COLUMN_PARENT_TOKENS
public static final java.lang.String COLUMN_START_TIMESTAMP
public static final java.lang.String COLUMN_END_TIMESTAMP
public static final java.lang.String COLUMN_HEARTBEAT_MILLIS
public static final java.lang.String COLUMN_STATE
PartitionMetadata.State.public static final java.lang.String COLUMN_WATERMARK
public static final java.lang.String COLUMN_CREATED_AT
public static final java.lang.String COLUMN_SCHEDULED_AT
DetectNewPartitionsDoFn SDF.public static final java.lang.String COLUMN_RUNNING_AT
ReadChangeStreamPartitionDoFn
 SDF.public static final java.lang.String COLUMN_FINISHED_AT
ReadChangeStreamPartitionDoFn
 SDF.public void createPartitionMetadataTable()
TIMEOUT_MINUTES minutes and specifies a TTL of partition rows after
 they are marked as FINISHED as TTL_AFTER_PARTITION_FINISHED_DAYS days.public void deletePartitionMetadataTable(java.util.List<java.lang.String> indexes)
TIMEOUT_MINUTES minutes.