Package | Description |
---|---|
org.apache.storm.hbase.state | |
org.apache.storm.redis.state | |
org.apache.storm.state |
Constructor and Description |
---|
HBaseKeyValueState(HBaseClient hbaseClient,
String columnFamily,
String namespace,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Constructor.
|
HBaseKeyValueState(HBaseClient hbaseClient,
String columnFamily,
String namespace,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Constructor.
|
HBaseKeyValueStateIterator(String namespace,
byte[] columnFamily,
HBaseClient hbaseClient,
Iterator<Map.Entry<byte[],byte[]>> pendingPrepareIterator,
Iterator<Map.Entry<byte[],byte[]>> pendingCommitIterator,
int chunkSize,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Constructor.
|
HBaseKeyValueStateIterator(String namespace,
byte[] columnFamily,
HBaseClient hbaseClient,
Iterator<Map.Entry<byte[],byte[]>> pendingPrepareIterator,
Iterator<Map.Entry<byte[],byte[]>> pendingCommitIterator,
int chunkSize,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Constructor.
|
Constructor and Description |
---|
RedisKeyValueState(String namespace,
JedisClusterConfig jedisClusterConfig,
Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
RedisKeyValueState(String namespace,
JedisClusterConfig jedisClusterConfig,
Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
RedisKeyValueState(String namespace,
JedisPoolConfig poolConfig,
Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
RedisKeyValueState(String namespace,
JedisPoolConfig poolConfig,
Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
RedisKeyValueState(String namespace,
RedisCommandsInstanceContainer container,
Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
RedisKeyValueState(String namespace,
RedisCommandsInstanceContainer container,
Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
RedisKeyValueStateIterator(byte[] namespace,
RedisCommandsInstanceContainer container,
Iterator<Map.Entry<byte[],byte[]>> pendingPrepareIterator,
Iterator<Map.Entry<byte[],byte[]>> pendingCommitIterator,
int chunkSize,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Constructor.
|
RedisKeyValueStateIterator(byte[] namespace,
RedisCommandsInstanceContainer container,
Iterator<Map.Entry<byte[],byte[]>> pendingPrepareIterator,
Iterator<Map.Entry<byte[],byte[]>> pendingCommitIterator,
int chunkSize,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultStateSerializer<T>
A default implementation that uses Kryo to serialize and de-serialize the state.
|
Modifier and Type | Field and Description |
---|---|
static Serializer<Optional<byte[]>> |
DefaultStateEncoder.INTERNAL_VALUE_SERIALIZER |
Modifier and Type | Method and Description |
---|---|
Serializer<K> |
DefaultStateEncoder.getKeySerializer() |
Serializer<V> |
DefaultStateEncoder.getValueSerializer() |
Constructor and Description |
---|
DefaultStateEncoder(Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
DefaultStateEncoder(Serializer<K> keySerializer,
Serializer<V> valueSerializer) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.