org.usergrid.persistence.query.tree
Class LiteralFactory

java.lang.Object
  extended by org.usergrid.persistence.query.tree.LiteralFactory

public class LiteralFactory
extends Object

Simple factory for generating literal instance based on the runtime value

Author:
tnine

Constructor Summary
LiteralFactory()
           
 
Method Summary
static Literal<?> getLiteral(Object value)
          Generate the correct literal subclass based on the runtime instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralFactory

public LiteralFactory()
Method Detail

getLiteral

public static final Literal<?> getLiteral(Object value)
Generate the correct literal subclass based on the runtime instance.

Parameters:
value -
Returns:


Copyright © 2013. All Rights Reserved.