|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kodo.jdbc.sql.AdvancedSQL
public class AdvancedSQL
Handles advanced SQL functionality.
Field Summary | |
---|---|
protected JDBCConfiguration |
conf
|
protected DBDictionary |
dict
|
Constructor Summary | |
---|---|
AdvancedSQL()
|
Method Summary | |
---|---|
boolean |
canBatch(Column col)
Returns type if the specified column can be included in batch statements. |
void |
endConfiguration()
|
int |
getBatchLimit()
Maximum number of batched statements, or -1 for no limit. |
int |
getBatchParameterLimit()
Maximum number of combined parameters in batched statements, or -1 for no limit. |
boolean |
getSupportsTotalCountsForBatch()
Whether the driver returns a total update count for batched statements. |
boolean |
getSupportsUnion()
Union support. |
boolean |
getSupportsUnionWithUnalignedOrdering()
Support for unions with ordering on unaligned but same-aliased columns. |
boolean |
getSupportsUpdateCountsForBatch()
Whether the driver returns individual update counts for batched updates. |
void |
setBatchLimit(int batchLimit)
Maximum number of batched statements, or -1 for no limit. |
void |
setBatchParameterLimit(int batchLimit)
Maximum number of combined parameters in batched statements, or -1 for no limit. |
void |
setConfiguration(Configuration c)
|
void |
setSupportsTotalCountsForBatch(boolean supports)
Whether the driver returns a total update count for batched statements. |
void |
setSupportsUnion(boolean supports)
Union support. |
void |
setSupportsUnionWithUnalignedOrdering(boolean supports)
Support for unions with ordering on unaligned but same-aliased columns. |
void |
setSupportsUpdateCountsForBatch(boolean supports)
Whether the driver returns individual update counts for batched updates. |
void |
startConfiguration()
|
SQLBuffer |
toSelect(Union union,
boolean forUpdate,
JDBCFetchConfiguration fetch)
Create a UNION. |
SQLBuffer |
toSelectCount(Union union)
Create a UNION count. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JDBCConfiguration conf
protected DBDictionary dict
Constructor Detail |
---|
public AdvancedSQL()
Method Detail |
---|
public boolean getSupportsUnion()
public void setSupportsUnion(boolean supports)
public boolean getSupportsUnionWithUnalignedOrdering()
public void setSupportsUnionWithUnalignedOrdering(boolean supports)
public int getBatchLimit()
public void setBatchLimit(int batchLimit)
public int getBatchParameterLimit()
public void setBatchParameterLimit(int batchLimit)
public boolean getSupportsUpdateCountsForBatch()
public void setSupportsUpdateCountsForBatch(boolean supports)
public boolean getSupportsTotalCountsForBatch()
public void setSupportsTotalCountsForBatch(boolean supports)
public SQLBuffer toSelectCount(Union union)
public SQLBuffer toSelect(Union union, boolean forUpdate, JDBCFetchConfiguration fetch)
public boolean canBatch(Column col)
public void setConfiguration(Configuration c)
setConfiguration
in interface Configurable
public void startConfiguration()
startConfiguration
in interface Configurable
public void endConfiguration()
endConfiguration
in interface Configurable
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |