Class OrderedData

java.lang.Object
  extended byOrderedData

public class OrderedData
extends java.lang.Object

This class is used to reorder data for printing or streaming


Field Summary
 java.util.Vector doc
           
private  double nt
           
 int numberOfTuples
           
 int numPages
           
 java.util.Vector page
           
private  java.util.Vector temp
           
private  java.lang.String tmp
           
 
Constructor Summary
(package private) OrderedData()
          Default constructor
 
Method Summary
 int reorderForPrintingOrStreaming(java.sql.ResultSet rs, int linesForPage, int numberOfColumns)
          Reorder method for ResultSet
 int reorderForPrintingOrStreaming(java.lang.String text, int linesForPage)
          Reorder method for Query/Modification text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nt

private double nt

numberOfTuples

public int numberOfTuples

numPages

public int numPages

temp

private java.util.Vector temp

page

public java.util.Vector page

doc

public java.util.Vector doc

tmp

private java.lang.String tmp
Constructor Detail

OrderedData

OrderedData()
Default constructor

Method Detail

reorderForPrintingOrStreaming

public int reorderForPrintingOrStreaming(java.sql.ResultSet rs,
                                         int linesForPage,
                                         int numberOfColumns)
Reorder method for ResultSet


reorderForPrintingOrStreaming

public int reorderForPrintingOrStreaming(java.lang.String text,
                                         int linesForPage)
Reorder method for Query/Modification text