@ThreadSafe public static final class TraceNodeW.Table extends Object
TrustEdge.Table
,
Membership.Table
Modifier and Type | Field and Description |
---|---|
(package private) static String |
SCHEMA_NAME
The name of the table's schema.
|
Constructor and Description |
---|
TraceNodeW.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.
|
(package private) boolean |
drop()
Drops this table from the database if it exists.
|
TraceNodeW |
get(IDPair registrant)
Retrieves a node from this table.
|
TraceNodeW |
getOrCreate(IDPair registrant)
Retrieves a node from this table; or if none is stored, a default node.
|
(package private) void |
put(TraceNodeW node,
int[] trustEdgeCountArray)
Stores a node.
|
(package private) ReadyDirectory |
readyDirectory()
The file-based counterpart to this table.
|
void |
run(TraceNodeW.Runner runner)
Pass through the specified runner all nodes of this table.
|
(package private) String |
tableName()
The name of this table.
|
static final String SCHEMA_NAME
public TraceNodeW.Table(ReadyDirectory readyDirectory, Database database) throws IOException, SQLException
IOException
SQLException
void create() throws SQLException
SQLException
@Warning(value="thread restricted object") Database database()
final boolean drop() throws SQLException
SQLException
public TraceNodeW get(IDPair registrant) throws SQLException
SQLException
public TraceNodeW getOrCreate(IDPair registrant) throws SQLException
SQLException
void put(TraceNodeW node, int[] trustEdgeCountArray) throws SQLException
SQLException
ReadyDirectory readyDirectory()
public void run(TraceNodeW.Runner runner) throws SQLException
SQLException