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 ISourceDataset
public void setMaintainer(String maintainer)
setMaintainer
in interface ISourceDataset
public String getrightsHolder()
getrightsHolder
in interface ISourceDataset
public void setrightsHolder(String uri)
setrightsHolder
in interface ISourceDataset
public String getLicenseURI()
getLicenseURI
in interface ISourceDataset
public void setLicenseURI(String licenseURI)
setLicenseURI
in interface ISourceDataset
public Template getTemplate()
getTemplate
in interface IStoredQuery
public void setTemplate(Template template)
setTemplate
in interface IStoredQuery
public String getContent()
getContent
in interface IStoredQuery
public void setContent(String content)
setContent
in interface IStoredQuery
public String getName()
getName
in interface ISourceDataset
getName
in interface IStoredQuery
public void setName(String name)
setName
in interface ISourceDataset
setName
in interface IStoredQuery
public 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.AmbitException
public int getRows()
getRows
in interface IStoredQuery
public void setRows(int rows)
setRows
in interface IStoredQuery
public net.idea.modbcum.i.IQueryObject<IStructureRecord> getQuery()
getQuery
in interface IStoredQuery
public void setQuery(net.idea.modbcum.i.IQueryObject<IStructureRecord> query)
setQuery
in interface IStoredQuery
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 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 ISourceDataset
public void setID(int id)
setID
in interface ISourceDataset
public String getSource()
getSource
in interface ISourceDataset
public void setSource(String name)
setSource
in interface ISourceDataset
public boolean supportsPaging()
supportsPaging
in interface net.idea.modbcum.i.IQueryObject<IStructureRecord>
public int getStars()
getStars
in interface ISourceDataset
public void setStars(int rating)
setStars
in interface ISourceDataset
public String getStatus()
getStatus
in interface ISourceDataset
public void setStatus(String value)
setStatus
in interface ISourceDataset
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.