public class QueryStructureByQualityPairLabel extends AbstractStructureQuery<ISourceDataset,ConsensusLabel,net.idea.modbcum.q.conditions.StringCondition>
AbstractStructureQuery.FIELD_NAMES
Modifier and Type | Field and Description |
---|---|
protected static String |
join_struc_query |
static String |
sql |
static String |
sql_chemical |
static String |
where |
static String |
where_null |
protected static String |
where_struc_dataset |
protected static String |
where_struc_query |
static String |
where_text |
chemicalsOnly, group, nanomaterial, order_descendant, where_group
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
QueryStructureByQualityPairLabel() |
QueryStructureByQualityPairLabel(ConsensusLabel.CONSENSUS_LABELS label) |
QueryStructureByQualityPairLabel(String label) |
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 |
isPrescreen() |
Object |
retrieveValue(ResultSet rs) |
String |
toString() |
getObject, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, retrieveMetric, retrieveStrucType, setChemicalsOnly, setNanomaterial, setOrder_descendant
getCondition, getFieldname, getId, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test
public static final String sql
public static final String sql_chemical
public static final String where
public static final String where_null
public static final String where_text
protected static final String where_struc_dataset
protected static final String join_struc_query
protected static final String where_struc_query
public QueryStructureByQualityPairLabel()
public QueryStructureByQualityPairLabel(ConsensusLabel.CONSENSUS_LABELS label)
public QueryStructureByQualityPairLabel(String label)
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 String toString()
toString
in class AbstractQuery<ISourceDataset,ConsensusLabel,net.idea.modbcum.q.conditions.StringCondition,IStructureRecord>
public Object retrieveValue(ResultSet rs) throws SQLException
retrieveValue
in class AbstractStructureQuery<ISourceDataset,ConsensusLabel,net.idea.modbcum.q.conditions.StringCondition>
SQLException
public String getKey()
getKey
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
getKey
in class AbstractQuery<ISourceDataset,ConsensusLabel,net.idea.modbcum.q.conditions.StringCondition,IStructureRecord>
public String getCategory()
getCategory
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
getCategory
in class AbstractQuery<ISourceDataset,ConsensusLabel,net.idea.modbcum.q.conditions.StringCondition,IStructureRecord>
public double calculateMetric(IStructureRecord object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
calculateMetric
in class AbstractStructureQuery<ISourceDataset,ConsensusLabel,net.idea.modbcum.q.conditions.StringCondition>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>
isPrescreen
in class AbstractStructureQuery<ISourceDataset,ConsensusLabel,net.idea.modbcum.q.conditions.StringCondition>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.