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)
           
 
Method Summary
 void addRow(arlut.csd.ganymede.DBObject object)
          This method is used to add an object's information to the dumpResult's serializable buffer.
 void addRow(arlut.csd.ganymede.DBObject object, arlut.csd.ganymede.GanymedeSession owner)
          This method is used to add an object's information to the dumpResult's serializable buffer.
 void dissociate()
          This method breaks apart the data structures held by this DumpResult..
 java.util.Vector getFieldRow(int row)
           
 java.util.Vector getHeaders()
           
 arlut.csd.ganymede.Invid getInvid(int row)
           
 java.util.Vector getInvids()
           
 java.lang.Object getResult(int row, int col)
           
 java.util.Vector getRows()
           
 java.util.Vector getTypes()
           
 int resultSize()
           
private  void unpackBuffer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

static final boolean debug
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

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
Constructor Detail

DumpResult

public DumpResult(java.util.Vector fieldDefs)
Method Detail

addRow

public void addRow(arlut.csd.ganymede.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(arlut.csd.ganymede.DBObject object,
                   arlut.csd.ganymede.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 arlut.csd.ganymede.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.