org.sql.generation.implementation.grammar.factories
Class AbstractTableRefFactory

java.lang.Object
  extended by org.sql.generation.implementation.grammar.common.SQLFactoryBase
      extended by org.sql.generation.implementation.grammar.factories.AbstractTableRefFactory
All Implemented Interfaces:
TableReferenceFactory
Direct Known Subclasses:
DefaultTableRefFactory

public abstract class AbstractTableRefFactory
extends SQLFactoryBase
implements TableReferenceFactory

Author:
Stanislav Muhametsin

Constructor Summary
protected AbstractTableRefFactory(SQLVendor vendor, SQLProcessorAggregator processor)
           
 
Method Summary
 TableReferenceByExpression table(QueryExpression query)
           
 TableReferenceByName table(TableName tableName)
           
 TableAlias tableAlias(String tableNameAlias)
           
 TableNameFunction tableName(SQLFunctionLiteral function)
           
 TableNameDirect tableName(String tableName)
           
 
Methods inherited from class org.sql.generation.implementation.grammar.common.SQLFactoryBase
getProcessor, getVendor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sql.generation.api.grammar.factories.TableReferenceFactory
jc, nc, table, table, tableAliasWithCols, tableBuilder, tableName, tableName
 

Constructor Detail

AbstractTableRefFactory

protected AbstractTableRefFactory(SQLVendor vendor,
                                  SQLProcessorAggregator processor)
Method Detail

table

public TableReferenceByName table(TableName tableName)
Specified by:
table in interface TableReferenceFactory

tableName

public TableNameDirect tableName(String tableName)
Specified by:
tableName in interface TableReferenceFactory

tableAlias

public TableAlias tableAlias(String tableNameAlias)
Specified by:
tableAlias in interface TableReferenceFactory

table

public TableReferenceByExpression table(QueryExpression query)
Specified by:
table in interface TableReferenceFactory

tableName

public TableNameFunction tableName(SQLFunctionLiteral function)
Specified by:
tableName in interface TableReferenceFactory


Copyright © 2010-2012. All Rights Reserved.