Represents a datastore
A collection of convenience methods for accessing the datastore from a class
A collection of convenience methods for accessing the datastore from a class
Inherit this trait in your class to get easy access to the private and the public datastore. By default, the group name for all items is the name of the package the class lives in, but you can override it by overriding the datastoreGroup member.
Remembers temporary files and directories that have to be cleaned up before the JVM exits, and cleans them up when the JVM exits.
Remembers temporary files and directories that have to be cleaned up before the JVM exits, and cleans them up when the JVM exits. As opposed to Java's File.deleteonexit(), this can clean up non-empty directories.
Represents a datastore
This is a thin layer over an S3 bucket that stores the data. Data is identified by group ("org.allenai.something"), name ("WordNet"), and version (an integer). It supports files as well as directories.
Items are published to the datastore, and then referred to with the *path() methods. All data is cached, so access to all items should be very fast, except for the first time.
It might make more sense to get Datastore objects from the companion object, rather than creating them here.