public class LayerPlan
extends java.lang.Object
| Constructor and Description | 
|---|
LayerPlan(SearchPlan searchPlan,
         DBClass dbClass,
         VirtualDB layer,
         DBCriteria criteria,
         boolean useIndexes)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
generate()  | 
DBCriteria | 
getCriteria()  | 
DBClass | 
getDBClass()  | 
VirtualDB | 
getLayer()  | 
DBField | 
getNullField()  | 
boolean | 
getRecordClauses()  | 
SearchPlan | 
getSearchPlan()  | 
DBPathClause | 
getSelectableClause(int pos)  | 
int | 
getSelectableClauseCount()  | 
int | 
getStep(DBPathClause theClause)  | 
int | 
getStepCount()  | 
boolean | 
isBottomLevel()
is this the bottom layer ? 
 | 
boolean | 
isIndexed(DBPathClause pc)
is this field indexed. 
 | 
boolean | 
isIndexed(DBPathClause pc,
         boolean allowLeadingWildCard)
is this field indexed. 
 | 
void | 
setRecordClauses(boolean flag)  | 
void | 
setStep(int step)  | 
public LayerPlan(SearchPlan searchPlan, DBClass dbClass, VirtualDB layer, DBCriteria criteria, boolean useIndexes) throws java.lang.Exception
searchPlan - the search plan.dbClass - the classlayer - the layercriteria - the criteriauseIndexes - use the indexes.java.lang.Exception - a serious problem.public void generate()
              throws java.lang.Exception
java.lang.Exception - a serious problempublic DBClass getDBClass()
public boolean isIndexed(DBPathClause pc)
pc - the clausepublic boolean isIndexed(DBPathClause pc, boolean allowLeadingWildCard)
pc - the clauseallowLeadingWildCard - should we allow a leading wild cardpublic int getStep(DBPathClause theClause)
theClause - the clausepublic int getStepCount()
public void setStep(int step)
step - the steppublic DBPathClause getSelectableClause(int pos)
pos - the positionpublic DBCriteria getCriteria()
public int getSelectableClauseCount()
public boolean isBottomLevel()
public VirtualDB getLayer()
public DBField getNullField()
public SearchPlan getSearchPlan()
public void setRecordClauses(boolean flag)
flag - record the clausespublic boolean getRecordClauses()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.