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 stormConf,
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 WindowsStore
public Iterable<String> getAllKeys()
getAllKeys
in interface WindowsStore
public void put(String key, Object value)
put
in interface WindowsStore
public void putAll(Collection<WindowsStore.Entry> entries)
putAll
in interface WindowsStore
public void remove(String key)
remove
in interface WindowsStore
public void removeAll(Collection<String> keys)
removeAll
in interface WindowsStore
public void shutdown()
shutdown
in interface WindowsStore
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.