com.google.visualization.datasource
Class QueryPair

java.lang.Object
  extended by com.google.visualization.datasource.QueryPair

public class QueryPair
extends java.lang.Object

A product of splitQuery() method, composed of a data source query to be executed first by the data source and a second completion query to be executed on the results of the first one by the query engine. The application of the first query and the second query is equivalent to the application of the original query.

Author:
Yonatan B.Y.

Constructor Summary
QueryPair(Query dataSourceQuery, Query completionQuery)
          Construct a new query pair.
 
Method Summary
 Query getCompletionQuery()
          Returns the completion query.
 Query getDataSourceQuery()
          Returns the data source query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPair

public QueryPair(Query dataSourceQuery,
                 Query completionQuery)
Construct a new query pair.

Parameters:
dataSourceQuery - The data source query.
completionQuery - The completion query.
Method Detail

getDataSourceQuery

public Query getDataSourceQuery()
Returns the data source query.

Returns:
The data source query.

getCompletionQuery

public Query getCompletionQuery()
Returns the completion query.

Returns:
The completion query.


Copyright © 2009 Google. All Rights Reserved.