T - Unguarded descriptor form.public class DescriptorContainer<T extends Serializable> extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescriptorContainer.DescriptorContainerDeserializer
Optional callback for the descriptor container deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
OverlapAnalysisContext |
getContext()
Get represented context.
|
UnguardedPagedOverlap<T> |
getDescriptors()
Get stored descriptors.
|
IndexProjector |
getIndexProjector()
Get represented index projector.
|
String |
toMultilineString()
Create detailed multi line human readable String description.
|
DescriptorContainer<T> |
withComparison(ComparisonContext<?,?,T> comparison)
New instance with a different comparison context.
|
static void |
write(PagedDescriptorStorage<?> descriptors,
long resetInterval,
OverlapAnalysisContext context,
IndexProjector projector,
ObjectOutputStream oos,
SubProgressObserver po)
Write byte array based container.
|
public OverlapAnalysisContext getContext()
public IndexProjector getIndexProjector()
public UnguardedPagedOverlap<T> getDescriptors()
public DescriptorContainer<T> withComparison(ComparisonContext<?,?,T> comparison)
Guarded.getGuardObject() and
OverlapAnalysisContext.getGuardObject().UnguardedExtractor#isEqualWith(com.chemaxon.descriptors.common.unguarded.UnguardedExtractor) and
DescriptorSerializer#serializeIsEqualWith(com.chemaxon.descriptors.common.DescriptorSerializer).comparison - New comparison context to useIllegalArgumentException - in case of any incompatibility of the passed comparison contextpublic String toMultilineString()
public static void write(PagedDescriptorStorage<?> descriptors, long resetInterval, OverlapAnalysisContext context, IndexProjector projector, ObjectOutputStream oos, SubProgressObserver po) throws IOException
descriptors - Descriptors to writeresetInterval - Reset interval to delegate to PagedDescriptorStorage.toBytes(java.io.ObjectOutputStream, com.chemaxon.calculations.common.SubProgressObserver, long)context - Context to writeprojector - Index projector to writeoos - ObjectOutputStream to write topo - Observer to track progress. Will be closed upon finishingIOException - Propagated