public class IBM6ArrayListCollectionExtractor extends FieldArrayCollectionExtractor
Constructor and Description |
---|
IBM6ArrayListCollectionExtractor(String firstIndex,
String lastIndex,
String arrayField) |
IBM6ArrayListCollectionExtractor(String firstIndex,
String lastIndex,
String arrayField,
String sizeField) |
Modifier and Type | Method and Description |
---|---|
int[] |
extractEntryIds(IObject coll)
Returns the object ids (int) for all objects which are contained in the
collection
|
Integer |
getSize(IObject coll)
Extract the size of the collection
|
boolean |
hasSize()
Check if the size of the collection can be extracted
|
extractEntries, getCapacity, getFillRatio, getNumberOfNotNullElements, hasCapacity, hasExtractableArray, hasExtractableContents, hasFillRatio
public IBM6ArrayListCollectionExtractor(String firstIndex, String lastIndex, String arrayField)
public boolean hasSize()
ICollectionExtractor
hasSize
in interface ICollectionExtractor
hasSize
in class FieldArrayCollectionExtractor
public Integer getSize(IObject coll) throws SnapshotException
ICollectionExtractor
getSize
in interface ICollectionExtractor
getSize
in class FieldArrayCollectionExtractor
SnapshotException
public int[] extractEntryIds(IObject coll) throws SnapshotException
ICollectionExtractor
extractEntryIds
in interface ICollectionExtractor
extractEntryIds
in class FieldArrayCollectionExtractor
SnapshotException