|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.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. |
JdbcSchema.Table.Column |
getColumn(String columnName)
Get 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()
Get the name of the table. |
int |
getNumberOfRows()
Get the number of rows in the table. |
String |
getTableType()
Get the table's type. |
JdbcSchema.TableUsageType |
getTableUsageType()
Get the table's usage type. |
int |
getTotalColumnSize()
Get the total size of a row (sum of the column sizes). |
void |
load()
|
void |
print(PrintWriter pw,
String prefix)
|
void |
setTableUsageType(JdbcSchema.TableUsageType tableUsageType)
Set 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
SQLException
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 |