| |
|
| java.lang.Object org.cougaar.lib.aggagent.query.AggregationQuery
AggregationQuery | public class AggregationQuery implements Serializable(Code) | | Instances of this class represent generalized "queries" in the sense of the
Aggregation infrastructure. That is, a specification of a subset of data
available within the society, with the presumption that the infrastructure
will supply this data in some fashion. The way in which the specification
is expressed will vary depending on the type of query.
Queries may be either transient ("find the answer now and then forget") or
persistent ("maintain an updated view of the answer").
At this time, only one implementation (this one) is available. The query
is specified by an unordered set of Cluster names and a pair of SILK
scripts which define, respectively, the set of blackboard objects that
should be examined and the encoding of the findings (including any
intermediate calculations that may be necessary).
|
Constructor Summary | |
public | AggregationQuery(QueryType queryType) Create a new AggregationQuery, initializing only the fundamental type
as either TRANSIENT or PERSISTENT. | public | AggregationQuery(Element root) Create a new AggregationQuery, initializing it with data found in an XML
document. |
AggregationQuery | public AggregationQuery(QueryType queryType)(Code) | | Create a new AggregationQuery, initializing only the fundamental type
as either TRANSIENT or PERSISTENT.
Parameters: queryType - indicator of TRANSIENT or PERSISTENT status |
AggregationQuery | public AggregationQuery(Element root)(Code) | | Create a new AggregationQuery, initializing it with data found in an XML
document.
|
addSourceCluster | public void addSourceCluster(String clusterID)(Code) | | |
getPullRate | public int getPullRate()(Code) | | |
getSourceClustersVector | public Vector getSourceClustersVector()(Code) | | |
getTimeout | public long getTimeout()(Code) | | |
getType | public QueryType getType()(Code) | | |
getUpdateMethod | public UpdateMethod getUpdateMethod()(Code) | | |
removeSourceCluster | public void removeSourceCluster(String clusterID)(Code) | | |
setPullRate | public void setPullRate(int pullRate)(Code) | | |
setPullTimer | public void setPullTimer(Timer newPullTimer)(Code) | | |
setTimeout | public void setTimeout(long timeout)(Code) | | |
setUpdateMethod | public void setUpdateMethod(UpdateMethod updateMethod)(Code) | | |
timeoutSupplied | public boolean timeoutSupplied()(Code) | | |
|
|
|