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 String |
DEFAULT_CLIENT_URI |
static String |
PREFIX |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
tachyon.client.TachyonFS |
createClient(String uri)
Create a client for given URI.
|
static String[] |
decode(String s) |
void |
delete(Value v) |
String |
getDefaultURI()
Return default URI of server to fetch data
|
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 InputStream |
openStream(Key k,
Job.ProgressMonitor pmon) |
void |
store(Value v) |
createClient, getIce, getTotalSpace, getUsableSpace, initializepublic static final String PREFIX
public static final String DEFAULT_CLIENT_URI
public static InputStream openStream(Key k, Job.ProgressMonitor pmon)
public byte[] load(Value v)
Persistpublic void loadExisting()
PersistloadExisting in class Persist<tachyon.client.TachyonFS>public String getDefaultURI()
PersistgetDefaultURI in class Persist<tachyon.client.TachyonFS>public tachyon.client.TachyonFS createClient(String uri) throws IOException
PersistcreateClient in class Persist<tachyon.client.TachyonFS>IOExceptionCopyright © 2013–2014 0xdata. All rights reserved.