arlut.csd.ganymede
Class DumpResult
java.lang.Object
|
+--arlut.csd.ganymede.DumpResult
- All Implemented Interfaces:
- java.io.Serializable
- public class DumpResult
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Field Summary |
(package private) java.lang.StringBuffer |
buffer
|
(package private) static boolean |
debug
|
(package private) java.util.Vector |
fieldDefs
|
(package private) java.util.Vector |
headers
|
(package private) java.util.Vector |
invids
|
(package private) java.util.Vector |
rows
|
(package private) static long |
serialVersionUID
|
(package private) java.util.Vector |
types
|
private boolean |
unpacked
|
|
Constructor Summary |
DumpResult(java.util.Vector fieldDefs)
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
debug
static final boolean debug
serialVersionUID
static final long serialVersionUID
buffer
java.lang.StringBuffer buffer
unpacked
private transient boolean unpacked
fieldDefs
transient java.util.Vector fieldDefs
headers
transient java.util.Vector headers
types
transient java.util.Vector types
invids
transient java.util.Vector invids
rows
transient java.util.Vector rows
DumpResult
public DumpResult(java.util.Vector fieldDefs)
addRow
public void addRow(DBObject object)
- This method is used to add an object's information to
the dumpResult's serializable buffer. It is intended
to be called on the server.
addRow
public void addRow(DBObject object,
GanymedeSession owner)
- This method is used to add an object's information to
the dumpResult's serializable buffer. It is intended
to be called on the server.
getHeaders
public java.util.Vector getHeaders()
getTypes
public java.util.Vector getTypes()
getInvids
public java.util.Vector getInvids()
getInvid
public Invid getInvid(int row)
getRows
public java.util.Vector getRows()
getFieldRow
public java.util.Vector getFieldRow(int row)
getResult
public java.lang.Object getResult(int row,
int col)
resultSize
public int resultSize()
unpackBuffer
private void unpackBuffer()
dissociate
public void dissociate()
- This method breaks apart the data structures held
by this DumpResult.. it is intended to speed garbage
collection when the contents of this DumpResult buffer
have been processed and are no longer needed on the client.