public class RetrieveStructurePair extends AbstractQuery<IStructureRecord,IStructureRecord,net.idea.modbcum.q.conditions.EQCondition,IStructureRecord[]> implements net.idea.modbcum.i.IQueryRetrieval<IStructureRecord[]>
Modifier and Type | Class and Description |
---|---|
protected static class |
RetrieveStructurePair.rs_index |
Modifier and Type | Field and Description |
---|---|
protected IStructureRecord[] |
records |
protected String |
sql1 |
protected String |
sql2 |
condition, fieldname, id, logger, maxRecords, name, page, selected, value
Constructor and Description |
---|
RetrieveStructurePair() |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(IStructureRecord[] object) |
IStructureRecord[] |
getObject(ResultSet rs) |
protected void |
getObject(ResultSet rs,
IStructureRecord r,
int offset) |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
boolean |
isPrescreen() |
protected boolean |
retrieve(IStructureRecord record) |
getCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, setValue, stringify, supportsPaging, test, toString
protected String sql1
protected String sql2
protected IStructureRecord[] records
public double calculateMetric(IStructureRecord[] object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord[]>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<IStructureRecord[]>
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord[]>
net.idea.modbcum.i.exceptions.AmbitException
public String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord[]>
net.idea.modbcum.i.exceptions.AmbitException
public IStructureRecord[] getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject
in interface net.idea.modbcum.i.IRetrieval<IStructureRecord[]>
net.idea.modbcum.i.exceptions.AmbitException
protected boolean retrieve(IStructureRecord record)
protected void getObject(ResultSet rs, IStructureRecord r, int offset) throws SQLException
SQLException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.