Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleStatement
A simple
Statement implementation built directly from a query
string. |
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
Session.prepare(Statement statement)
Prepares the provided query.
|
com.google.common.util.concurrent.ListenableFuture<PreparedStatement> |
Session.prepareAsync(Statement statement)
Prepares the provided query asynchronously.
|
Modifier and Type | Class and Description |
---|---|
class |
Batch
A built BATCH statement.
|
static class |
Batch.Options
The options of a BATCH statement.
|
class |
Delete
A built DELETE statement.
|
static class |
Delete.Options
The options of a DELETE statement.
|
static class |
Delete.Where
The WHERE clause of a DELETE statement.
|
class |
Insert
A built INSERT statement.
|
static class |
Insert.Options
The options of an INSERT statement.
|
class |
Select
A built SELECT statement.
|
static class |
Select.Where
The WHERE clause of a SELECT statement.
|
class |
Truncate
A built TRUNCATE statement.
|
class |
Update
A built UPDATE statement.
|
static class |
Update.Assignments
The assignments of an UPDATE statement.
|
static class |
Update.Options
The options of a UDPATE statement.
|
static class |
Update.Where
The WHERE clause of an UPDATE statement.
|
Modifier and Type | Method and Description |
---|---|
Batch |
Batch.add(Statement statement)
Adds a new statement to this batch.
|
Batch |
Batch.Options.add(Statement statement)
Adds a new statement to the BATCH statement these options are part of.
|
static Batch |
QueryBuilder.batch(Statement... statements)
Built a new BATCH query on the provided statements.
|
static Batch |
QueryBuilder.unloggedBatch(Statement... statements)
Built a new UNLOGGED BATCH query on the provided statements.
|
Copyright © 2014. All Rights Reserved.