Package io.debezium.connector.cassandra
Class SchemaHolder
- java.lang.Object
-
- io.debezium.connector.cassandra.SchemaHolder
-
public class SchemaHolder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGGERprivate ConcurrentMap<KeyspaceTable,KeyValueSchema>tableToKVSchemaMap
-
Constructor Summary
Constructors Constructor Description SchemaHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddOrUpdateTableSchema(KeyspaceTable kst, KeyValueSchema kvs)Set<com.datastax.oss.driver.api.core.metadata.schema.TableMetadata>getCdcEnabledTableMetadataSet()KeyValueSchemagetKeyValueSchema(KeyspaceTable kst)protected voidremoveTableSchema(KeyspaceTable kst)
-
-
-
Field Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
tableToKVSchemaMap
private final ConcurrentMap<KeyspaceTable,KeyValueSchema> tableToKVSchemaMap
-
-
Method Detail
-
getKeyValueSchema
public KeyValueSchema getKeyValueSchema(KeyspaceTable kst)
-
getCdcEnabledTableMetadataSet
public Set<com.datastax.oss.driver.api.core.metadata.schema.TableMetadata> getCdcEnabledTableMetadataSet()
-
removeTableSchema
protected void removeTableSchema(KeyspaceTable kst)
-
addOrUpdateTableSchema
protected void addOrUpdateTableSchema(KeyspaceTable kst, KeyValueSchema kvs)
-
-