|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.rolap.aggmatcher.JdbcSchema.Table.Column
public class JdbcSchema.Table.Column
A column in a table.
Nested Class Summary | |
---|---|
class |
JdbcSchema.Table.Column.Usage
A usage of a column. |
Field Summary | |
---|---|
MondrianDef.Column |
column
|
Method Summary | |
---|---|
int |
getCharOctetLength()
For char types the maximum number of bytes in the column. |
int |
getColumnSize()
Returns the size in bytes of the column in the database. |
Dialect.Datatype |
getDatatype()
Return true if this column is numeric. |
int |
getDecimalDigits()
Returns number of fractional digits. |
String |
getName()
Returns the column's name in the database, not a symbolic name. |
int |
getNumPrecRadix()
Returns Radix (typically either 10 or 2). |
JdbcSchema.Table |
getTable()
Returns this column's table. |
int |
getType()
Returns the columnIter java.sql.Type enun of the column. |
String |
getTypeName()
Returns the columnIter java.sql.Type name. |
List<JdbcSchema.Table.Column.Usage> |
getUsages()
Returns an iterator over all usages. |
Iterator<JdbcSchema.Table.Column.Usage> |
getUsages(JdbcSchema.UsageType usageType)
Returns an iterator over all usages of the given column type. |
boolean |
hasUsage()
Return true if the column has at least one usage. |
boolean |
hasUsage(JdbcSchema.UsageType columnType)
Return true if the column has at least one usage of the given column type. |
boolean |
isNullable()
False means the column definitely does not allow NULL values. |
JdbcSchema.Table.Column.Usage |
newUsage(JdbcSchema.UsageType usageType)
Create a new usage of a given column type. |
int |
numberOfUsages()
How many usages does this column have. |
void |
print(PrintWriter pw,
String prefix)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final MondrianDef.Column column
Method Detail |
---|
public String getName()
public int getType()
public String getTypeName()
public JdbcSchema.Table getTable()
public Dialect.Datatype getDatatype()
public int getColumnSize()
public int getDecimalDigits()
public int getNumPrecRadix()
public int getCharOctetLength()
public boolean isNullable()
public int numberOfUsages()
public boolean hasUsage()
public boolean hasUsage(JdbcSchema.UsageType columnType)
public List<JdbcSchema.Table.Column.Usage> getUsages()
public Iterator<JdbcSchema.Table.Column.Usage> getUsages(JdbcSchema.UsageType usageType)
public JdbcSchema.Table.Column.Usage newUsage(JdbcSchema.UsageType usageType)
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 |