Package com.privalia.qa.utils
Class CassandraQueryUtils
- java.lang.Object
-
- com.privalia.qa.utils.CassandraQueryUtils
-
public class CassandraQueryUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description CassandraQueryUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createKeyspaceQuery(Boolean ifNotExists, String keyspaceName, String replication, String durableWrites)
String
createKeyspaceReplication(Map<String,String> replication)
String
createTable(String table, Map<String,String> colums, ArrayList<String> primaryKey)
String
dropKeyspaceQuery(Boolean ifExists, String keyspace)
String
dropTableQuery(Boolean ifExists, String table)
String
insertData(String table, Map<String,Object> fields)
String
truncateTableQuery(Boolean ifExists, String table)
String
useQuery(String keyspace)
-