public class QueryPairwiseTanimoto extends AbstractQuery<ISourceDataset,ISourceDataset,net.idea.modbcum.q.conditions.BooleanCondition,SimilarityRelation> implements net.idea.modbcum.i.IQueryRetrieval<SimilarityRelation>
Modifier and Type | Field and Description |
---|---|
protected SimilarityRelation |
relation |
protected double |
threshold |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QueryPairwiseTanimoto() |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(SimilarityRelation object) |
SimilarityRelation |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
double |
getThreshold() |
boolean |
isPrescreen() |
void |
setThreshold(double threshold) |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test, toString
protected SimilarityRelation relation
protected double threshold
public double getThreshold()
public void setThreshold(double threshold)
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters
in interface net.idea.modbcum.i.IQueryObject<SimilarityRelation>
net.idea.modbcum.i.exceptions.AmbitException
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL
in interface net.idea.modbcum.i.IQueryObject<SimilarityRelation>
net.idea.modbcum.i.exceptions.AmbitException
public SimilarityRelation getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject
in interface net.idea.modbcum.i.IRetrieval<SimilarityRelation>
net.idea.modbcum.i.exceptions.AmbitException
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<SimilarityRelation>
public double calculateMetric(SimilarityRelation object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<SimilarityRelation>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.