@ThreadSafe public static final class Membership.Table extends Object
TraceNodeW.Table
Modifier and Type | Field and Description |
---|---|
(package private) static String |
SCHEMA_NAME
The name of the table's schema.
|
Constructor and Description |
---|
Membership.Table(ReadyDirectory readyDirectory,
Database database)
Constructs a Table.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
create()
Creates this table in the database.
|
(package private) Database |
database()
The database in which this table is stored.
|
HashSet<String> |
divisionSet(String registrantEmail)
Retrieves the set of all divisions for the specified registrant.
|
(package private) boolean |
drop()
Drops this table from the database if it exists.
|
(package private) void |
put(Membership membership)
Stores a membership in this table.
|
(package private) ReadyDirectory |
readyDirectory()
The file-based counterpart to this table.
|
static final String SCHEMA_NAME
public Membership.Table(ReadyDirectory readyDirectory, Database database) throws IOException, SQLException
IOException
SQLException
void create() throws SQLException
SQLException
@Warning(value="thread restricted object") Database database()
public HashSet<String> divisionSet(String registrantEmail) throws SQLException
SQLException
final boolean drop() throws SQLException
SQLException
void put(Membership membership) throws SQLException
SQLException
ReadyDirectory readyDirectory()