public class HBaseMapState<T> extends Object implements IBackingMap<T>
Modifier and Type | Class and Description |
---|---|
protected static class |
HBaseMapState.Factory |
static class |
HBaseMapState.Options<T> |
Constructor and Description |
---|
HBaseMapState(HBaseMapState.Options<T> options,
Map<String,Object> map,
int partitionNum)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
multiGet(List<List<Object>> keys) |
void |
multiPut(List<List<Object>> keys,
List<T> values) |
static StateFactory |
nonTransactional() |
static StateFactory |
nonTransactional(HBaseMapState.Options<Object> opts) |
static StateFactory |
opaque() |
static StateFactory |
opaque(HBaseMapState.Options<OpaqueValue> opts) |
static StateFactory |
transactional() |
static StateFactory |
transactional(HBaseMapState.Options<TransactionalValue> opts) |
public HBaseMapState(HBaseMapState.Options<T> options, Map<String,Object> map, int partitionNum)
Constructor.
options
- HBase State options.map
- topology config map.partitionNum
- the number of partition.public static StateFactory opaque()
public static StateFactory opaque(HBaseMapState.Options<OpaqueValue> opts)
public static StateFactory transactional()
public static StateFactory transactional(HBaseMapState.Options<TransactionalValue> opts)
public static StateFactory nonTransactional()
public static StateFactory nonTransactional(HBaseMapState.Options<Object> opts)
public List<T> multiGet(List<List<Object>> keys)
multiGet
in interface IBackingMap<T>
Copyright © 2022 The Apache Software Foundation. All rights reserved.