| Modifier and Type | Field and Description |
|---|---|
protected Collection |
collection |
protected D |
db |
protected boolean |
dryRun |
protected F |
from |
protected R |
group |
protected O |
order |
protected G |
page |
protected S |
select |
protected java.util.List<org.apache.commons.collections4.KeyValue> |
values |
protected W |
where |
| Constructor and Description |
|---|
Query() |
Query(D db,
Collection coll) |
Query(D db,
Collection coll,
java.lang.Object terms,
java.lang.String... functions) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
clearValues() |
protected F |
createFrom() |
protected R |
createGroup() |
protected O |
createOrder() |
protected G |
createPage() |
protected S |
createSelect() |
protected W |
createWhere() |
Results |
doSelect() |
java.util.List<Builder> |
getBuilders() |
Collection |
getCollection() |
org.apache.commons.collections4.KeyValue<java.lang.String,java.lang.String> |
getColValue(int index) |
java.util.List<java.lang.String> |
getColValueKeys() |
java.util.List<java.lang.Object> |
getColValues() |
D |
getDb() |
F |
getFrom() |
R |
getGroup() |
int |
getNumValues() |
O |
getOrder() |
G |
getPage() |
S |
getSelect() |
java.util.List<org.apache.commons.collections4.KeyValue> |
getValues() |
W |
getWhere() |
boolean |
isDryRun()
Test if this query sould actually be run or just planned.
|
T |
withCollection(Collection coll) |
protected T |
withColValue(java.lang.String columnName,
java.lang.Object value) |
T |
withDb(D db) |
T |
withDryRun(boolean dryRun) |
T |
withTerm(Term term)
OVERRIDE ME TO ADD CUSTOM FUNCTIONALITY TO YOUR FLUENT API
|
addTerm, clearFunctions, find, find, findAll, findInt, findTerm, getParent, getRoot, getTerms, isFunction, parse, r, removeBuilder, toString, toString, withBuilder, withFunctions, withFunctions, withParent, withTerm, withTerm, withTermsprotected final java.util.List<org.apache.commons.collections4.KeyValue> values
protected Collection collection
protected boolean dryRun
public Query()
public Query(D db, Collection coll)
public Query(D db, Collection coll, java.lang.Object terms, java.lang.String... functions)
protected S createSelect()
protected F createFrom()
protected W createWhere()
protected R createGroup()
protected O createOrder()
protected G createPage()
public T withTerm(Term term)
Builderpublic Results doSelect() throws ApiException
ApiExceptionpublic java.util.List<Builder> getBuilders()
public S getSelect()
public F getFrom()
public W getWhere()
public R getGroup()
public O getOrder()
public G getPage()
public Collection getCollection()
public D getDb()
public T withCollection(Collection coll)
public int getNumValues()
protected T clearValues()
protected T withColValue(java.lang.String columnName, java.lang.Object value)
public java.util.List<java.lang.String> getColValueKeys()
public java.util.List<java.lang.Object> getColValues()
public org.apache.commons.collections4.KeyValue<java.lang.String,java.lang.String> getColValue(int index)
public java.util.List<org.apache.commons.collections4.KeyValue> getValues()
public boolean isDryRun()
public T withDryRun(boolean dryRun)
Copyright © 2021 Rocket Partners, LLC. All rights reserved.