public class PersistTachyon extends Persist<tachyon.client.TachyonFS>
| Modifier and Type | Class and Description |
|---|---|
static class |
PersistTachyon.H2OTachyonInputStream |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_CLIENT_URI |
static java.lang.String |
PREFIX |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
tachyon.client.TachyonFS |
createClient(java.lang.String uri)
Create a client for given URI.
|
static java.lang.String[] |
decode(java.lang.String s) |
void |
delete(Value v) |
java.lang.String |
getDefaultURI()
Return default URI of server to fetch data
|
java.lang.String |
getPath() |
byte[] |
load(Value v)
Value should already be persisted to disk.
|
void |
loadExisting()
Load all Key/Value pairs that can be found on the backend.
|
static java.io.InputStream |
openStream(Key k,
Job.ProgressMonitor pmon) |
void |
store(Value v) |
createClient, getIce, getTotalSpace, getUsableSpace, initializepublic static final java.lang.String PREFIX
public static final java.lang.String DEFAULT_CLIENT_URI
public static java.io.InputStream openStream(Key k, Job.ProgressMonitor pmon)
public byte[] load(Value v)
Persistpublic static java.lang.String[] decode(java.lang.String s)
public java.lang.String getPath()
public void loadExisting()
PersistloadExisting in class Persist<tachyon.client.TachyonFS>public java.lang.String getDefaultURI()
PersistgetDefaultURI in class Persist<tachyon.client.TachyonFS>public tachyon.client.TachyonFS createClient(java.lang.String uri)
throws java.io.IOException
PersistcreateClient in class Persist<tachyon.client.TachyonFS>java.io.IOException