java.lang.Object
PointOfView.DimensionSubset
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DateInterval, DomainNameSubset, GeoIP_Subset, KeyWordQuery, PageRankInterval
- public abstract class DimensionSubset
- extends java.lang.Object
- implements java.io.Serializable
DimensionSubset represents a subset of documents. The subset is caracterised by
two values the results will be positioned between. The subset is physically
defined by a SQL query.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
qQuery
private PointOfViewServer.Query qQuery
nOrderNb
private int nOrderNb
DimensionSubset
public DimensionSubset()
buildSubset
public abstract void buildSubset()
- Call this function to build SQL query.
addToSearch
public abstract void addToSearch(PointOfViewServer.Search theSearch)
throws java.rmi.RemoteException
getLeftmostValue
public abstract long getLeftmostValue()
getRightmostValue
public abstract long getRightmostValue()
toLong
public abstract long toLong(PointOfViewServer.Result theResult)
throws java.rmi.RemoteException
getSubsetQuery
public PointOfViewServer.Query getSubsetQuery()
- Return current query.
setSubsetQuery
public void setSubsetQuery(PointOfViewServer.Query query)
- Set query object.
getOrderNb
public int getOrderNb()
- Return position of the element.
setOrderNb
public void setOrderNb(int order)
- Set position of this element.