Builds replication strategy command to create a keyspace.
Validates that the supplied keyspace name is valid based on docs found here: http://docs.datastax.com/en/cql/3.0/cql/cql_reference/create_keyspace_r.html
Validates that the supplied keyspace name is valid based on docs found here: http://docs.datastax.com/en/cql/3.0/cql/cql_reference/create_keyspace_r.html
- the keyspace name to validate.
- String if the keyspace name is valid, throws IllegalArgumentException otherwise.
Validates that the supplied table name meets Cassandra's table name requirements.
Validates that the supplied table name meets Cassandra's table name requirements. According to docs here: https://cassandra.apache.org/doc/cql3/CQL.html#createTableStmt :
- the table name to validate
- String if the tableName is valid, throws an IllegalArgumentException otherwise.