org.apache.storm.hbase.trident.state
Class HBaseMapState<T>

java.lang.Object
  extended by org.apache.storm.hbase.trident.state.HBaseMapState<T>
All Implemented Interfaces:
IBackingMap<T>

public class HBaseMapState<T>
extends Object
implements IBackingMap<T>


Nested Class Summary
protected static class HBaseMapState.Factory
           
static class HBaseMapState.Options<T>
           
 
Constructor Summary
HBaseMapState(HBaseMapState.Options<T> options, Map map, int partitionNum)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HBaseMapState

public HBaseMapState(HBaseMapState.Options<T> options,
                     Map map,
                     int partitionNum)
Method Detail

opaque

public static StateFactory opaque()

opaque

public static StateFactory opaque(HBaseMapState.Options<OpaqueValue> opts)

transactional

public static StateFactory transactional()

transactional

public static StateFactory transactional(HBaseMapState.Options<TransactionalValue> opts)

nonTransactional

public static StateFactory nonTransactional()

nonTransactional

public static StateFactory nonTransactional(HBaseMapState.Options<Object> opts)

multiGet

public List<T> multiGet(List<List<Object>> keys)
Specified by:
multiGet in interface IBackingMap<T>

multiPut

public void multiPut(List<List<Object>> keys,
                     List<T> values)
Specified by:
multiPut in interface IBackingMap<T>


Copyright © 2016 The Apache Software Foundation. All Rights Reserved.