public class MissingInChIsQuery extends AbstractStructureQuery<String,String,net.idea.modbcum.q.conditions.EQCondition>
AbstractStructureQuery.FIELD_NAMES| Modifier and Type | Field and Description |
|---|---|
static String |
sql |
chemicalsOnly, group, nanomaterial, order_descendant, where_groupcondition, fieldname, id, logger, maxRecords, name, page, selected, value| Constructor and Description |
|---|
MissingInChIsQuery() |
MissingInChIsQuery(String label)
TODO identify potential errors
update chemicals,(SELECT inchi,count(*) c FROM chemicals where inchi is not null group by inchi ) a set label='ERROR' where chemicals.inchi=a.inchi and a.c>1;
update chemicals set label="ERROR" where inchi is null;
|
| Modifier and Type | Method and Description |
|---|---|
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
String |
toString() |
calculateMetric, getObject, isChemicalsOnly, isNanomaterial, isOrder_descendant, isPreferredStructure, isPrescreen, retrieveMetric, retrieveStrucType, retrieveValue, setChemicalsOnly, setNanomaterial, setOrder_descendantgetCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, testpublic static final String sql
public MissingInChIsQuery(String label)
public MissingInChIsQuery()
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitExceptionpublic List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitExceptionpublic String toString()
toString in class AbstractQuery<String,String,net.idea.modbcum.q.conditions.EQCondition,IStructureRecord>Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.