public abstract class FilteredCount<T extends Comparable<T>> extends Object implements net.idea.modbcum.i.IQueryRetrieval<PropertyStats<T>>
Modifier and Type | Field and Description |
---|---|
protected Integer |
id |
protected Range<Double> |
metric |
protected Property |
property |
protected IStoredQuery |
query |
protected Range<T> |
value |
Constructor and Description |
---|
FilteredCount() |
Modifier and Type | Method and Description |
---|---|
double |
calculateMetric(PropertyStats<T> object) |
String |
getCategory() |
Integer |
getId() |
String |
getKey() |
Range<Double> |
getMetric() |
PropertyStats<T> |
getObject(ResultSet rs) |
int |
getPage() |
long |
getPageSize() |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
Property |
getProperty() |
IStoredQuery |
getQuery() |
Range<T> |
getValue() |
boolean |
isPrescreen() |
void |
setId(Integer id) |
void |
setMetric(Range<Double> metric) |
void |
setPage(int page) |
void |
setPageSize(long records) |
void |
setProperty(Property property) |
void |
setQuery(IStoredQuery query) |
void |
setValue(Range<T> value) |
boolean |
supportsPaging() |
protected Integer id
protected Property property
protected IStoredQuery query
protected Range<T extends Comparable<T>> value
public Property getProperty()
public void setProperty(Property property)
public IStoredQuery getQuery()
public void setQuery(IStoredQuery query)
public Integer getId()
getId
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
net.idea.modbcum.i.exceptions.AmbitException
public void setId(Integer id)
setId
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public PropertyStats<T> getObject(ResultSet rs) throws net.idea.modbcum.i.exceptions.AmbitException
getObject
in interface net.idea.modbcum.i.IRetrieval<PropertyStats<T extends Comparable<T>>>
net.idea.modbcum.i.exceptions.AmbitException
public double calculateMetric(PropertyStats<T> object)
calculateMetric
in interface net.idea.modbcum.i.IQueryRetrieval<PropertyStats<T extends Comparable<T>>>
public boolean isPrescreen()
isPrescreen
in interface net.idea.modbcum.i.IQueryRetrieval<PropertyStats<T extends Comparable<T>>>
public long getPageSize()
getPageSize
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public void setPageSize(long records)
setPageSize
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public int getPage()
getPage
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public void setPage(int page)
setPage
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public String getKey()
getKey
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public String getCategory()
getCategory
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
public boolean supportsPaging()
supportsPaging
in interface net.idea.modbcum.i.IQueryObject<PropertyStats<T extends Comparable<T>>>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.