Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::QueryProperties Class Reference

#include <QueryProperties.h>

List of all members.

Public Member Functions

 QueryProperties (const QueryProperties &properties)
QueryPropertiesoperator= (const QueryProperties &properties)
bool isContinuous ()
bool isHistory ()
bool isLatest ()
bool isStatic ()
TimeInterval getTimeInterval ()
bool equals (QueryProperties qt)
bool hasTimeInterval ()

Static Public Member Functions

const QueryProperties getContinuous (TimeInterval timeInterval)
const QueryProperties getHistory (TimeInterval timeInterval)
const QueryProperties getLatest (TimeInterval timeInterval)
const QueryProperties getStatic (TimeInterval timeInterval)

Static Public Attributes

const QueryProperties CONTINUOUS
const QueryProperties LATEST
const QueryProperties HISTORY
const QueryProperties STATIC

Protected Member Functions

 QueryProperties (int query)
 QueryProperties (int query, TimeInterval timeInterval)
int getQuery ()


Detailed Description

The type of a consumer query. There are six types:


Constructor & Destructor Documentation

glite::rgma::QueryProperties::QueryProperties int  query  )  [protected]
 

Constructs a QueryProperties object.

Parameters:
query The type of query: C, L or H

glite::rgma::QueryProperties::QueryProperties int  query,
TimeInterval  timeInterval
[protected]
 

Creates a new QueryProperties object of type query with a time interval.

Parameters:
query Query type.
timeInterval The period over which to retrieve data.


Member Function Documentation

bool glite::rgma::QueryProperties::equals QueryProperties  qt  ) 
 

Compares two QueryPropertiess.

Parameters:
qt Another QueryProperties.
Returns:
True if the QueryPropertiess are equal.

const QueryProperties glite::rgma::QueryProperties::getContinuous TimeInterval  timeInterval  )  [static]
 

Returns a CONTINUOUS QueryProperties object with a time interval.

Parameters:
timeInterval Time interval for query.
Returns:
A QueryProperties object.

const QueryProperties glite::rgma::QueryProperties::getHistory TimeInterval  timeInterval  )  [static]
 

Returns a HISTORY QueryProperties object with a time interval.

Parameters:
timeInterval Time interval for query.
Returns:
A QueryProperties object.

const QueryProperties glite::rgma::QueryProperties::getLatest TimeInterval  timeInterval  )  [static]
 

Returns a LATEST QueryProperties object with a time interval.

Parameters:
timeInterval Time interval for query.
Returns:
A QueryProperties object.

int glite::rgma::QueryProperties::getQuery  )  [protected]
 

Gets the query type.

Returns:
The query type: CONTINUOUS, LATEST, HISTORY or CONTINOUS_OLD

const QueryProperties glite::rgma::QueryProperties::getStatic TimeInterval  timeInterval  )  [static]
 

Returns a STATIC QueryProperties object with a time interval.

Parameters:
timeInterval Time interval for query.
Returns:
A QueryProperties object.

TimeInterval glite::rgma::QueryProperties::getTimeInterval  ) 
 

Returns the time interval associated with this QueryProperties.

Returns:
The time interval associated with this QueryProperties, or null if no time interval has been set.

bool glite::rgma::QueryProperties::hasTimeInterval  ) 
 

Determines if this QueryProperties has an associated TimeInterval.

Returns:
true if it has a TimeInterval, otherwise false.

bool glite::rgma::QueryProperties::isContinuous  ) 
 

Determines if this is a CONTINUOUS query.

Returns:
true if a CONTINUOUS query, otherwise false.

bool glite::rgma::QueryProperties::isHistory  ) 
 

Determines if this is a HISTORY query.

Returns:
true if a HISTORY query, otherwise false.

bool glite::rgma::QueryProperties::isLatest  ) 
 

Determines if this is a LATEST query.

Returns:
true if a LATEST query, otherwise false.

bool glite::rgma::QueryProperties::isStatic  ) 
 

Determines if this is a STATIC query.

Returns:
true if a STATIC query, otherwise false.


Member Data Documentation

const QueryProperties glite::rgma::QueryProperties::CONTINUOUS [static]
 

Stream data continuously, starting with the next inserted tuple.

const QueryProperties glite::rgma::QueryProperties::HISTORY [static]
 

Retrieve data from HISTORY producers.

const QueryProperties glite::rgma::QueryProperties::LATEST [static]
 

Retrieve data from LATEST producers.

const QueryProperties glite::rgma::QueryProperties::STATIC [static]
 

Retrieve data from STATIC producers.


The documentation for this class was generated from the following files:
Generated on Fri Mar 16 14:00:16 2007 for glite-rgma-api-cpp by doxygen 1.3.5