@ThreadSafe public static final class TrustEdge.Table extends Object
TraceNodeW.Table
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_NAME
The name of the table's schema.
|
Constructor and Description |
---|
TrustEdge.Table(ReadyDirectory readyDirectory,
Database database)
Constructs a Table.
|
Modifier and Type | Method and Description |
---|---|
void |
create()
Creates this table in the database.
|
(package private) Database |
database()
The database in which this table is stored.
|
boolean |
drop()
Drops this table from the database if it exists.
|
void |
init_bars(Trustserver trustserver,
TraceNodeW.Table nodeTable)
For each trust edge in the table, calculate and store its edge bar, if any.
|
(package private) List<TrustEdge> |
listEdgesFrom(IDPair registrant0)
Retrieves all edges that extend from the specified source registrant.
|
(package private) void |
put(TrustEdge edge)
Stores an edge in this table.
|
(package private) ReadyDirectory |
readyDirectory()
The file-based counterpart to this table.
|
public static final String SCHEMA_NAME
public TrustEdge.Table(ReadyDirectory readyDirectory, Database database) throws IOException, SQLException
IOException
SQLException
public void init_bars(Trustserver trustserver, TraceNodeW.Table nodeTable) throws ScriptException, SQLException
nodeTable
- containing all registered usersScriptException
SQLException
public void create() throws SQLException
SQLException
@Warning(value="thread restricted object") Database database()
public final boolean drop() throws SQLException
SQLException
List<TrustEdge> listEdgesFrom(IDPair registrant0) throws SQLException
SQLException
void put(TrustEdge edge) throws SQLException
SQLException
ReadyDirectory readyDirectory()