com.google.appengine.api.search.dev
Class ExpressionBuilder

java.lang.Object
  extended by com.google.appengine.api.search.dev.ExpressionBuilder

public class ExpressionBuilder
extends java.lang.Object

Builder class for construction Expression objects used to evaluate expressions per document.


Nested Class Summary
static class ExpressionBuilder.EmptyExpression
          Empty Expression, which is evaluated if the input string was empty.
static class ExpressionBuilder.IntValueExpression
          Expression which evaluates to numeric constant.
 
Constructor Summary
ExpressionBuilder(java.util.Map<java.lang.String,java.util.Set<ContentType>> fieldTypes)
           
 
Method Summary
 Expression parse(java.lang.String expr)
          Constructs Expression object given string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionBuilder

public ExpressionBuilder(java.util.Map<java.lang.String,java.util.Set<ContentType>> fieldTypes)
Method Detail

parse

public Expression parse(java.lang.String expr)
Constructs Expression object given string representation.