public abstract class BaseQueryInterpreter extends Object
| Constructor and Description |
|---|
BaseQueryInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
all()
hook
|
protected abstract void |
and()
hook
|
protected abstract void |
attribute(String name)
hook
|
protected abstract void |
attributeAscending(String name)
hook
|
protected abstract void |
attributeDescending(String name)
hook
|
protected abstract void |
average(String name)
hook
|
protected abstract void |
beginGroup()
hook
|
protected abstract void |
between(String name1,
Object value1,
String name2,
Object value2,
boolean minInclusive,
boolean maxInclusive)
hook
|
protected abstract void |
count()
hook
|
protected abstract void |
endGroup()
hook
|
protected abstract void |
greaterThan(String name,
Object value)
hook
|
protected abstract void |
greaterThanEqual(String name,
Object value)
hook
|
protected abstract void |
groupBy(String name)
hook
|
protected abstract void |
ilike(String name,
String regex)
hook
|
protected abstract void |
includeKeys(boolean include)
hook
|
protected abstract void |
includeValues(boolean include)
hook
|
protected abstract void |
lessThan(String name,
Object value)
hook
|
protected abstract void |
lessThanEqual(String name,
Object value)
hook
|
protected abstract void |
max(String name)
hook
|
protected abstract void |
maxResults(int maxResults)
hook
|
protected abstract void |
min(String name)
hook
|
protected abstract void |
notEqualTerm(String name,
Object value)
hook
|
protected abstract void |
notIlike(String name,
String regex)
hook
|
protected abstract void |
or()
hook
|
void |
process(StoreQuery query)
Interpret this query
|
protected boolean |
shouldIncludeKeys(StoreQuery query)
subclass hook to alter value inclusion behavior
|
protected boolean |
shouldIncludeValues(StoreQuery query)
subclass hook to alter key inclusion behavior
|
protected abstract void |
sum(String name)
hook
|
protected abstract void |
term(String name,
Object value)
hook
|
public void process(StoreQuery query)
query - protected boolean shouldIncludeValues(StoreQuery query)
query - protected boolean shouldIncludeKeys(StoreQuery query)
query - protected abstract void maxResults(int maxResults)
maxResults - protected abstract void includeKeys(boolean include)
include - protected abstract void includeValues(boolean include)
include - protected abstract void max(String name)
name - protected abstract void min(String name)
name - protected abstract void sum(String name)
name - protected abstract void average(String name)
name - protected abstract void count()
protected abstract void attribute(String name)
name - protected abstract void attributeAscending(String name)
name - protected abstract void attributeDescending(String name)
name - protected abstract void groupBy(String name)
name - protected abstract void all()
protected abstract void endGroup()
protected abstract void and()
protected abstract void or()
protected abstract void beginGroup()
protected abstract void greaterThan(String name, Object value)
name - value - protected abstract void greaterThanEqual(String name, Object value)
name - value - protected abstract void between(String name1, Object value1, String name2, Object value2, boolean minInclusive, boolean maxInclusive)
name1 - value1 - name2 - value2 - minInclusive - maxInclusive - protected abstract void notEqualTerm(String name, Object value)
name - value - protected abstract void lessThanEqual(String name, Object value)
name - value - Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.