Package org.apache.cassandra.schema
Class DefaultSchemaUpdateHandlerFactory
java.lang.Object
org.apache.cassandra.schema.DefaultSchemaUpdateHandlerFactory
- All Implemented Interfaces:
SchemaUpdateHandlerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSchemaUpdateHandler(boolean online, BiConsumer<SchemaTransformation.SchemaTransformationResult, Boolean> updateSchemaCallback) A factory which provides the appropriate schema update handler.
-
Field Details
-
instance
-
-
Constructor Details
-
DefaultSchemaUpdateHandlerFactory
public DefaultSchemaUpdateHandlerFactory()
-
-
Method Details
-
getSchemaUpdateHandler
public SchemaUpdateHandler getSchemaUpdateHandler(boolean online, BiConsumer<SchemaTransformation.SchemaTransformationResult, Boolean> updateSchemaCallback) Description copied from interface:SchemaUpdateHandlerFactoryA factory which provides the appropriate schema update handler. The actual implementation may be different for different run modes (client, tool, daemon).- Specified by:
getSchemaUpdateHandlerin interfaceSchemaUpdateHandlerFactory- Parameters:
online- whether schema update handler should work online and be aware of the other nodes (when in daemon mode)updateSchemaCallback- callback which will be called right after the shared schema is updated
-