|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.db.orm.sqlgen.chunks.SqlChunk
jodd.db.orm.sqlgen.chunks.RawSqlChunk
public class RawSqlChunk
Simply holds hard-coded SQL string that will be appended to the result.
| Field Summary | |
|---|---|
protected java.lang.String |
sql
|
| Fields inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk |
|---|
CHUNK_INSERT, CHUNK_MATCH, CHUNK_RAW, CHUNK_REFERENCE, CHUNK_SELECT_COLUMNS, CHUNK_TABLE, CHUNK_UPDATE, CHUNK_VALUE, chunkType, COLS_ALL, COLS_NA, COLS_ONLY_EXISTING, COLS_ONLY_IDS, nextChunk, previousChunk, templateData |
| Constructor Summary | |
|---|---|
RawSqlChunk(java.lang.String sql)
|
|
| Method Summary | |
|---|---|
SqlChunk |
clone()
Clones all parsed chunk data to an instance that is ready for processing. |
void |
process(java.lang.StringBuilder out)
Process the chunk and appends data to the output. |
| Methods inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk |
|---|
appendMissingSpace, defineParameter, getNextChunk, getPreviousChunk, init, insertChunkAfter, isPreviousChunkOfSameType, isPreviousChunkOfType, isPreviousMacroChunk, isPreviousRawChunk, lookupName, lookupTableRef, lookupType, resolveClass, resolveTable, separateByCommaOrSpace |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String sql
| Constructor Detail |
|---|
public RawSqlChunk(java.lang.String sql)
| Method Detail |
|---|
public void process(java.lang.StringBuilder out)
SqlChunk
process in class SqlChunkpublic SqlChunk clone()
SqlChunk
clone in class SqlChunk
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||