Click or drag to resize
Query Class
This class represents a filter for query operations.
Inheritance Hierarchy
SystemObject
  Rally.RestApiQuery

Namespace: Rally.RestApi
Assembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax
[SerializableAttribute]
public class Query

The Query type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleQuery
Create a new empty query
Public methodCode exampleQuery(String)
Create a new query from the specified string.
Public methodCode exampleQuery(String, QueryOperator, String)
Create a new query built from the specified attribute, operator and value
Top
Properties
  NameDescription
Public propertyAttribute
The attribute to filter by
Public propertyQueryClause
Get the string representation of this query
Public propertyQueryOperator
The filter operator
Public propertyValue
The value to be filtered on
Top
Methods
  NameDescription
Public methodCode exampleAnd(Query)
Join the specified query to this query using the AND operator.
Public methodStatic memberCode exampleAnd(Query)
Join the specified queries using the AND operator
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberCode exampleGetOperator(String)
Parse the specified string operator into a value of the Operator enum.
Public methodStatic memberCode exampleGetOperator(QueryOperator)
Get the string version of the specified operator
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleOr(Query)
Join the specified query to this query using the OR operator.
Public methodStatic memberCode exampleOr(Query)
Join the specified queries using the OR operator
Public methodStatic memberCode exampleParse
Parse the specified string into a query
Public methodToString
Same as QueryClause
(Overrides ObjectToString.)
Public methodStatic memberCode exampleTryParseQueryOperator
Tries to get the operator based upon the operator query string
Top
See Also