Oleksandr Petrov created CASSANDRA-9257:
-------------------------------------------
Summary: Schema Builder does not support multiple column
add/drop/alter
Key: CASSANDRA-9257
URL: https://issues.apache.org/jira/browse/CASSANDRA-9257
Project: Cassandra
Issue Type: Improvement
Components: Drivers (now out of tree)
Reporter: Oleksandr Petrov
Right now, SchemaBuilder allows adding, altering or dropping only one column,
for example:
```
SchemaBuilder.alterTable("ks", "DropColumn")
.addColumn("b")
.type(DataType.cint()
```
There's no way to say `addColumn` after that once again, so one has to create
another statement.
I'd be glad to help out / contribute that one, if everyone generally agrees
that this is a good addition to API.
This would be a great addition, and will help one of Clojure drivers to provide
a smoother API, too.
Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)