Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hsqldb
Class Select  view Select download Select.java

java.lang.Object
  extended byorg.hsqldb.Select

class Select
extends java.lang.Object

Class declaration

Version:
1.7.0

Field Summary
private  int aggregateCount
           
private  java.lang.Object[] aggregateRow
           
(package private)  Expression[] eColumn
           
(package private)  Expression eCondition
           
(package private) static int EXCEPT
           
(package private)  Expression havingCondition
           
(package private)  int iGroupLen
           
(package private) static int INTERSECT
           
(package private)  int intoType
           
(package private)  int iOrderLen
           
(package private)  int iResultLen
           
private  boolean isAggregated
           
private  boolean isDistinctAggregate
           
(package private)  boolean isDistinctSelect
           
private  boolean isGrouped
           
(package private)  boolean isIntoTableQuoted
           
(package private)  boolean isPreProcess
           
(package private)  int iUnionType
           
(package private)  int limitCount
           
(package private)  int limitStart
           
(package private)  HsqlName sIntoTable
           
(package private)  Select sUnion
           
(package private)  TableFilter[] tFilter
           
(package private) static int UNION
           
(package private) static int UNIONALL
           
 
Constructor Summary
(package private) Select()
           
 
Method Summary
private  void addAggregateRow(Result x, java.lang.Object[] row, int len, int count)
          Method declaration
private  void buildDistinctAggregates(Result r)
           
private  void buildResult(Result r, int limitcount)
           
(package private)  void checkResolved()
          Method declaration
(package private)  Result getResult(int maxrows)
          maxrow may be 0 to indicate no limit on the number of rows, or -1 to indicate 0 size result (used for pre-processing the selects in view statements.
(package private)  java.lang.Object getValue(int type)
          Method declaration
private  void groupResult(Result r)
           
(package private)  void resolve()
          Method declaration
(package private)  void resolve(TableFilter f, boolean ownfilter)
          Method declaration
(package private)  void setPreProcess()
          Set to preprocess mode
private  void updateAggregateRow(java.lang.Object[] row, java.lang.Object[] n, int len)
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isPreProcess

boolean isPreProcess

isDistinctSelect

boolean isDistinctSelect

isDistinctAggregate

private boolean isDistinctAggregate

isAggregated

private boolean isAggregated

isGrouped

private boolean isGrouped

aggregateRow

private java.lang.Object[] aggregateRow

aggregateCount

private int aggregateCount

tFilter

TableFilter[] tFilter

eCondition

Expression eCondition

havingCondition

Expression havingCondition

eColumn

Expression[] eColumn

iResultLen

int iResultLen

iGroupLen

int iGroupLen

iOrderLen

int iOrderLen

sUnion

Select sUnion

sIntoTable

HsqlName sIntoTable

intoType

int intoType

isIntoTableQuoted

boolean isIntoTableQuoted

iUnionType

int iUnionType

UNION

static final int UNION
See Also:
Constant Field Values

UNIONALL

static final int UNIONALL
See Also:
Constant Field Values

INTERSECT

static final int INTERSECT
See Also:
Constant Field Values

EXCEPT

static final int EXCEPT
See Also:
Constant Field Values

limitStart

int limitStart

limitCount

int limitCount
Constructor Detail

Select

Select()
Method Detail

setPreProcess

void setPreProcess()
Set to preprocess mode


resolve

void resolve()
       throws java.sql.SQLException
Method declaration


resolve

void resolve(TableFilter f,
             boolean ownfilter)
       throws java.sql.SQLException
Method declaration


checkResolved

void checkResolved()
             throws java.sql.SQLException
Method declaration


getValue

java.lang.Object getValue(int type)
                    throws java.sql.SQLException
Method declaration


getResult

Result getResult(int maxrows)
           throws java.sql.SQLException
maxrow may be 0 to indicate no limit on the number of rows, or -1 to indicate 0 size result (used for pre-processing the selects in view statements. positive values limit the size of the result set.


updateAggregateRow

private void updateAggregateRow(java.lang.Object[] row,
                                java.lang.Object[] n,
                                int len)
                         throws java.sql.SQLException
Method declaration


addAggregateRow

private void addAggregateRow(Result x,
                             java.lang.Object[] row,
                             int len,
                             int count)
                      throws java.sql.SQLException
Method declaration


buildResult

private void buildResult(Result r,
                         int limitcount)
                  throws java.sql.SQLException

groupResult

private void groupResult(Result r)
                  throws java.sql.SQLException

buildDistinctAggregates

private void buildDistinctAggregates(Result r)
                              throws java.sql.SQLException