D
- Type of represented descriptorT
- Type of unguarded formpublic class ParseStructureRecordToUnguardedWithMol<D extends Descriptor,T extends Serializable> extends Object implements Function<StructureRecord,ParsedUnguardedWithMolResult<T>>
Descriptor
s from Molecule sources represented as StructureRecord
s optionally with
IDs / additional properties.Constructor and Description |
---|
ParseStructureRecordToUnguardedWithMol(Function<StructureRecord,String> retrieveIdOrNull,
Function<Molecule,String> retrieveSourceForMms,
StandardizerWrapper mmsStandardizer,
StandardizerWrapper standardizer,
DescriptorGenerator<D> generator,
UnguardedExtractor<D,T> unguardedExtractor,
Function<StructureRecord,List> extractPropertiesOrNull)
Construct new instance.
|
Modifier and Type | Method and Description |
---|---|
ParsedUnguardedWithMolResult<T> |
apply(StructureRecord input) |
public ParseStructureRecordToUnguardedWithMol(Function<StructureRecord,String> retrieveIdOrNull, Function<Molecule,String> retrieveSourceForMms, StandardizerWrapper mmsStandardizer, StandardizerWrapper standardizer, DescriptorGenerator<D> generator, UnguardedExtractor<D,T> unguardedExtractor, Function<StructureRecord,List> extractPropertiesOrNull)
retrieveIdOrNull
- Retriever for IDs or null
retrieveSourceForMms
- Retriever for source to be stored in the built MMSmmsStandardizer
- Standardizer before MMS export AND descriptor generationstandardizer
- Standardizer before descriptor generationgenerator
- DescriptorGenerator
to parse the descriptors String representationunguardedExtractor
- UnguardedExtractor
to extract unguarded form from parsed descriptorsextractPropertiesOrNull
- Extract additional propertiespublic ParsedUnguardedWithMolResult<T> apply(StructureRecord input)
apply
in interface Function<StructureRecord,ParsedUnguardedWithMolResult<T extends Serializable>>