net.csdn.jpa.hql
Class WowWhereParser

java.lang.Object
  extended by net.csdn.jpa.hql.WowWhereParser

public class WowWhereParser
extends Object

User: WilliamZhu Date: 12-7-21 Time: 下午8:28 note: 目前实现一个简单字符解析器。适当的时候将它调整为语法树。


Field Summary
static String HQL_SEPARATORS
           
 
Constructor Summary
WowWhereParser(Set columns, String alias)
           
 
Method Summary
 void parse(String wheres)
           
static String root(String qualifiedName)
           
 String toHql()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HQL_SEPARATORS

public static final String HQL_SEPARATORS
See Also:
Constant Field Values
Constructor Detail

WowWhereParser

public WowWhereParser(Set columns,
                      String alias)
Method Detail

parse

public void parse(String wheres)

toHql

public String toHql()

root

public static String root(String qualifiedName)


Copyright © 2014. All Rights Reserved.