Package org.rcsb.strucmotif.core
Class MotifSearchRuntimeImpl
java.lang.Object
org.rcsb.strucmotif.core.MotifSearchRuntimeImpl
- All Implemented Interfaces:
MotifSearchRuntime
The default strucmotif-search runtime.
-
Constructor Summary
ConstructorsConstructorDescriptionMotifSearchRuntimeImpl(TargetAssembler targetAssembler, ThreadPool threadPool, MotifSearchConfig motifSearchConfig, AlignmentService alignmentService, StructureDataProvider structureDataProvider, StateRepository stateRepository) Injectable constructor. -
Method Summary
Modifier and TypeMethodDescriptionperformSearch(MotifSearchQuery query) Performs a structural motif search run for a given query.voidperformSearch(MotifSearchQuery query, Consumer<Hit> consumer) Performs a structural motif search for a given query.
-
Constructor Details
-
MotifSearchRuntimeImpl
@Autowired public MotifSearchRuntimeImpl(TargetAssembler targetAssembler, ThreadPool threadPool, MotifSearchConfig motifSearchConfig, AlignmentService alignmentService, StructureDataProvider structureDataProvider, StateRepository stateRepository) Injectable constructor.- Parameters:
targetAssembler- target assemblerthreadPool- thread poolmotifSearchConfig- app configalignmentService- alignment servicestructureDataProvider- structure data providerstateRepository- global state, derived from loaded ddata
-
-
Method Details
-
performSearch
Description copied from interface:MotifSearchRuntimePerforms a structural motif search run for a given query.- Specified by:
performSearchin interfaceMotifSearchRuntime- Parameters:
query- the query, specifying motif and all parameters- Returns:
- the result container
-
performSearch
Description copied from interface:MotifSearchRuntimePerforms a structural motif search for a given query.- Specified by:
performSearchin interfaceMotifSearchRuntime- Parameters:
query- the query, specifying motif and all parametersconsumer- some terminal operation that will be applied to each accepted hit
-