public interface CassandraConnection extends Connection
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.ResultSetFuture |
executeBatch(List<String> updates)
Execute a batch of updates
|
com.datastax.driver.core.ResultSetFuture |
executeBatch(String update,
List<Object[]> values)
Execute a bulk update
|
com.datastax.driver.core.ResultSetFuture |
executeQuery(String query)
Executes a CQL query.
|
com.datastax.driver.core.VersionNumber |
getVersion()
Get the version in use for this connection
|
com.datastax.driver.core.KeyspaceMetadata |
keyspaceInfo()
Returns metadata about Cassandra keyspace (column families, columns metadata etc.)
|
close
com.datastax.driver.core.ResultSetFuture executeQuery(String query)
com.datastax.driver.core.KeyspaceMetadata keyspaceInfo() throws TranslatorException
KeyspaceNotDefinedException
TranslatorException
com.datastax.driver.core.ResultSetFuture executeBatch(List<String> updates)
updates
- com.datastax.driver.core.ResultSetFuture executeBatch(String update, List<Object[]> values)
update
- values
- com.datastax.driver.core.VersionNumber getVersion()
Copyright © 2019. All rights reserved.