1 43 44 package org.exolab.jms.selector; 45 46 import java.util.HashSet ; 47 48 49 60 public interface ExpressionFactory { 61 62 71 Expression binaryOperator(int operator, Expression left, Expression right) 72 throws SelectorException; 73 74 82 Expression unaryOperator(int operator, Expression operand) 83 throws SelectorException; 84 85 92 Expression identifier(String name) throws SelectorException; 93 94 101 Expression isNull(Expression identifier) throws SelectorException; 102 103 112 Expression like(Expression identifier, String pattern, String escape) 113 throws SelectorException; 114 115 126 Expression between(Expression num1, Expression num2, Expression num3) 127 throws SelectorException; 128 129 137 Expression in(Expression identifier, HashSet set) throws SelectorException; 138 139 147 Expression literal(int type, String text) throws SelectorException; 148 149 } | Popular Tags |