public class HBaseWindowsStore extends Object implements WindowsStore
This class stores entries into hbase instance of the given configuration.
WindowsStore.Entry| Modifier and Type | Field and Description |
|---|---|
static String |
UTF_8 |
KEY_SEPARATOR| Constructor and Description |
|---|
HBaseWindowsStore(Map<String,Object> topoConf,
org.apache.hadoop.conf.Configuration config,
String tableName,
byte[] family,
byte[] qualifier) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Object> |
get(List<String> keys) |
Object |
get(String key) |
Iterable<String> |
getAllKeys() |
void |
put(String key,
Object value) |
void |
putAll(Collection<WindowsStore.Entry> entries) |
void |
remove(String key) |
void |
removeAll(Collection<String> keys) |
void |
shutdown() |
public static final String UTF_8
public Object get(String key)
get in interface WindowsStorepublic Iterable<String> getAllKeys()
getAllKeys in interface WindowsStorepublic void put(String key, Object value)
put in interface WindowsStorepublic void putAll(Collection<WindowsStore.Entry> entries)
putAll in interface WindowsStorepublic void remove(String key)
remove in interface WindowsStorepublic void removeAll(Collection<String> keys)
removeAll in interface WindowsStorepublic void shutdown()
shutdown in interface WindowsStoreCopyright © 2019 The Apache Software Foundation. All rights reserved.