T
- Unguarded typepublic class DescriptorsWithMolsImpl<T extends Serializable> extends Object implements DescriptorsWithMols<T>
Constructor and Description |
---|
DescriptorsWithMolsImpl(MasterMoleculeStorage mms,
MasterStringStorage idstorageOrNull,
DescriptorContainer<T> descriptorContainer,
Map<String,MolProp<?>> props)
Construct.
|
DescriptorsWithMolsImpl(OverlapAnalysisContext<?,T> context,
ParsedUnguardedWithMolResultHandler<T> parsedResults)
Construct.
|
Modifier and Type | Method and Description |
---|---|
OverlapAnalysisContext<?,T> |
getContext()
Get represented
OverlapAnalysisContext . |
UnguardedPagedOverlap<T> |
getDescriptors()
Represented descriptors.
|
MasterStringStorage |
getIds()
Represented IDs.
|
IndexProjector |
getIndexProjector()
Get represented index projector.
|
MasterMoleculeStorage |
getMolecules()
Represented molecules.
|
Map<String,MolProp<?>> |
getProperties()
Additional stored property containers.
|
DescriptorsWithMols<T> |
withAdditionalProperties(Map<String,MolProp> props)
Represent additional properties.
|
DescriptorsWithMols<T> |
withMetric(String metricOrNull)
Use specified metric.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty, getUnguardedsAsFlatList, size, toMultilineString
public DescriptorsWithMolsImpl(MasterMoleculeStorage mms, MasterStringStorage idstorageOrNull, DescriptorContainer<T> descriptorContainer, Map<String,MolProp<?>> props)
mms
- Master Molecule store to exposeidstorageOrNull
- IDs to expose or null
for generated IDsdescriptorContainer
- Descriptors to exposeprops
- Additional properties or null
public DescriptorsWithMolsImpl(OverlapAnalysisContext<?,T> context, ParsedUnguardedWithMolResultHandler<T> parsedResults)
context
- Context to useparsedResults
- Results from descriptor parsingpublic MasterStringStorage getIds()
DescriptorsWithMols
getIds
in interface DescriptorsWithMols<T extends Serializable>
public UnguardedPagedOverlap<T> getDescriptors()
DescriptorsWithMols
getDescriptors
in interface DescriptorsWithMols<T extends Serializable>
public IndexProjector getIndexProjector()
DescriptorsWithMols
getIndexProjector
in interface DescriptorsWithMols<T extends Serializable>
public OverlapAnalysisContext<?,T> getContext()
DescriptorsWithMols
OverlapAnalysisContext
.getContext
in interface DescriptorsWithMols<T extends Serializable>
public DescriptorsWithMols<T> withMetric(String metricOrNull)
DescriptorsWithMols
withMetric
in interface DescriptorsWithMols<T extends Serializable>
metricOrNull
- Metric to use or null
to use defaultpublic DescriptorsWithMols<T> withAdditionalProperties(Map<String,MolProp> props)
DescriptorsWithMols
withAdditionalProperties
in interface DescriptorsWithMols<T extends Serializable>
props
- Mapping of unique names to property containerspublic MasterMoleculeStorage getMolecules()
DescriptorsWithMols
getMolecules
in interface DescriptorsWithMols<T extends Serializable>
public Map<String,MolProp<?>> getProperties()
DescriptorsWithMols
getProperties
in interface DescriptorsWithMols<T extends Serializable>