|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.farrago.session.FarragoSessionAnalyzedSql
public class FarragoSessionAnalyzedSql
FarragoSessionAnalyzedSql contains the results of the analyzeSql call used while processing SQL expressions contained by DDL statements such as CREATE VIEW and CREATE FUNCTION.
Field Summary | |
---|---|
String |
canonicalString
The text of the SQL expression after expansion by the validator. |
List<Set<RelColumnOrigin>> |
columnOrigins
Information about column origins, in same order as resultType row; null if expression is not a query. |
Set<CwmModelElement> |
dependencies
Set of catalog objects on which the expression directly depends. |
boolean |
hasDynamicParams
True if the expression contains dynamic parameter markers. |
boolean |
hasTopLevelOrderBy
True if the expression is a query with a top-level ORDER BY. |
boolean |
optimized
True if post-optimization analysis was requested. |
RelDataType |
paramRowType
Metadata for parameters used as input to the expression. |
RelDataType |
resultType
Metadata for result set returned when the expression is executed: a row type for a query expression, or a single type for a non-query expression. |
double |
rowCount
Estimated number of rows returned; invalid if expression is not a query, or no optimization was requested. |
Constructor Summary | |
---|---|
FarragoSessionAnalyzedSql()
|
Method Summary | |
---|---|
void |
setModality(FemAbstractColumnSet colSet)
|
void |
setResultType(RelDataType resultType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean optimized
public String canonicalString
public Set<CwmModelElement> dependencies
public RelDataType resultType
public RelDataType paramRowType
public boolean hasTopLevelOrderBy
public boolean hasDynamicParams
public List<Set<RelColumnOrigin>> columnOrigins
public double rowCount
Constructor Detail |
---|
public FarragoSessionAnalyzedSql()
Method Detail |
---|
public void setResultType(RelDataType resultType)
public void setModality(FemAbstractColumnSet colSet)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |