| Package | Description | 
|---|---|
| com.google.api.ads.dfp.lib.utils | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
QueryBuilder<V>
QueryBuilder allows for queries to be constructed in parts. | 
| Modifier and Type | Method and Description | 
|---|---|
QueryBuilderInterface<V> | 
QueryBuilderInterface.from(String table)
Sets the statement FROM clause in the form of "table". 
 | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.increaseOffsetBy(Integer amount)
Increases the offset by the  
amount. | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.limit(Integer count)
Sets the statement LIMIT clause in the form of 
"LIMIT <count>"
 e.g.  | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.offset(Integer count)
Sets the statement OFFSET clause in the form of 
"OFFSET <count>"
 e.g.  | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.orderBy(String orderBy)
Sets the statement ORDER BY clause in the form of 
"ORDER BY <property> [ASC | DESC]"
 e.g.  | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.removeLimitAndOffset()
Removes the limit and offset from the query. 
 | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.select(String columns)
Sets the statement SELECT clause in the form of "a,b" or "*". 
 | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.where(String conditions)
Sets the statement WHERE clause in the form of 
"WHERE <condition> {[AND | OR] <condition> ...}"
 e.g.  | 
QueryBuilderInterface<V> | 
QueryBuilderInterface.withBindVariableValue(String key,
                     V value)
Puts a key-value into the bind variables. 
 | 
Copyright © 2018. All Rights Reserved.