|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.relopt.RelOptAbstractTable
net.sf.farrago.query.FarragoQueryNamedColumnSet
public abstract class FarragoQueryNamedColumnSet
An abstract base for implementations of RelOptTable which access data described by Farrago's catalog.
| Field Summary | |
|---|---|
private SqlAccessType |
allowedAccess
Allowed access |
private CwmNamedColumnSet |
cwmColumnSet
Catalog definition of column set. |
private FarragoPreparingStmt |
preparingStmt
Refinement for RelOptAbstractTable.schema. |
| Fields inherited from class org.eigenbase.relopt.RelOptAbstractTable |
|---|
name, rowType, schema |
| Constructor Summary | |
|---|---|
FarragoQueryNamedColumnSet(CwmNamedColumnSet cwmColumnSet,
RelDataType rowType)
Creates a new FarragoQueryNamedColumnSet object. |
|
| Method Summary | |
|---|---|
SqlAccessType |
getAllowedAccess()
Returns the access type of the table |
CwmNamedColumnSet |
getCwmColumnSet()
|
SqlMonotonicity |
getMonotonicity(String columnName)
Returns whether a given column is monotonic. |
FarragoPreparingStmt |
getPreparingStmt()
|
String[] |
getQualifiedName()
Obtains an identifier for this table. |
void |
setCwmColumnSet(CwmNamedColumnSet cwmColumnSet)
Sets the CwmNamedColumnSet corresponding to this column set. |
void |
setPreparingStmt(FarragoPreparingStmt stmt)
Sets the FarragoPreparingStmt acting on this column set. |
| Methods inherited from class org.eigenbase.relopt.RelOptAbstractTable |
|---|
getCollationList, getName, getRelOptSchema, getRowCount, getRowType, setRowType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eigenbase.relopt.RelOptTable |
|---|
getCollationList, getRelOptSchema, getRowCount, getRowType, toRel |
| Methods inherited from interface org.eigenbase.sql.validate.SqlValidatorTable |
|---|
getRowType |
| Field Detail |
|---|
private CwmNamedColumnSet cwmColumnSet
private FarragoPreparingStmt preparingStmt
private SqlAccessType allowedAccess
| Constructor Detail |
|---|
FarragoQueryNamedColumnSet(CwmNamedColumnSet cwmColumnSet,
RelDataType rowType)
cwmColumnSet - catalog definition for column setrowType - type for rows stored in column set| Method Detail |
|---|
public String[] getQualifiedName()
RelOptTable
getQualifiedName in interface RelOptTablegetQualifiedName in interface SqlValidatorTablegetQualifiedName in class RelOptAbstractTablepublic SqlMonotonicity getMonotonicity(String columnName)
SqlValidatorTable
getMonotonicity in interface SqlValidatorTablepublic SqlAccessType getAllowedAccess()
SqlValidatorTable
getAllowedAccess in interface SqlValidatorTablepublic FarragoPreparingStmt getPreparingStmt()
getPreparingStmt in interface FarragoQueryColumnSetpublic void setPreparingStmt(FarragoPreparingStmt stmt)
FarragoQueryColumnSet
setPreparingStmt in interface FarragoQueryColumnSetstmt - the FarragoPreparingStmt to setpublic void setCwmColumnSet(CwmNamedColumnSet cwmColumnSet)
FarragoQueryColumnSet
setCwmColumnSet in interface FarragoQueryColumnSetcwmColumnSet - the CwmNamedColumnSet, or null if this column set is
not defined in the catalogpublic CwmNamedColumnSet getCwmColumnSet()
getCwmColumnSet in interface FarragoQueryColumnSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||