createPrimaryIndex

suspend fun createPrimaryIndex(keyspace: Keyspace, common: CommonOptions = CommonOptions.Default, indexName: String? = null, ignoreIfExists: Boolean = false, deferred: Boolean = false, numReplicas: Int? = null, with: Map<String, Any?> = emptyMap())

Creates a primary index (an index on all keys in the keyspace).