| Package | Description | 
|---|---|
| com.streambase.liveview.client | 
 Provides classes and interfaces fundamental to the TIBCO Live Datamart Java API. 
 | 
| com.streambase.liveview.client.alert | 
 Provides classes and interfaces to set Alerts. 
 | 
| com.streambase.liveview.client.dynamictables | 
 Provides classes and interfaces to configure TIBCO Live Datamart server's dynamic tables. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
QueryConfig | 
Query.getConfig()
Returns a QueryConfig object that contains fully parsed pieces like table, predicate, groupByExprs, etc. 
 | 
QueryConfig | 
QueryListenerWrapper.getConfig()  | 
QueryConfig | 
QueryConfig.setApproximateSnapshotOrder(OrderDefinition order)
Return the snapshot part of the query in this approximate order,
 subject to parallel scan interleaving. 
 | 
QueryConfig | 
QueryConfig.setDescription(java.lang.String description)
Configure the description for this query 
 | 
QueryConfig | 
QueryConfig.setGroupByExprs(java.util.List<java.lang.String> groupByExprs)
Configure group-by 
 | 
QueryConfig | 
QueryConfig.setGroupByExprs(java.lang.String... exprs)
Configure group-by 
 | 
QueryConfig | 
QueryConfig.setIncludeInternal(boolean includeInternal)
set to make this query include internal fields, regardless of the state of includeInternal property
 if false, use the property (which is set by the URI when connecting) 
 | 
QueryConfig | 
QueryConfig.setLimit(int limit)
Deprecated. 
 
1.4 use  
QueryConfig.setMaxResultSetSize(int) instead | 
QueryConfig | 
QueryConfig.setMaxResultSetSize(int limit)
Configure the row limit. 
 | 
QueryConfig | 
QueryConfig.setName(java.lang.String name)  | 
QueryConfig | 
QueryConfig.setOwner(java.lang.String owner)  | 
QueryConfig | 
QueryConfig.setPivotAggExpr(java.lang.String pivotAggExpr)
Set the pivot aggregate expressions, 'PIVOT' clause 
 | 
QueryConfig | 
QueryConfig.setPivotField(java.lang.String pivotField)
Set the pivot 'FOR' clause 
 | 
QueryConfig | 
QueryConfig.setPivotQuery(java.lang.String tableName,
             java.lang.String pivotAggExprs,
             java.lang.String pivotField,
             java.lang.String pivotValues,
             java.lang.String... groupByExprs)
Configure the pivot query 
 | 
QueryConfig | 
QueryConfig.setPivotValues(java.lang.String pivotValues)
Set the pivot 'VALUES' clause 
 | 
QueryConfig | 
QueryConfig.setPredicate(java.lang.String predicate)
Configure the predicate 
 | 
QueryConfig | 
QueryConfig.setPredicate(java.lang.String predicate,
            int timePredicateInMillis)
Configure the predicate 
 | 
QueryConfig | 
QueryConfig.setQuery(java.util.List<Schema.Field> fields,
        java.lang.String table,
        java.lang.String predicate)
Configure the table to query, the predicate and the result fields 
 | 
QueryConfig | 
QueryConfig.setQuery(java.util.List<Schema.Field> fields,
        java.lang.String table,
        java.lang.String predicate,
        int limit)
Configure the table to query, the predicate and the result fields using a specified row limit 
 | 
QueryConfig | 
QueryConfig.setQuery(java.util.List<Schema.Field> fields,
        java.lang.String table,
        java.lang.String predicate,
        int limit,
        long timePredicateInMillis)
Configure the table to query, the predicate and the result fields using a specified row limit and row delay 
 | 
QueryConfig | 
QueryConfig.setQuery(java.lang.String table,
        java.lang.String predicate)
Configure the table to query and predicate 
 | 
QueryConfig | 
QueryConfig.setQueryString(java.lang.String query)
Configure the query using a single string, SQL-like syntax. 
 | 
QueryConfig | 
QueryConfig.setQueryType(LiveViewQueryType queryType)
Configure the query type. 
 | 
QueryConfig | 
QueryConfig.setSelectExprs(java.util.List<java.lang.String> exprs)
Configure the result fields 
 | 
QueryConfig | 
QueryConfig.setSelectExprs(java.lang.String... exprs)
Configure the result fields 
 | 
QueryConfig | 
QueryConfig.setSelectFields(java.util.List<Schema.Field> fields)
Configure the result fields 
 | 
QueryConfig | 
QueryConfig.setSelectFields(Schema.Field... fields)
Configure the result fields 
 | 
QueryConfig | 
QueryConfig.setTable(java.lang.String table)
Configure the table to query 
 | 
QueryConfig | 
QueryConfig.setTimePredicateInMillis(long ms)
Set the time predicate. 
 | 
QueryConfig | 
QueryConfig.setTimeWindow(java.lang.String startTimeExpr,
             java.lang.String endTimeExpr,
             java.lang.String timestampField)
Configures this query as a time-windowed query, using the given start and end time
 expressions, against the given timestamp field from the target table. 
 | 
QueryConfig | 
QueryConfig.setTopN(OrderDefinition order,
       int size)
Return only the top N results according to the order definition. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TableAdminManager.createAggregateTable(java.lang.String tablename,
                    java.lang.String descripton,
                    QueryConfig aggregateQuery,
                    java.util.List<java.util.List<java.lang.String>> indices)
Create a table that is based on an aggregate query against an existing table. 
 | 
void | 
LiveViewConnection.deleteRows(QueryConfig config)
Delete rows based on the supplied  
QueryConfig. | 
Query | 
LiveViewConnection.describeQuery(QueryConfig config)
Get information about a query, such as its result schema, without actually running it 
 | 
SnapshotResult | 
LiveViewConnection.executeSnapshotQuery(QueryConfig config)
This method makes it easy to run a snapshot-only query where the results come back 
 in an object that can be iterated over to retrieve the snapshot tuples. 
 | 
static com.streambase.liveview.internal.protocol.jaxb.Query | 
QueryConfig.getJaxbQuery(QueryConfig config,
            boolean convertSnapOnlyToContinuousOnly)  | 
Query | 
LiveViewConnection.registerQuery(QueryConfig config,
             QueryListener listener)
Registers a new query on the server based on the  
QueryConfig and sends query events
 to the specified QueryListener. | 
| Constructor and Description | 
|---|
QueryListenerWrapper(com.streambase.liveview.client.internal.ws.LiveViewMultiConnectionImpl liveViewMultiConnectionImpl,
                    QueryConfig config,
                    QueryListener qListener)  | 
| Modifier and Type | Method and Description | 
|---|---|
QueryConfig | 
AlertRule.getAlertQueryConfig()
Gets the value of the alertQueryConfig property. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AlertRule.setAlertQueryConfig(QueryConfig queryConfig)
Sets the value of the alertQueryConfig property. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
QueryConfig | 
TableConfig.getAggregateQuery()
This method returns the aggregate query for this table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TableConfig | 
TableConfig.setAggregateQuery(QueryConfig aggregateQuery)
This method sets the aggregate query for the table. 
 |