public class QuerySimilarityBitset extends QuerySimilarity<String,BitSet,net.idea.modbcum.q.conditions.NumberCondition>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
protected FPTable |
mode |
protected String |
order |
protected String |
sql_similarity |
forceOrdering, threshold
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QuerySimilarityBitset() |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(IStructureRecord object) |
FPTable |
getMode() |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL()
select ? as idquery,idchemical,idstructure,1 as selected,Tanimoto as metric
|
boolean |
isPrescreen() |
void |
setMode(FPTable mode) |
getThreshold, isForceOrdering, retrieveMetric, setForceOrdering, setThreshold, toString
getObject, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, retrieveStrucType, retrieveValue, setChemicalsOnly, setNanomaterial, setOrder_descendant
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test
protected FPTable mode
protected final String order
protected final String sql_similarity
public FPTable getMode()
public void setMode(FPTable mode)
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
isPrescreen
in class AbstractStructureQuery<String,BitSet,net.idea.modbcum.q.conditions.NumberCondition>
public double calculateMetric(IStructureRecord object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
calculateMetric
in class AbstractStructureQuery<String,BitSet,net.idea.modbcum.q.conditions.NumberCondition>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.