edu.wpi.cs.dsrg.xmldb.xat.common.operator
Interface XATQueryObject

All Known Subinterfaces:
Aggregate, All, CartesianProduct, Composer, Delete, Difference, Distinct, Expose, FOR, Function, GroupBy, IfExpr, Insert, Intersection, Join, LeftOuterJoin, LeftSemiJoin, Merge, NameColumn, NavCollection, Navigate, NavUnnest, Or, OrderBy, OuterUnion, Project, Rename, Replace, RightOuterJoin, RightSemiJoin, Select, Source, SpecialOperator, SQLOperator, SQLStmt, Tagger, ThetaJoin, Union, UpdateOperator, XATDataSource, XATDataValue, XATMultiSourceOperator, XATOperator, XATTable, XATTree, XATValue, XMLDifference, XMLIntersection, XMLOperator, XMLUnion, XQueryStmt
All Known Implementing Classes:
XATQueryObjectImp

public interface XATQueryObject
extends java.io.Serializable, XATProperties

Generic interface for all QueryObjects in the system. Any object that wants to have a reference to the statistics gatherer -or- be able to be stored in the StatisticsGatherer needs to derive from this class.

This also provides a standard means for operators to define which statistics they support. This is new b/c previously, the properties and statistics were lumped together.

Since:
1.0

Method Summary
 java.util.Enumeration getStatistics()
          returns an enumeration of Statistics supported by this query object
 boolean isValidStatistic(java.lang.String nameToCheck)
          Checks if the given Statistic is valid for this QueryObject.
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATProperties
getProperties, getProperty, isValidPropertyName, setProperty
 

Method Detail

getStatistics

public java.util.Enumeration getStatistics()
returns an enumeration of Statistics supported by this query object
Returns:
an Enumeration
Since:
1.0

isValidStatistic

public boolean isValidStatistic(java.lang.String nameToCheck)
Checks if the given Statistic is valid for this QueryObject.
Parameters:
nameToCheck - the name to check
Returns:
boolean true if the property is supported by this object, false otherwise.
Since:
1.0