Package | Description |
---|---|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Method and Description |
---|---|
static Clause |
QueryBuilder.eq(String name,
Object value)
Creates an "equal" where clause stating the provided column must be
equal to the provided value.
|
static Clause |
QueryBuilder.gt(String name,
Object value)
Creates a "greater than" where clause stating the provided column must
be greater to the provided value.
|
static Clause |
QueryBuilder.gte(String name,
Object value)
Creates a "greater than or equal" where clause stating the provided
column must be greater than or equal to the provided value.
|
static Clause |
QueryBuilder.in(String name,
Object... values)
Create an "in" where clause stating the provided column must be equal
to one of the provided values.
|
static Clause |
QueryBuilder.lt(String name,
Object value)
Creates a "lesser than" where clause stating the provided column must be less than
the provided value.
|
static Clause |
QueryBuilder.lte(String name,
Object value)
Creates a "lesser than or equal" where clause stating the provided column must
be lesser than or equal to the provided value.
|
Modifier and Type | Method and Description |
---|---|
Update.Where |
Update.Where.and(Clause clause)
Adds the provided clause to this WHERE clause.
|
Select.Where |
Select.Where.and(Clause clause)
Adds the provided clause to this WHERE clause.
|
Delete.Where |
Delete.Where.and(Clause clause)
Adds the provided clause to this WHERE clause.
|
Update.Where |
Update.where(Clause clause)
Adds a WHERE clause to this statement.
|
Update.Where |
Update.Assignments.where(Clause clause)
Adds a where clause to the UPDATE statement those assignments are part of.
|
Update.Where |
Update.Options.where(Clause clause)
Adds a where clause to the UPDATE statement these options are part of.
|
Select.Where |
Select.where(Clause clause)
Adds a WHERE clause to this statement.
|
Delete.Where |
Delete.where(Clause clause)
Adds a WHERE clause to this statement.
|
Delete.Where |
Delete.Options.where(Clause clause)
Adds a where clause to the DELETE statement these options are part of.
|
Copyright © 2014. All Rights Reserved.