|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.AbstractCompoundResultBuilder
wt.pds.CompoundResultBuilder
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private int |
currentIndex
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static int |
INDEX_OFFSET
|
private int |
itemStartOffset
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
private ResultBuilder |
resultBuilder
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.pds.AbstractCompoundResultBuilder |
|
Fields inherited from interface wt.pds.ResultBuilder |
ACCESS_CONTROLLER_PROCESSOR, ATTRIBUTE_MAP_INFO, DESCENDANT_QUERY_TYPE_COMPATIBLE, ITEM_BUILDERS, OBJECT_TABLE |
Constructor Summary | |
CompoundResultBuilder()
|
Method Summary | |
Object[] |
build(ResultSet a_resultSet,
StatementBuilder a_statementBuilder)
Builds object from the result set. |
String |
buildSelect(Vector a_tableInfos,
Vector a_aliases)
Builds the select columns for the results. |
Object |
clone()
Create a deep-copy of this object. |
int |
getCurrentIndex()
Gets the value of the attribute: currentIndex. |
int |
getItemStartOffset()
Gets the value of the attribute: itemStartOffset. |
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(CompoundResultBuilder thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
reset()
Resets the instance so that it can be re-used to process a new result. |
void |
setCurrentIndex(int a_CurrentIndex)
Sets the value of the attribute: currentIndex. |
void |
setItemStartOffset(int a_ItemStartOffset)
Sets the value of the attribute: itemStartOffset. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private transient int itemStartOffset
private transient int currentIndex
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final int INDEX_OFFSET
private transient ResultBuilder resultBuilder
Constructor Detail |
public CompoundResultBuilder()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractCompoundResultBuilder
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractCompoundResultBuilder
input
-
IOException
ClassNotFoundException
protected boolean readVersion(CompoundResultBuilder 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 int getItemStartOffset()
public void setItemStartOffset(int a_ItemStartOffset)
setItemStartOffset
in interface ResultBuilder
setItemStartOffset
in class AbstractCompoundResultBuilder
a_ItemStartOffset
- public int getCurrentIndex()
getCurrentIndex
in class AbstractCompoundResultBuilder
public void setCurrentIndex(int a_CurrentIndex)
setCurrentIndex
in class AbstractCompoundResultBuilder
a_CurrentIndex
- public void reset()
reset
in interface ResultBuilder
reset
in class AbstractCompoundResultBuilder
public String buildSelect(Vector a_tableInfos, Vector a_aliases) throws PersistenceException
buildSelect
in interface ResultBuilder
buildSelect
in class AbstractCompoundResultBuilder
a_tableInfos
- Vector of TableExpression instances to use for building the Select statementa_aliases
- Vector of String aliases to use for building the Select statement
PersistenceException
public Object[] build(ResultSet a_resultSet, StatementBuilder a_statementBuilder) throws PersistenceException
build
in interface ResultBuilder
build
in class AbstractCompoundResultBuilder
a_resultSet
- a_statementBuilder
-
PersistenceException
public Object clone()
ResultBuilder
clone
in interface ResultBuilder
clone
in class AbstractCompoundResultBuilder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |