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
RegularStatement implementation built directly from a query
string. |
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
Session.prepare(RegularStatement statement)
Prepares the provided query.
|
PreparedStatement |
AbstractSession.prepare(RegularStatement statement)
Prepares the provided query.
|
com.google.common.util.concurrent.ListenableFuture<PreparedStatement> |
Session.prepareAsync(RegularStatement statement)
Prepares the provided query asynchronously.
|
com.google.common.util.concurrent.ListenableFuture<PreparedStatement> |
AbstractSession.prepareAsync(RegularStatement 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 |
BuiltStatement
Common ancestor to the query builder built statements.
|
class |
Delete
A built DELETE statement.
|
static class |
Delete.Conditions
Conditions for a 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.Conditions
Conditions for an UPDATE statement.
|
static class |
Update.IfExists |
static class |
Update.Options
The options of a UPDATE statement.
|
static class |
Update.Where
The WHERE clause of an UPDATE statement.
|
Modifier and Type | Method and Description |
---|---|
RegularStatement |
BuiltStatement.setForceNoValues(boolean forceNoValues)
Allows to force this builder to not generate values (through its
getValues() method). |
Modifier and Type | Method and Description |
---|---|
Batch |
Batch.add(RegularStatement statement)
Adds a new statement to this batch.
|
Batch |
Batch.Options.add(RegularStatement statement)
Adds a new statement to the BATCH statement these options are part of.
|
static Batch |
QueryBuilder.batch(RegularStatement... statements)
Built a new BATCH query on the provided statements.
|
static Batch |
QueryBuilder.unloggedBatch(RegularStatement... statements)
Built a new UNLOGGED BATCH query on the provided statements.
|
Copyright © 2012–2015. All rights reserved.