|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.BasicStatementBuilder
wt.pds.BasicCompoundStatementBuilder
wt.pds.CompoundStatementBuilder
This class builds a select statement by appending component SQL statements with a Set Operator.
It implements the methods for accessing the Set Operator and component
statements via delegation to a CompoundQuerySpec instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private Vector |
components
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private SetOperator |
setOperator
|
Fields inherited from class wt.pds.BasicCompoundStatementBuilder |
DEBUG |
Fields inherited from class wt.pds.BasicStatementBuilder |
DMLGENERATOR |
Fields inherited from interface wt.pds.StatementBuilder |
CHUNKING_ENABLED, FETCH_SIZE, SQL_STATEMENTS, STATEMENT_COUNT |
Constructor Summary | |
CompoundStatementBuilder()
|
Method Summary | |
private void |
componentsValidate(Vector a_Components)
|
Vector |
getComponents()
Gets the object for the association that plays role: components. |
SetOperator |
getSetOperator()
Gets the object for the association that plays role: setOperator. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(CompoundStatementBuilder thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setComponents(Vector a_Components)
Sets the object for the association that plays role: components. |
private void |
setOperatorValidate(SetOperator a_SetOperator)
|
void |
setSetOperator(SetOperator a_SetOperator)
Sets the object for the association that plays role: setOperator. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.pds.BasicStatementBuilder |
appendBindParameter, buildSQL, clone, getFetchSize, getSqlStatements, getStatement, getStatementCount, insertBindParameterAt, isChunkingEnabled, readVersion, setChunkingEnabled, setFetchSize, setSqlStatements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private SetOperator setOperator
private Vector components
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public CompoundStatementBuilder()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BasicCompoundStatementBuilder
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BasicCompoundStatementBuilder
input
-
IOException
ClassNotFoundException
protected boolean readVersion(CompoundStatementBuilder thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public SetOperator getSetOperator()
getSetOperator
in class BasicCompoundStatementBuilder
public void setSetOperator(SetOperator a_SetOperator) throws WTPropertyVetoException
a_SetOperator
-
WTPropertyVetoException
private void setOperatorValidate(SetOperator a_SetOperator) throws WTPropertyVetoException
a_SetOperator
-
WTPropertyVetoException
public Vector getComponents()
getComponents
in class BasicCompoundStatementBuilder
public void setComponents(Vector a_Components) throws WTPropertyVetoException
a_Components
-
WTPropertyVetoException
private void componentsValidate(Vector a_Components) throws WTPropertyVetoException
a_Components
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |