com.ap.straight
Class HashTable
java.lang.Object
com.ap.straight.HashTable
- public class HashTable
- extends java.lang.Object
Method Summary |
void |
addColumn(java.lang.String name,
java.lang.Class type)
|
void |
addRow(java.util.Vector values)
|
com.ap.straight.condition.Condition |
createCondition(java.lang.String[] cond)
|
com.ap.straight.condition.Condition |
createCondition(java.lang.String subject,
java.lang.String operator,
java.lang.String predicate)
|
int |
delete(com.ap.straight.condition.Condition condition)
|
void |
deleteRow(int index)
|
Column |
getColumn(java.lang.String name)
|
int |
getColumnCount()
|
java.lang.String |
getName()
|
java.sql.ResultSet |
select(java.sql.Statement stmt,
java.lang.String[] fields,
com.ap.straight.condition.Condition conditions)
|
java.sql.ResultSet |
selectCount(java.sql.Statement stmt,
java.lang.String[] fields,
com.ap.straight.condition.Condition conditions)
|
void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HashTable
public HashTable()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
addColumn
public void addColumn(java.lang.String name,
java.lang.Class type)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addRow
public void addRow(java.util.Vector values)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
deleteRow
public void deleteRow(int index)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getColumn
public Column getColumn(java.lang.String name)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getColumnCount
public int getColumnCount()
createCondition
public com.ap.straight.condition.Condition createCondition(java.lang.String[] cond)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createCondition
public com.ap.straight.condition.Condition createCondition(java.lang.String subject,
java.lang.String operator,
java.lang.String predicate)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
selectCount
public java.sql.ResultSet selectCount(java.sql.Statement stmt,
java.lang.String[] fields,
com.ap.straight.condition.Condition conditions)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
select
public java.sql.ResultSet select(java.sql.Statement stmt,
java.lang.String[] fields,
com.ap.straight.condition.Condition conditions)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
delete
public int delete(com.ap.straight.condition.Condition condition)
throws java.sql.SQLException
- Throws:
java.sql.SQLException