@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
IOExceptionSQLExceptionpublic void init_bars(Trustserver trustserver, TraceNodeW.Table nodeTable) throws ScriptException, SQLException
nodeTable - containing all registered usersScriptExceptionSQLExceptionpublic void create() throws SQLException
SQLException@Warning(value="thread restricted object") Database database()
public final boolean drop() throws SQLException
SQLExceptionList<TrustEdge> listEdgesFrom(IDPair registrant0) throws SQLException
SQLExceptionvoid put(TrustEdge edge) throws SQLException
SQLExceptionReadyDirectory readyDirectory()