|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.TableInfo
public class TableInfo
A infomation package of table
| Constructor Summary | |
|---|---|
TableInfo(java.lang.String tablename,
int capacity)
The constructor.construct a table infomation |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String column)
add a column into the table |
java.lang.String |
getColumn(int index)
get column name in specified index |
java.lang.String[] |
getColumnNames()
get columns name in this table |
int |
getLength()
get columns number |
java.lang.String |
getTableName()
get table name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableInfo(java.lang.String tablename,
int capacity)
tablename - The table namecapacity - The columns' number in table| Method Detail |
|---|
public void add(java.lang.String column)
column - The column namepublic java.lang.String getTableName()
public java.lang.String[] getColumnNames()
public int getLength()
public java.lang.String getColumn(int index)
index - of column
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||