public class ChemicalSpaceQuery extends AbstractQuery<ISourceDataset,Property,net.idea.modbcum.q.conditions.BooleanCondition,ChemSpaceCell> implements net.idea.modbcum.i.IQueryRetrieval<ChemSpaceCell>, net.idea.modbcum.i.IStoredProcStatement
| Modifier and Type | Class and Description |
|---|---|
static class |
ChemicalSpaceQuery.ChemSpaceMethod |
| Modifier and Type | Field and Description |
|---|---|
protected ChemSpaceCell |
cell |
protected int |
maxPoints |
protected ChemicalSpaceQuery.ChemSpaceMethod |
method |
protected String |
sql |
protected double |
threshold_dactivity |
protected double |
threshold_similarity |
condition, fieldname, id, logger, maxRecords, name, page, selected, value| Constructor and Description |
|---|
ChemicalSpaceQuery() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateMetric(ChemSpaceCell object) |
int |
getMaxPoints() |
ChemicalSpaceQuery.ChemSpaceMethod |
getMethod() |
ChemSpaceCell |
getObject(ResultSet rs) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
void |
getStoredProcedureOutVars(CallableStatement statement) |
double |
getThreshold_dactivity() |
double |
getThreshold_similarity() |
boolean |
isPrescreen() |
void |
registerOutParameters(CallableStatement statement) |
void |
setMaxPoints(int maxPoints) |
void |
setMethod(ChemicalSpaceQuery.ChemSpaceMethod method) |
void |
setThreshold_dactivity(double threshold_dactivity) |
void |
setThreshold_similarity(double threshold_similarity) |
boolean |
supportsPaging() |
String |
toString() |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, testprotected ChemSpaceCell cell
protected ChemicalSpaceQuery.ChemSpaceMethod method
protected double threshold_similarity
protected double threshold_dactivity
protected int maxPoints
protected final String sql
public double getThreshold_dactivity()
public void setThreshold_dactivity(double threshold_dactivity)
public double getThreshold_similarity()
public void setThreshold_similarity(double threshold_similarity)
public ChemicalSpaceQuery.ChemSpaceMethod getMethod()
public void setMethod(ChemicalSpaceQuery.ChemSpaceMethod method)
public int getMaxPoints()
public void setMaxPoints(int maxPoints)
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL in interface net.idea.modbcum.i.IQueryObject<ChemSpaceCell>net.idea.modbcum.i.exceptions.AmbitExceptionpublic void registerOutParameters(CallableStatement statement) throws SQLException
registerOutParameters in interface net.idea.modbcum.i.IStoredProcStatementSQLExceptionpublic List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters in interface net.idea.modbcum.i.IQueryObject<ChemSpaceCell>net.idea.modbcum.i.exceptions.AmbitExceptionpublic ChemSpaceCell getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject in interface net.idea.modbcum.i.IRetrieval<ChemSpaceCell>net.idea.modbcum.i.exceptions.AmbitExceptionpublic double calculateMetric(ChemSpaceCell object)
calculateMetric in interface net.idea.modbcum.i.IQueryRetrieval<ChemSpaceCell>public boolean isPrescreen()
isPrescreen in interface net.idea.modbcum.i.IQueryRetrieval<ChemSpaceCell>public void getStoredProcedureOutVars(CallableStatement statement) throws SQLException
getStoredProcedureOutVars in interface net.idea.modbcum.i.IStoredProcStatementSQLExceptionpublic boolean supportsPaging()
supportsPaging in interface net.idea.modbcum.i.IQueryObject<ChemSpaceCell>supportsPaging in class AbstractQuery<ISourceDataset,Property,net.idea.modbcum.q.conditions.BooleanCondition,ChemSpaceCell>public String toString()
toString in class AbstractQuery<ISourceDataset,Property,net.idea.modbcum.q.conditions.BooleanCondition,ChemSpaceCell>Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.