Apache CXF API

org.apache.cxf.jaxrs.ext.search.sql
Class SQLPrinterVisitor<T>

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.search.AbstractSearchConditionVisitor<T>
      extended by org.apache.cxf.jaxrs.ext.search.sql.SQLPrinterVisitor<T>
All Implemented Interfaces:
SearchConditionVisitor<T>
Direct Known Subclasses:
JPALanguageVisitor

public class SQLPrinterVisitor<T>
extends AbstractSearchConditionVisitor<T>


Constructor Summary
SQLPrinterVisitor(Map<String,String> fieldMap, String table, List<String> columns)
           
SQLPrinterVisitor(Map<String,String> fieldMap, String table, String tableAlias, List<String> columns)
           
SQLPrinterVisitor(String table, String... columns)
           
 
Method Summary
 String getQuery()
           
 String getResult()
          Deprecated. 
 void visit(SearchCondition<T> sc)
           
 
Methods inherited from class org.apache.cxf.jaxrs.ext.search.AbstractSearchConditionVisitor
getRealPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLPrinterVisitor

public SQLPrinterVisitor(String table,
                         String... columns)

SQLPrinterVisitor

public SQLPrinterVisitor(Map<String,String> fieldMap,
                         String table,
                         List<String> columns)

SQLPrinterVisitor

public SQLPrinterVisitor(Map<String,String> fieldMap,
                         String table,
                         String tableAlias,
                         List<String> columns)
Method Detail

visit

public void visit(SearchCondition<T> sc)

getResult

@Deprecated
public String getResult()
Deprecated. 


getQuery

public String getQuery()

Apache CXF API

Apache CXF