public class HashMapWrapper extends AbstractMapJoinTableContainer implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
HashMapWrapper() |
HashMapWrapper(int threshold) |
HashMapWrapper(int threshold,
float loadFactor)
Constructor.
|
HashMapWrapper(java.util.Map<java.lang.String,java.lang.String> metaData) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.util.Set<java.util.Map.Entry<MapJoinKey,MapJoinRowContainer>> |
entrySet() |
MapJoinRowContainer |
get(MapJoinKey key) |
void |
put(MapJoinKey key,
MapJoinRowContainer value) |
int |
size() |
getMetaData, putMetaData
public HashMapWrapper(int threshold, float loadFactor)
threshold
- User specified threshold to store new values into persistent storage.public HashMapWrapper(java.util.Map<java.lang.String,java.lang.String> metaData)
public HashMapWrapper(int threshold)
public HashMapWrapper()
public MapJoinRowContainer get(MapJoinKey key)
get
in interface MapJoinTableContainer
public void put(MapJoinKey key, MapJoinRowContainer value)
put
in interface MapJoinTableContainer
public int size()
size
in interface MapJoinTableContainer
public java.util.Set<java.util.Map.Entry<MapJoinKey,MapJoinRowContainer>> entrySet()
entrySet
in interface MapJoinTableContainer
public void clear()
clear
in interface MapJoinTableContainer
Copyright © 2012 The Apache Software Foundation