Exception indicating that we tried to access a datastore that we don't have access to.
Exception indicating that we tried to access a datastore that we don't have access to.
Exception indicating that we tried to upload an item to the datastore that already exists.
Exception indicating that we tried to upload an item to the datastore that already exists.
Data in the datastore is (mostly) immutable. Replacing an item is possible, but you have to set a flag. If you don't set the flag, and you're replacing something, this exception gets thrown.
Exception indicating that we tried to access an item in the datastore that wasn't there.
Exception indicating that we tried to access an item in the datastore that wasn't there.
Common base class for all datastore exceptions, so they can be caught together
Common base class for all datastore exceptions, so they can be caught together
Identifies a single version of a file or directory in the datastore
Identifies a single version of a file or directory in the datastore
Returns the name of the bucket backing this datastore
Returns the name of the bucket backing this datastore
Creates the bucket backing this datastore if necessary
Creates the bucket backing this datastore if necessary
You only need to call this if you're setting up a new datastore.
Checks whether a directory exists in the datastore
Checks whether a directory exists in the datastore
group of the directory in the datastore
name of the directory in the datastore
version of the directory in the datastore
true if the directory exists, false otherwise
Gets a local path for a directory in the datastore
Gets a local path for a directory in the datastore
Downloads the directory from S3 if necessary
the group of the directory
the name of the directory
the version of the directory
path to the directory on the local filesystem
Gets a URL for a directory in the datastore
Gets a URL for a directory in the datastore
group of the directory
name of the directory
version of the directory
URL pointing to the directory. This URL will always point to a zip file containing the directory's contents.
Checks whether an item exists in the datastore
Checks whether an item exists in the datastore
locator of the item in the datastore
true if the item exists, false otherwise
Checks whether a file exists in the datastore
Checks whether a file exists in the datastore
group of the file in the datastore
name of the file in the datastore
version of the file in the datastore
true if the file exists, false otherwise
Gets a local path for a file in the datastore
Gets a local path for a file in the datastore
Downloads the file from S3 if necessary
the group of the file
the name of the file
the version of the file
path to the file on the local filesystem
Gets a URL for a file in the datastore
Gets a URL for a file in the datastore
group of the file
name of the file
version of the file
URL pointing to the file
Lists all items in a group
Lists all items in a group
group to search over
a set of locators, one for each item in the group. Multiple versions are multiple locators.
Lists all groups in the datastore
Lists all groups in the datastore
a set of all groups in the datastore
name of the datastore.
name of the datastore. Corresponds to the name of the bucket in S3. Currently we have "public" and "private".
Gets a local path for an item in the datastore
Gets a local path for an item in the datastore
Downloads the item from S3 if necessary
locator for the item in the datastore
path to the item on the local filesystem
Publishes an item to the datastore
Publishes an item to the datastore
path to the item to be published
locator to publish the item under
if true, overwrites possible existing items in the datastore
Publishes a directory to the datastore
Publishes a directory to the datastore
path to the directory to be published
group to publish the directory under
name to publish the directory under
version to publish the directory under
if true, overwrites possible existing items in the datastore
Publishes a directory to the datastore
Publishes a directory to the datastore
name of the directory to be published
group to publish the directory under
name to publish the directory under
version to publish the directory under
if true, overwrites possible existing items in the datastore
Publishes a file to the datastore
Publishes a file to the datastore
path to the file to be published
group to publish the file under
name to publish the file under
version to publish the file under
if true, overwrites possible existing items in the datastore
Publishes a file to the datastore
Publishes a file to the datastore
name of the file to be published
group to publish the file under
name to publish the file under
version to publish the file under
if true, overwrites possible existing items in the datastore
properly authenticated S3 client.
properly authenticated S3 client.
Gets the URL for an item in the datastore
Gets the URL for an item in the datastore
locator of the item
URL pointing to the locator
Wipes the cache for this datastore
Wipes the cache for this datastore