public final class CassandraUtils2 extends Object
Constructor and Description |
---|
CassandraUtils2() |
Modifier and Type | Method and Description |
---|---|
static List<com.datastax.driver.core.Row> |
fetchFromTable(String keyspace,
String tableName,
List<org.javatuples.Pair<AuditingFieldsKeysEnum,String>> fields) |
static void |
truncateAllKeyspaces() |
static void |
truncateAllTables(String keyspace) |
static void |
truncateTable(String keyspace,
String tableName) |
public static void truncateTable(String keyspace, String tableName) throws FileNotFoundException
FileNotFoundException
public static void truncateAllKeyspaces() throws FileNotFoundException
FileNotFoundException
public static void truncateAllTables(String keyspace) throws FileNotFoundException
FileNotFoundException
public static List<com.datastax.driver.core.Row> fetchFromTable(String keyspace, String tableName, List<org.javatuples.Pair<AuditingFieldsKeysEnum,String>> fields) throws FileNotFoundException
FileNotFoundException
Copyright © 2017. All rights reserved.