public class WrapperSetFromMapExtractor extends WrapperCollectionExtractor implements IMapExtractor
IMapExtractor.EntryObject
Constructor and Description |
---|
WrapperSetFromMapExtractor(String setField,
String mapField) |
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<IObject,IObject>> |
extractMapEntries(IObject collection)
Extracts the contents of a map (i.e.
|
Double |
getCollisionRatio(IObject collection)
Calculates the collision ratio in the collection
|
boolean |
hasCollisionRatio()
Check if the extractor can calculate collision ratio
|
extractEntries, extractEntryIds, getCapacity, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSize
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractEntries, extractEntryIds, getCapacity, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSize
public boolean hasCollisionRatio()
IMapExtractor
hasCollisionRatio
in interface IMapExtractor
public Double getCollisionRatio(IObject collection) throws SnapshotException
IMapExtractor
getCollisionRatio
in interface IMapExtractor
SnapshotException
public Iterator<Map.Entry<IObject,IObject>> extractMapEntries(IObject collection) throws SnapshotException
IMapExtractor
extractMapEntries
in interface IMapExtractor
collection
- - the map to extract contents fromSnapshotException