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.
|
com.datastax.driver.core.schemabuilder |
A CQL3 schema 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.
|
ListenableFuture<PreparedStatement> |
Session.prepareAsync(RegularStatement statement)
Prepares the provided query asynchronously.
|
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 statements generated with the
QueryBuilder . |
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)
Builds a new
BATCH query on the provided statements. |
static Batch |
QueryBuilder.unloggedBatch(RegularStatement... statements)
Builds a new
UNLOGGED BATCH query on the provided statements. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCreateStatement<T extends AbstractCreateStatement<T>> |
static class |
Alter.Options
The table options of an ALTER TABLE statement.
|
class |
Create
A built CREATE TABLE statement.
|
static class |
Create.Options
The table options of a CREATE TABLE statement.
|
class |
CreateType
A built CREATE TYPE statement.
|
class |
Drop
A built DROP statement.
|
class |
DropKeyspace
A built DROP KEYSPACE statement.
|
class |
KeyspaceOptions
The keyspace options used in CREATE KEYSPACE or ALTER KEYSPACE statements.
|
class |
SchemaStatement
A DDL statement generated by
SchemaBuilder . |
class |
TableOptions<T extends TableOptions>
The table options used in a CREATE TABLE or ALTER TABLE statement.
|
Copyright © 2012–2018. All rights reserved.