Example usage for org.springframework.data.cassandra.config SchemaAction RECREATE_DROP_UNUSED

List of usage examples for org.springframework.data.cassandra.config SchemaAction RECREATE_DROP_UNUSED

Introduction

In this page you can find the example usage for org.springframework.data.cassandra.config SchemaAction RECREATE_DROP_UNUSED.

Prototype

SchemaAction RECREATE_DROP_UNUSED

To view the source code for org.springframework.data.cassandra.config SchemaAction RECREATE_DROP_UNUSED.

Click Source Link

Document

Drop all tables in the keyspace, then create each table as necessary.

Usage

From source file:com.example.CassandraConfiguration.java

@Override
public SchemaAction getSchemaAction() {
    return SchemaAction.RECREATE_DROP_UNUSED;
}