public class WrapperMapExtractor extends WrapperCollectionExtractor implements IMapExtractor
IMapExtractor.EntryObject| Constructor and Description |
|---|
WrapperMapExtractor(String field) |
WrapperMapExtractor(String field,
ICollectionExtractor extractor) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Map.Entry<IObject,IObject>> |
extractMapEntries(IObject coll)
Extracts the contents of a map (i.e.
|
Double |
getCollisionRatio(IObject coll)
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, hasSizeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractEntries, extractEntryIds, getCapacity, getFillRatio, getNumberOfNotNullElements, getSize, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio, hasSizepublic WrapperMapExtractor(String field)
public WrapperMapExtractor(String field, ICollectionExtractor extractor)
public boolean hasCollisionRatio()
IMapExtractorhasCollisionRatio in interface IMapExtractorpublic Double getCollisionRatio(IObject coll) throws SnapshotException
IMapExtractorgetCollisionRatio in interface IMapExtractorSnapshotExceptionpublic Iterator<Map.Entry<IObject,IObject>> extractMapEntries(IObject coll)
IMapExtractorextractMapEntries in interface IMapExtractorcoll - - the map to extract contents from