|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITable
A Table in the databse of the server. The structure of the table (number of columns, datatype of each column etc) are specified once the table is created which is done by the method create(). This interface provides useful methods for handling database tables.
Method Summary | |
---|---|
void |
create()
Creates the table. |
void |
getRidOf()
Removes completely the table from the database. |
Jterator<java.lang.String> |
iterator(java.lang.String ColumnName)
Provides an iterator for all elements in a specified column of the database. |
Jterator<java.lang.String> |
search(java.lang.String IterableCoumn,
java.lang.String SearchColumn,
java.lang.String keyword)
Performs a search in the table. |
Method Detail |
---|
void getRidOf()
Jterator<java.lang.String> iterator(java.lang.String ColumnName)
ColumnName
- The name of the column.
Jterator<java.lang.String> search(java.lang.String IterableCoumn, java.lang.String SearchColumn, java.lang.String keyword)
IterableCoumn
- The column of the table on whose entries the iterator
takes values.SearchColumn
- The column of the table which should be searched.keyword
- A keyword
void create()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |