Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

PointOfView
Class DimensionSubset  view DimensionSubset download DimensionSubset.java

java.lang.Object
  extended byPointOfView.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.


Field Summary
private  int nOrderNb
           
private  PointOfViewServer.Query qQuery
           
 
Constructor Summary
DimensionSubset()
           
 
Method Summary
abstract  void addToSearch(PointOfViewServer.Search theSearch)
           
abstract  void buildSubset()
          Call this function to build SQL query.
abstract  long getLeftmostValue()
           
 int getOrderNb()
          Return position of the element.
abstract  long getRightmostValue()
           
 PointOfViewServer.Query getSubsetQuery()
          Return current query.
 void setOrderNb(int order)
          Set position of this element.
 void setSubsetQuery(PointOfViewServer.Query query)
          Set query object.
abstract  long toLong(PointOfViewServer.Result theResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qQuery

private PointOfViewServer.Query qQuery

nOrderNb

private int nOrderNb
Constructor Detail

DimensionSubset

public DimensionSubset()
Method Detail

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.