|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectListNodeC.Table
@ThreadSafe public static final class ListNodeC.Table
The relational store of voters, that (in part) backs a compiled voter list.
TrustEdge.Table| Constructor Summary | |
|---|---|
ListNodeC.Table(ReadyDirectory readyDirectory,
Database database)
Constructs a Table. |
|
| Method Summary | |
|---|---|
(package private) void |
create()
Creates this table in the database. |
(package private) Database |
database()
Returns the database in which this table is stored. |
(package private) void |
drop()
Drops this table from the database. |
(package private) boolean |
exists()
Returns true if this table exists in the database; false otherwise. |
ListNodeC |
get(String voterEmail)
Retrieves a node from this table. |
ListNodeC |
getOrCreate(String voterEmail)
Retrieves a node from this table; or, if none is stored, a default node. |
(package private) List<ListNode> |
getUnbarredNeighbours(String neighbourhoodPath)
Retrieves a list of all unbarred nodes in the same leaf neighbourhood. |
(package private) void |
put(ListNodeC node,
int[] trustEdgeCountArray)
Stores a node. |
(package private) ReadyDirectory |
readyDirectory()
The file-based counterpart to this table. |
(package private) void |
run(ListNodeC.Runner runner)
Passes all nodes of this table through the specified runner. |
String |
schemaName()
The name of this table's schema. |
String |
tableName()
The name of this table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListNodeC.Table(ReadyDirectory readyDirectory,
Database database)
throws IOException
readyDirectory - per readyDirectory()database - per database()
IOException| Method Detail |
|---|
void create()
throws SQLException
SQLExceptionDatabase database()
void drop()
throws SQLException
SQLException
boolean exists()
throws SQLException
SQLException
public ListNodeC get(String voterEmail)
throws SQLException
SQLException
public ListNodeC getOrCreate(String voterEmail)
throws SQLException
SQLException
final List<ListNode> getUnbarredNeighbours(String neighbourhoodPath)
throws SQLException
SQLException
void put(ListNodeC node,
int[] trustEdgeCountArray)
throws SQLException
SQLExceptionReadyDirectory readyDirectory()
void run(ListNodeC.Runner runner) throws SQLException
SQLExceptionpublic String schemaName()
public String tableName()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||