|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.aggmatcher.JdbcSchema.Table
public class JdbcSchema.Table
A table in a database.
| Nested Class Summary | |
|---|---|
class |
JdbcSchema.Table.Column
A column in a table. |
| Field Summary | |
|---|---|
MondrianDef.Table |
table
|
| Method Summary | |
|---|---|
boolean |
constainsColumn(String columnName)
Return true if this table contains a column with the given name. |
void |
flushUsages()
flushes all star usage references |
JdbcSchema.Table.Column |
getColumn(String columnName)
Returns a column by its name. |
Collection<JdbcSchema.Table.Column> |
getColumns()
Returns the collection of columns in this Table. |
Iterator<JdbcSchema.Table.Column.Usage> |
getColumnUsages(JdbcSchema.UsageType usageType)
Returns an iterator over all column usages of a given type. |
String |
getName()
Returns the name of the table. |
int |
getNumberOfRows()
Returns the number of rows in the table. |
String |
getTableType()
Returns the table's type. |
JdbcSchema.TableUsageType |
getTableUsageType()
Returns the table's usage type. |
int |
getTotalColumnSize()
Returns the total size of a row (sum of the column sizes). |
void |
load()
|
void |
print(PrintWriter pw,
String prefix)
|
void |
setTableUsageType(JdbcSchema.TableUsageType tableUsageType)
Sets the table usage (fact, aggregate or other). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public MondrianDef.Table table
| Method Detail |
|---|
public void load()
throws SQLException
SQLExceptionpublic void flushUsages()
public String getName()
public int getTotalColumnSize()
public int getNumberOfRows()
public Collection<JdbcSchema.Table.Column> getColumns()
public Iterator<JdbcSchema.Table.Column.Usage> getColumnUsages(JdbcSchema.UsageType usageType)
public JdbcSchema.Table.Column getColumn(String columnName)
public boolean constainsColumn(String columnName)
public void setTableUsageType(JdbcSchema.TableUsageType tableUsageType)
tableUsageType - public JdbcSchema.TableUsageType getTableUsageType()
public String getTableType()
public String toString()
toString in class Object
public void print(PrintWriter pw,
String prefix)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||