com.google.gwt.visualization.client
Class Query

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.visualization.client.Query

public class Query
extends com.google.gwt.core.client.JavaScriptObject

Represents a query that is sent to a data source.

See Also:
Query API Reference

Nested Class Summary
static interface Query.Callback
          Callback for sending a query.
static class Query.Options
           
static class Query.SendMethod
           
 
Constructor Summary
protected Query()
           
 
Method Summary
static Query create(java.lang.String dataSource)
           
static Query create(java.lang.String dataSource, Query.Options options)
           
 void send(Query.Callback callback)
           
 void setQuery(java.lang.String query)
           
 void setRefreshInterval(int timeInSeconds)
           
 void setTimeout(int seconds)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

protected Query()
Method Detail

create

public static final Query create(java.lang.String dataSource)

create

public static final Query create(java.lang.String dataSource,
                                 Query.Options options)

send

public final void send(Query.Callback callback)

setQuery

public final void setQuery(java.lang.String query)

setRefreshInterval

public final void setRefreshInterval(int timeInSeconds)

setTimeout

public final void setTimeout(int seconds)