public interface CassandraConnection
extends javax.resource.cci.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.)
|
com.datastax.driver.core.ResultSetFuture executeQuery(String query)
com.datastax.driver.core.KeyspaceMetadata keyspaceInfo() throws javax.resource.ResourceException
KeyspaceNotDefinedException
javax.resource.ResourceException
com.datastax.driver.core.ResultSetFuture executeBatch(List<String> updates)
updates
- com.datastax.driver.core.ResultSetFuture executeBatch(String update, List<Object[]> values)
update
- values
- javax.resource.ResourceException
com.datastax.driver.core.VersionNumber getVersion()
Copyright © 2017 JBoss by Red Hat. All rights reserved.