Package | Description |
---|---|
org.apache.hive.hcatalog.templeton.tool |
Modifier and Type | Method and Description |
---|---|
static TempletonStorage.Type |
TempletonStorage.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TempletonStorage.Type[] |
TempletonStorage.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeperStorage.create(TempletonStorage.Type type,
String id)
Create a node in ZooKeeper
|
boolean |
ZooKeeperStorage.delete(TempletonStorage.Type type,
String id) |
boolean |
TempletonStorage.delete(TempletonStorage.Type type,
String id)
Delete a data grouping (all data for a jobid, all tracking data
for a job, etc.).
|
boolean |
HDFSStorage.delete(TempletonStorage.Type type,
String id) |
List<String> |
ZooKeeperStorage.getAllForType(TempletonStorage.Type type) |
List<String> |
TempletonStorage.getAllForType(TempletonStorage.Type type)
Get the id of each data grouping of a given type in the storage
system.
|
List<String> |
HDFSStorage.getAllForType(TempletonStorage.Type type) |
String |
ZooKeeperStorage.getField(TempletonStorage.Type type,
String id,
String key) |
String |
TempletonStorage.getField(TempletonStorage.Type type,
String id,
String key)
Get the value of one field for a given data type.
|
String |
HDFSStorage.getField(TempletonStorage.Type type,
String id,
String key) |
String |
ZooKeeperStorage.getPath(TempletonStorage.Type type)
Get the path based on the job type.
|
String |
HDFSStorage.getPath(TempletonStorage.Type type)
Get the path to storage based on the type.
|
static String |
HDFSStorage.getPath(TempletonStorage.Type type,
String root)
Static method to get the path based on the type.
|
String |
ZooKeeperStorage.makeFieldZnode(TempletonStorage.Type type,
String id,
String name)
Make a ZK path to the named field.
|
String |
ZooKeeperStorage.makeZnode(TempletonStorage.Type type,
String id)
Make a ZK path to job
|
void |
ZooKeeperStorage.saveField(TempletonStorage.Type type,
String id,
String key,
String val) |
void |
TempletonStorage.saveField(TempletonStorage.Type type,
String id,
String key,
String val)
Save a single key/value pair for a specific job id.
|
void |
HDFSStorage.saveField(TempletonStorage.Type type,
String id,
String key,
String val) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.