public class QuerySMARTS extends AbstractStructureQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
protected org.openscience.cdk.interfaces.IChemObjectBuilder |
builder |
protected AtomConfigurator |
configurator |
protected boolean |
fp1024_screening |
protected FingerprintGenerator |
fpGenerator |
protected org.openscience.cdk.tools.CDKHydrogenAdder |
hAdder |
protected MoleculeReader |
reader |
protected QueryPrescreenBitSet |
screening |
protected boolean |
sk1024_screening |
protected StructureKeysBitSetGenerator |
skGenerator |
protected static String |
SMARTS |
protected Property |
smartsProperty |
protected SmartsToChemObject |
smartsToChemObject |
protected boolean |
usePrecalculatedAtomProperties |
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QuerySMARTS() |
QuerySMARTS(org.openscience.cdk.interfaces.IChemObjectBuilder builder) |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(IStructureRecord object) |
String |
getCategory() |
String |
getKey() |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
boolean |
isFp1024_screening() |
boolean |
isPrescreen() |
boolean |
isSk1024_screening() |
boolean |
isUsePrecalculatedAtomProperties() |
void |
prepareScreening() |
void |
setChemicalsOnly(boolean chemicalsOnly) |
void |
setFp1024_screening(boolean fp1024_screening) |
void |
setId(Integer id) |
void |
setSk1024_screening(boolean sk1024_screening) |
void |
setUsePrecalculatedAtomProperties(boolean usePrecalculatedAtomProperties) |
void |
setValue(FunctionalGroup value) |
boolean |
supportsPaging() |
String |
toString() |
getObject, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, retrieveMetric, retrieveStrucType, retrieveValue, setNanomaterial, setOrder_descendant
getCondition, getFieldname, getId, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setName, setPage, setPageSize, setSelected, stringify, test
protected SmartsToChemObject smartsToChemObject
protected final transient StructureKeysBitSetGenerator skGenerator
protected final transient FingerprintGenerator fpGenerator
protected QueryPrescreenBitSet screening
protected transient MoleculeReader reader
protected transient AtomConfigurator configurator
protected transient org.openscience.cdk.tools.CDKHydrogenAdder hAdder
protected Property smartsProperty
protected static final String SMARTS
protected boolean fp1024_screening
protected boolean sk1024_screening
protected boolean usePrecalculatedAtomProperties
protected org.openscience.cdk.interfaces.IChemObjectBuilder builder
public boolean isFp1024_screening()
public void setFp1024_screening(boolean fp1024_screening)
public boolean isSk1024_screening()
public void setSk1024_screening(boolean sk1024_screening)
public boolean isUsePrecalculatedAtomProperties()
public void setUsePrecalculatedAtomProperties(boolean usePrecalculatedAtomProperties)
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void setChemicalsOnly(boolean chemicalsOnly)
setChemicalsOnly
in class AbstractStructureQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition>
public void setId(Integer id)
setId
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
setId
in class AbstractQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition,IStructureRecord>
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void prepareScreening() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void setValue(FunctionalGroup value)
setValue
in interface net.idea.modbcum.i.IParameterizedQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition>
setValue
in class AbstractQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition,IStructureRecord>
public String getKey()
getKey
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
getKey
in class AbstractQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition,IStructureRecord>
public String getCategory()
getCategory
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
getCategory
in class AbstractQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition,IStructureRecord>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
isPrescreen
in class AbstractStructureQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition>
public double calculateMetric(IStructureRecord object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
calculateMetric
in class AbstractStructureQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition>
public String toString()
toString
in class AbstractQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition,IStructureRecord>
public boolean supportsPaging()
supportsPaging
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
supportsPaging
in class AbstractQuery<String,FunctionalGroup,net.idea.modbcum.q.conditions.BooleanCondition,IStructureRecord>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.