jodd.db.orm.sqlgen.chunks
Class JoinOnChunk

java.lang.Object
  extended by jodd.db.orm.sqlgen.chunks.SqlChunk
      extended by jodd.db.orm.sqlgen.chunks.JoinOnChunk

public class JoinOnChunk
extends SqlChunk

Renders joins ON part.


Field Summary
 
Fields inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk
COLS_ALL, COLS_NA, COLS_ONLY_EXISTING, COLS_ONLY_IDS, isColumnChunk, isJoinOnChunk, isTableChunk, nextChunk, previousChunk, query, sqlBuilder
 
Constructor Summary
JoinOnChunk()
           
JoinOnChunk(java.lang.String source, java.lang.String destination)
           
 
Method Summary
protected  TableChunk findPreviousTable(int count)
           
 void init(DbSqlBuilder sqlBuilder)
          Inserts ReferenceJoinChunk after this one.
 void process()
          Process the chunk and prepares the output.
 java.lang.String render()
          Returns processed output.
 
Methods inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk
defineParameter, getNextChunk, getPreviousChunk, insertChunkAfter, isColumnChunk, isJoinOnChunk, isTableChunk, lookupName, lookupTableRef, lookupType, resolveTableRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinOnChunk

public JoinOnChunk(java.lang.String source,
                   java.lang.String destination)

JoinOnChunk

public JoinOnChunk()
Method Detail

findPreviousTable

protected TableChunk findPreviousTable(int count)

init

public void init(DbSqlBuilder sqlBuilder)
Inserts ReferenceJoinChunk after this one.

Overrides:
init in class SqlChunk

process

public void process()
Description copied from class: SqlChunk
Process the chunk and prepares the output.

Specified by:
process in class SqlChunk

render

public java.lang.String render()
Description copied from class: SqlChunk
Returns processed output.

Overrides:
render in class SqlChunk


Copyright ©2008 Jodd Team