votorola.a
Interface InputStore

All Known Implementing Classes:
Election, Register

public interface InputStore

The input store of an electoral service. The input store contains the raw data that defines the state of an electoral service. It includes voter input, such as votes; and administrative input, such as configuration files. Its filebase is the service directory, typically located at:

votorola-directory/service-name


Method Summary
 String snapshotOutputStoreFilebase()
          Path to the base directory of the snapshot output store, for this electoral service.
 VoterInputTable voterInputTable()
          The relational store of voter input, for this service.
 

Method Detail

snapshotOutputStoreFilebase

String snapshotOutputStoreFilebase()
Path to the base directory of the snapshot output store, for this electoral service. The snapshot output store contains a series of snapshots, copied from the service's input store. It may also contain additional data, derived from the snapshot, such as mounted counts or voter lists.

Multiple services may share the same base directory. The output files for this particular service will be stored in a subdirectory named after the service: snapshotOutputStoreFilebase/service-name.


voterInputTable

VoterInputTable voterInputTable()
The relational store of voter input, for this service. It is a table named "service-name", stored in the service's voter-input database.