@ Given ( "^I create a Cassandra index named '(.+?)' in table '(.+?)' using magic_column '(.+?)' using keyspace '(.+?)'$" ) public void createBasicMapping ( String index_name , String table , String column , String keyspace ) throws Exception { String query = "CREATE INDEX " + index_name + " ON " + table + " (" + column + ");" ; commonspec . getCassandraClient ( ) . executeQuery ( query ) ; }
Create a basic Index .