ehcache

net.sf.ehcache.search.impl
Class BaseQueryInterpreter

java.lang.Object
  extended by net.sf.ehcache.search.impl.BaseQueryInterpreter

public abstract class BaseQueryInterpreter
extends Object

Base class for interpreting store queries.

Author:
teck

Constructor Summary
BaseQueryInterpreter()
           
 
Method Summary
protected abstract  void all()
          hook
protected abstract  void and(And criteria)
          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 between(Between criteria)
          hook
protected abstract  void count()
          hook
protected abstract  void equalTo(EqualTo criteria)
          hook
protected abstract  void greaterThan(GreaterThan criteria)
          hook
protected abstract  void greaterThanEqual(GreaterThanOrEqual criteria)
          hook
protected abstract  void groupBy(String name)
          hook
protected abstract  void ilike(ILike criteria)
          hook
protected abstract  void in(InCollection criteria)
          hook
protected abstract  void includeKeys(boolean include)
          hook
protected abstract  void includeValues(boolean include)
          hook
protected abstract  void isNull(IsNull criteria)
          hook
protected abstract  void lessThan(LessThan lt)
          hook
protected abstract  void lessThanEqual(LessThanOrEqual lte)
          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(NotEqualTo term)
          hook
protected abstract  void notIlike(NotILike criteria)
          hook
protected abstract  void notNull(NotNull criteria)
          hook
protected abstract  void or(Or criteria)
          hook
 void process(StoreQuery query)
          Interpret this query
protected  void processCriteria(Criteria criteria)
           
protected abstract  void setHints(ExecutionHints hints)
          hook
protected abstract  void sum(String name)
          hook
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseQueryInterpreter

public BaseQueryInterpreter()
Method Detail

process

public void process(StoreQuery query)
Interpret this query

Parameters:
query -

processCriteria

protected void processCriteria(Criteria criteria)
Parameters:
criteria - search criteria

maxResults

protected abstract void maxResults(int maxResults)
hook

Parameters:
maxResults -

includeKeys

protected abstract void includeKeys(boolean include)
hook

Parameters:
include -

includeValues

protected abstract void includeValues(boolean include)
hook

Parameters:
include -

max

protected abstract void max(String name)
hook

Parameters:
name -

min

protected abstract void min(String name)
hook

Parameters:
name -

sum

protected abstract void sum(String name)
hook

Parameters:
name -

average

protected abstract void average(String name)
hook

Parameters:
name -

count

protected abstract void count()
hook


attribute

protected abstract void attribute(String name)
hook

Parameters:
name -

attributeAscending

protected abstract void attributeAscending(String name)
hook

Parameters:
name -

attributeDescending

protected abstract void attributeDescending(String name)
hook

Parameters:
name -

groupBy

protected abstract void groupBy(String name)
hook

Parameters:
name -

ilike

protected abstract void ilike(ILike criteria)
hook


isNull

protected abstract void isNull(IsNull criteria)
hook


notNull

protected abstract void notNull(NotNull criteria)
hook


all

protected abstract void all()
hook


and

protected abstract void and(And criteria)
hook


or

protected abstract void or(Or criteria)
hook


in

protected abstract void in(InCollection criteria)
hook


equalTo

protected abstract void equalTo(EqualTo criteria)
hook


notIlike

protected abstract void notIlike(NotILike criteria)
hook


greaterThan

protected abstract void greaterThan(GreaterThan criteria)
hook


greaterThanEqual

protected abstract void greaterThanEqual(GreaterThanOrEqual criteria)
hook


between

protected abstract void between(Between criteria)
hook


notEqualTerm

protected abstract void notEqualTerm(NotEqualTo term)
hook


lessThanEqual

protected abstract void lessThanEqual(LessThanOrEqual lte)
hook


lessThan

protected abstract void lessThan(LessThan lt)
hook


setHints

protected abstract void setHints(ExecutionHints hints)
hook


ehcache

Copyright 2001-2017, Terracotta, Inc.