|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Capabilities>
com.google.visualization.datasource.Capabilities
public enum Capabilities
An enumeration of the capabilities provided by a data source. A data source declares the
capabilities it supports and this information determines how a query is split.
For example if a data source declares Capibilities.SELECT then the following
query select A,B sort A limit 20
will be split as follows:
query for data source - 'select A,B'
completion query - 'sort A limit 20'
| Enum Constant Summary | |
|---|---|
ALL
Supports all the above capabilities: SQL. |
|
NONE
Supports no capabilities. |
|
SELECT
Supports: select over simple columns. |
|
SORT_AND_PAGINATION
Supports: sort, limit, and offset over simple columns. |
|
SQL
Supports: filter, sort, group, limit, and offset. |
|
| Method Summary | |
|---|---|
static Capabilities |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Capabilities[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Capabilities SQL
public static final Capabilities SORT_AND_PAGINATION
public static final Capabilities SELECT
public static final Capabilities ALL
public static final Capabilities NONE
| Method Detail |
|---|
public static Capabilities[] values()
for (Capabilities c : Capabilities.values()) System.out.println(c);
public static Capabilities valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||