| Package | Description | 
|---|---|
| com.datastax.driver.core.querybuilder | A CQL3 query builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Clause | QueryBuilder. contains(String name,
        Object value)Creates a "contains"  WHEREclause stating the provided column must contain the value
 provided. | 
| static Clause | QueryBuilder. containsKey(String name,
           Object key)Creates a "contains key"  WHEREclause stating the provided column must contain the key
 provided. | 
| static Clause | QueryBuilder. eq(Iterable<String> names,
  Iterable<?> values)Creates an "equal"  WHEREclause for a group of clustering columns. | 
| static Clause | QueryBuilder. eq(String name,
  Object value)Creates an "equal"  WHEREclause stating the provided column must be equal to the
 provided value. | 
| static Clause | QueryBuilder. gt(Iterable<String> names,
  Iterable<?> values)Creates a "greater than"  WHEREclause for a group of clustering columns. | 
| static Clause | QueryBuilder. gt(String name,
  Object value)Creates a "greater than"  WHEREclause stating the provided column must be greater to
 the provided value. | 
| static Clause | QueryBuilder. gte(Iterable<String> names,
   Iterable<?> values)Creates a "greater than or equal"  WHEREclause for a group of clustering columns. | 
| static Clause | QueryBuilder. gte(String name,
   Object value)Creates a "greater than or equal"  WHEREclause stating the provided column must be
 greater than or equal to the provided value. | 
| static Clause | QueryBuilder. in(Iterable<String> names,
  Iterable<?> values)Creates an "in"  WHEREclause for a group of clustering columns (a.k.a. | 
| static Clause | QueryBuilder. in(String name,
  Iterable<?> values)Create an "in"  WHEREclause stating the provided column must be equal to one of the
 provided values. | 
| static Clause | QueryBuilder. in(String name,
  Object... values)Create an "in"  WHEREclause stating the provided column must be equal to one of the
 provided values. | 
| static Clause | QueryBuilder. like(String name,
    Object value)Creates a "like"  WHEREclause stating that the provided column must be equal to the
 provided value. | 
| static Clause | QueryBuilder. lt(Iterable<String> names,
  Iterable<?> values)Creates a "lesser than"  WHEREclause for a group of clustering columns. | 
| static Clause | QueryBuilder. lt(String name,
  Object value)Creates a "lesser than"  WHEREclause stating the provided column must be less than the
 provided value. | 
| static Clause | QueryBuilder. lte(Iterable<String> names,
   Iterable<?> values)Creates a "lesser than or equal"  WHEREclause for a group of clustering columns. | 
| static Clause | QueryBuilder. lte(String name,
   Object value)Creates a "lesser than or equal"  WHEREclause stating the provided column must be
 lesser than or equal to the provided value. | 
| static Clause | QueryBuilder. ne(Iterable<String> names,
  Iterable<?> values)Creates an "not equal"  WHEREclause for a group of clustering columns. | 
| static Clause | QueryBuilder. ne(String name,
  Object value)Creates a "not equal"  WHEREclause stating the provided column must be different from
 the provided value. | 
| static Clause | QueryBuilder. notNull(String name)Creates an "IS NOT NULL"  WHEREclause for the provided column. | 
| Modifier and Type | Method and Description | 
|---|---|
| Delete.Where | Delete.Where. and(Clause clause)Adds the provided clause to this WHERE clause. | 
| Delete.Conditions | Delete.Conditions. and(Clause condition)Adds the provided condition for the deletion. | 
| Update.Where | Update.Where. and(Clause clause)Adds the provided clause to this WHERE clause. | 
| Update.Conditions | Update.Conditions. and(Clause condition)Adds the provided condition for the update. | 
| Select.Where | Select.Where. and(Clause clause)Adds the provided clause to this  WHEREclause. | 
| Delete.Conditions | Delete. onlyIf(Clause condition)Adds a conditions clause (IF) to this statement. | 
| Delete.Conditions | Delete.Where. onlyIf(Clause condition)Adds a condition to the DELETE statement this WHERE clause is part of. | 
| Update.Conditions | Update. onlyIf(Clause condition)Adds a conditions clause (IF) to this statement. | 
| Update.Conditions | Update.Assignments. onlyIf(Clause condition)Adds a condition to the UPDATE statement those assignments are part of. | 
| Update.Conditions | Update.Where. onlyIf(Clause condition)Adds a condition to the UPDATE statement this WHERE clause is part of. | 
| Update.Conditions | Update.Options. onlyIf(Clause condition)Adds a condition to the UPDATE statement these options are part of. | 
| 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. | 
| Delete.Where | Delete.Conditions. where(Clause clause)Adds a where clause to the DELETE statement these conditions are part of. | 
| 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. | 
| Update.Where | Update.Conditions. where(Clause clause)Adds a where clause to the UPDATE statement these conditions are part of. | 
| Select.Where | Select. where(Clause clause)Adds a  WHEREclause to this statement. | 
Copyright © 2012–2025. All rights reserved.