Package org.rcsb.strucmotif.domain.query
Class QueryBuilder.OptionalStepBuilder
java.lang.Object
org.rcsb.strucmotif.domain.query.QueryBuilder.OptionalStepBuilder
- Enclosing class:
- QueryBuilder
Optional parameters of the algorithm.
-
Method Summary
Modifier and TypeMethodDescriptionaddPositionSpecificExchange(LabelSelection labelSelection, Collection<ResidueType> residueTypes) Register an exchange by specifying a 'range'/collection of component types.blacklist(Collection<String> structureIdentifiers) Filter out hits from the specified entries.Build the actual container.whitelist(Collection<String> structureIdentifiers) Narrow down the search space to the specified entries.
-
Method Details
-
addPositionSpecificExchange
public QueryBuilder.OptionalStepBuilder addPositionSpecificExchange(LabelSelection labelSelection, Collection<ResidueType> residueTypes) Register an exchange by specifying a 'range'/collection of component types.- Parameters:
labelSelection- the position referencedresidueTypes- all allowed types- Returns:
- this builder
-
whitelist
Narrow down the search space to the specified entries. Leave empty to search everything.- Parameters:
structureIdentifiers- a collection of structure identifiers- Returns:
- this builder
-
blacklist
Filter out hits from the specified entries.- Parameters:
structureIdentifiers- a collection of structure identifiers- Returns:
- this builder
-
buildQuery
Build the actual container.- Returns:
- the immutable instance of all query parameters
-