Apache CXF API

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

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

public class SQLPrinterVisitor<T>
extends AbstractUntypedSearchConditionVisitor<T,String>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.jaxrs.ext.search.visitor.AbstractSearchConditionVisitor
AbstractSearchConditionVisitor.ClassValue
 
Constructor Summary
SQLPrinterVisitor()
           
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
protected  StringBuilder getStringBuilder()
           
 void visit(SearchCondition<T> sc)
           
 
Methods inherited from class org.apache.cxf.jaxrs.ext.search.visitor.AbstractUntypedSearchConditionVisitor
getPropertyValue, getQuery, getVisitorState, removeStringBuilder, saveStringBuilder, setVisitorState
 
Methods inherited from class org.apache.cxf.jaxrs.ext.search.visitor.AbstractSearchConditionVisitor
getPrimitiveFieldClass, getPrimitiveFieldClass, getPrimitiveFieldClass, getRealPropertyName, isWildcardStringMatch, setPrimitiveFieldTypeMap, setValidator, setWildcardStringMatch, validatePropertyValue, visitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLPrinterVisitor

public SQLPrinterVisitor()

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)

getStringBuilder

protected StringBuilder getStringBuilder()
Overrides:
getStringBuilder in class AbstractUntypedSearchConditionVisitor<T,String>

Apache CXF API

Apache CXF