org.apache.chemistry.opencmis.jcr.query
Class EvaluatorBase<T>

java.lang.Object
  extended by org.apache.chemistry.opencmis.jcr.query.EvaluatorBase<T>
All Implemented Interfaces:
Evaluator<T>
Direct Known Subclasses:
EvaluatorXPath

public abstract class EvaluatorBase<T>
extends java.lang.Object
implements Evaluator<T>

This abstract base class implements all methods of the Evaluator interface by throwing a CmisNotSupportedException.


Constructor Summary
EvaluatorBase()
           
 
Method Summary
 T and(T op1, T op2)
          Handle CmisQlStrictLexer.AND nodes
 T col(java.lang.String name)
          Handle CmisQlStrictLexer.COL nodes
 T contains(T op1, T op2)
          Handle CmisQlStrictLexer.CONTAINS nodes
 T eq(T op1, T op2)
          Handle CmisQlStrictLexer.EQ nodes
 T eqAny(T op1, T op2)
          Handle CmisQlStrictLexer.EQ_ANY nodes
 T gt(T op1, T op2)
          Handle CmisQlStrictLexer.GT nodes
 T gteq(T op1, T op2)
          Handle CmisQlStrictLexer.GTEQ nodes
 T in(T op1, T op2)
          Handle CmisQlStrictLexer.IN nodes
 T inAny(T op1, T op2)
          Handle CmisQlStrictLexer.IN_ANY nodes
 T inFolder(T op1, T op2)
          Handle CmisQlStrictLexer.IN_FOLDER nodes
 T inTree(T op1, T op2)
          Handle CmisQlStrictLexer.IN_TREE nodes
 T isNull(T op)
          Handle CmisQlStrictLexer.IS_NULL nodes
 T like(T op1, T op2)
          Handle CmisQlStrictLexer.LIKE nodes
 T list(java.util.List<T> ops)
          Handle CmisQlStrictLexer.IN_LIST nodes
 T lt(T op1, T op2)
          Handle CmisQlStrictLexer.LT nodes
 T lteq(T op1, T op2)
          Handle CmisQlStrictLexer.LTEQ nodes
 T neq(T op1, T op2)
          Handle CmisQlStrictLexer.NEQ nodes
 T not(T op)
          Handle CmisQlStrictLexer.NOT nodes
 T notIn(T op1, T op2)
          Handle CmisQlStrictLexer.NOT_IN nodes
 T notInAny(T op1, T op2)
          Handle CmisQlStrictLexer.NOT_IN_ANY nodes
 T notIsNull(T op)
          Handle CmisQlStrictLexer.IS_NOT_NULL nodes
 T notLike(T op1, T op2)
          Handle CmisQlStrictLexer.NOT_LIKE nodes
 Evaluator<T> op()
          Create a new instance of this Evaluator.
 T or(T op1, T op2)
          Handle CmisQlStrictLexer.OR nodes
 T value(boolean value)
          Handle CmisQlStrictLexer.BOOL_LIT nodes
 T value(double value)
          Handle CmisQlStrictLexer.NUM_LIT nodes
 T value(java.util.GregorianCalendar value)
          Handle CmisQlStrictLexer.TIME_LIT nodes
 T value(long value)
          Handle CmisQlStrictLexer.NUM_LIT nodes
 T value(java.lang.String value)
          Handle CmisQlStrictLexer.STRING_LIT nodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluatorBase

public EvaluatorBase()
Method Detail

op

public Evaluator<T> op()
Description copied from interface: Evaluator
Create a new instance of this Evaluator.

Specified by:
op in interface Evaluator<T>

not

public T not(T op)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.NOT nodes

Specified by:
not in interface Evaluator<T>

and

public T and(T op1,
             T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.AND nodes

Specified by:
and in interface Evaluator<T>

or

public T or(T op1,
            T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.OR nodes

Specified by:
or in interface Evaluator<T>

eq

public T eq(T op1,
            T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.EQ nodes

Specified by:
eq in interface Evaluator<T>

neq

public T neq(T op1,
             T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.NEQ nodes

Specified by:
neq in interface Evaluator<T>

gt

public T gt(T op1,
            T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.GT nodes

Specified by:
gt in interface Evaluator<T>

gteq

public T gteq(T op1,
              T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.GTEQ nodes

Specified by:
gteq in interface Evaluator<T>

lt

public T lt(T op1,
            T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.LT nodes

Specified by:
lt in interface Evaluator<T>

lteq

public T lteq(T op1,
              T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.LTEQ nodes

Specified by:
lteq in interface Evaluator<T>

in

public T in(T op1,
            T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.IN nodes

Specified by:
in in interface Evaluator<T>

notIn

public T notIn(T op1,
               T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.NOT_IN nodes

Specified by:
notIn in interface Evaluator<T>

inAny

public T inAny(T op1,
               T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.IN_ANY nodes

Specified by:
inAny in interface Evaluator<T>

notInAny

public T notInAny(T op1,
                  T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.NOT_IN_ANY nodes

Specified by:
notInAny in interface Evaluator<T>

eqAny

public T eqAny(T op1,
               T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.EQ_ANY nodes

Specified by:
eqAny in interface Evaluator<T>

isNull

public T isNull(T op)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.IS_NULL nodes

Specified by:
isNull in interface Evaluator<T>

notIsNull

public T notIsNull(T op)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.IS_NOT_NULL nodes

Specified by:
notIsNull in interface Evaluator<T>

like

public T like(T op1,
              T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.LIKE nodes

Specified by:
like in interface Evaluator<T>

notLike

public T notLike(T op1,
                 T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.NOT_LIKE nodes

Specified by:
notLike in interface Evaluator<T>

contains

public T contains(T op1,
                  T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.CONTAINS nodes

Specified by:
contains in interface Evaluator<T>

inFolder

public T inFolder(T op1,
                  T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.IN_FOLDER nodes

Specified by:
inFolder in interface Evaluator<T>

inTree

public T inTree(T op1,
                T op2)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.IN_TREE nodes

Specified by:
inTree in interface Evaluator<T>

list

public T list(java.util.List<T> ops)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.IN_LIST nodes

Specified by:
list in interface Evaluator<T>

value

public T value(boolean value)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.BOOL_LIT nodes

Specified by:
value in interface Evaluator<T>

value

public T value(double value)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.NUM_LIT nodes

Specified by:
value in interface Evaluator<T>

value

public T value(long value)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.NUM_LIT nodes

Specified by:
value in interface Evaluator<T>

value

public T value(java.lang.String value)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.STRING_LIT nodes

Specified by:
value in interface Evaluator<T>

value

public T value(java.util.GregorianCalendar value)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.TIME_LIT nodes

Specified by:
value in interface Evaluator<T>

col

public T col(java.lang.String name)
Description copied from interface: Evaluator
Handle CmisQlStrictLexer.COL nodes

Specified by:
col in interface Evaluator<T>


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.