org.apache.cxf.jaxrs.ext.search.sql
Class SQLPrinterVisitor<T>
java.lang.Object
org.apache.cxf.jaxrs.ext.search.sql.SQLPrinterVisitor<T>
- All Implemented Interfaces:
- SearchConditionVisitor<T>
public class SQLPrinterVisitor<T>
- extends Object
- implements SearchConditionVisitor<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLPrinterVisitor
public SQLPrinterVisitor(String table,
String... columns)
SQLPrinterVisitor
public SQLPrinterVisitor(Map<String,String> fieldMap,
String table,
String... columns)
visit
public void visit(SearchCondition<T> sc)
- Specified by:
visit
in interface SearchConditionVisitor<T>
getResult
public String getResult()
- Description copied from interface:
SearchConditionVisitor
- Recover the accumulated query
- Specified by:
getResult
in interface SearchConditionVisitor<T>
- Returns:
- query string
Apache CXF