public class StoredQuery extends Object implements IStoredQuery
ISourceDataset.fields, ISourceDataset.license| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected Integer |
id |
protected String |
licenseURI |
protected String |
maintainer |
protected String |
name |
protected net.idea.modbcum.i.IQueryObject<IStructureRecord> |
query |
protected String |
rightsHolder |
protected int |
rows |
protected int |
stars |
protected Template |
template |
SQL_INSERT| Constructor and Description |
|---|
StoredQuery() |
StoredQuery(Integer id) |
protected String licenseURI
protected String rightsHolder
protected String maintainer
protected int stars
protected Integer id
protected String name
protected String content
protected Template template
protected net.idea.modbcum.i.IQueryObject<IStructureRecord> query
protected int rows
public StoredQuery()
public StoredQuery(Integer id)
public String getMaintainer()
getMaintainer in interface ISourceDatasetpublic void setMaintainer(String maintainer)
setMaintainer in interface ISourceDatasetpublic String getrightsHolder()
getrightsHolder in interface ISourceDatasetpublic void setrightsHolder(String uri)
setrightsHolder in interface ISourceDatasetpublic String getLicenseURI()
getLicenseURI in interface ISourceDatasetpublic void setLicenseURI(String licenseURI)
setLicenseURI in interface ISourceDatasetpublic Template getTemplate()
getTemplate in interface IStoredQuerypublic void setTemplate(Template template)
setTemplate in interface IStoredQuerypublic String getContent()
getContent in interface IStoredQuerypublic void setContent(String content)
setContent in interface IStoredQuerypublic String getName()
getName in interface ISourceDatasetgetName in interface IStoredQuerypublic void setName(String name)
setName in interface ISourceDatasetsetName in interface IStoredQuerypublic Integer getId()
getId in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public void setId(Integer id)
setId in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
insert into query_results (idquery,idstructure,selected,metrix,text) select _IDQUERY_,idstructure,_SELECTED(default 1)_ from ?????
getParameters in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic int getRows()
getRows in interface IStoredQuerypublic void setRows(int rows)
setRows in interface IStoredQuerypublic net.idea.modbcum.i.IQueryObject<IStructureRecord> getQuery()
getQuery in interface IStoredQuerypublic void setQuery(net.idea.modbcum.i.IQueryObject<IStructureRecord> query)
setQuery in interface IStoredQuerypublic String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic long getPageSize()
getPageSize in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public void setPageSize(long records)
setPageSize in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public void setPage(int page)
setPage in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public int getPage()
getPage in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public String getKey()
getKey in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public String getCategory()
getCategory in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public int getID()
getID in interface ISourceDatasetpublic void setID(int id)
setID in interface ISourceDatasetpublic String getSource()
getSource in interface ISourceDatasetpublic void setSource(String name)
setSource in interface ISourceDatasetpublic boolean supportsPaging()
supportsPaging in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>public int getStars()
getStars in interface ISourceDatasetpublic void setStars(int rating)
setStars in interface ISourceDatasetpublic String getStatus()
getStatus in interface ISourceDatasetpublic void setStatus(String value)
setStatus in interface ISourceDatasetCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.