## Uses of Class
com.streambase.liveview.client.QueryConfig

- Packages that use QueryConfig
  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 to configure table options.

- - ### Uses of QueryConfig in com.streambase.liveview.client

    Methods in com.streambase.liveview.client that return QueryConfig
    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(String description)` Configure the description for this query
    `QueryConfig` | QueryConfig.`setGroupByExprs(List<String> groupByExprs)` Configure group-by
    `QueryConfig` | QueryConfig.`setGroupByExprs(String... exprs)` Configure group-by
    `QueryConfig` | QueryConfig.`setHaving(String having)` Set the having filter, 'HAVING' clause
    `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(String name)`
    `QueryConfig` | QueryConfig.`setOwner(String owner)`
    `QueryConfig` | QueryConfig.`setPivotAggExpr(String pivotAggExpr)` Set the pivot aggregate expressions, 'PIVOT' clause
    `QueryConfig` | QueryConfig.`setPivotField(String pivotField)` Set the pivot 'FOR' clause
    `QueryConfig` | QueryConfig.`setPivotQuery(String tableName, String pivotAggExprs, String pivotField, String pivotValues, String... groupByExprs)` Configure the pivot query
    `QueryConfig` | QueryConfig.`setPivotValues(String pivotValues)` Set the pivot 'VALUES' clause
    `QueryConfig` | QueryConfig.`setPredicate(String predicate)` Configure the predicate
    `QueryConfig` | QueryConfig.`setPredicate(String predicate, int timePredicateInMillis)` Configure the predicate
    `QueryConfig` | QueryConfig.`setQuery(List<Schema.Field> fields, String table, String predicate)` Configure the table to query, the predicate and the result fields
    `QueryConfig` | QueryConfig.`setQuery(List<Schema.Field> fields, String table, String predicate, int limit)` Configure the table to query, the predicate and the result fields using a specified row limit
    `QueryConfig` | QueryConfig.`setQuery(List<Schema.Field> fields, String table, 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(String table, String predicate)` Configure the table to query and predicate
    `QueryConfig` | QueryConfig.`setQueryString(String query)` Configure the query using a single string, SQL-like syntax.
    `QueryConfig` | QueryConfig.`setQueryType(LiveViewQueryType queryType)` Configure the query type.
    `QueryConfig` | QueryConfig.`setSelectExprs(List<String> exprs)` Configure the result fields
    `QueryConfig` | QueryConfig.`setSelectExprs(String... exprs)` Configure the result fields
    `QueryConfig` | QueryConfig.`setSelectFields(List<Schema.Field> fields)` Configure the result fields
    `QueryConfig` | QueryConfig.`setSelectFields(Schema.Field... fields)` Configure the result fields
    `QueryConfig` | QueryConfig.`setTable(String table)` Configure the table to query
    `QueryConfig` | QueryConfig.`setTimePredicateInMillis(long ms)` Set the time predicate.
    `QueryConfig` | QueryConfig.`setTimeWindow(String startTimeExpr, String endTimeExpr, 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.

    Methods in com.streambase.liveview.client with parameters of type QueryConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | TableAdminManager.`createAggregateTable(String tablename, String descripton, QueryConfig aggregateQuery, List<List<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 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`.

    Constructors in com.streambase.liveview.client with parameters of type QueryConfig
    Constructor and Description
    `QueryListenerWrapper(LiveViewMultiConnectionImpl liveViewMultiConnectionImpl, QueryConfig config, QueryListener qListener)`

  - ### Uses of QueryConfig in com.streambase.liveview.client.alert

    Methods in com.streambase.liveview.client.alert that return QueryConfig
    Modifier and Type | Method and Description
    --- | ---
    `QueryConfig` | AlertRule.`getAlertQueryConfig()` Gets the value of the alertQueryConfig property.

    Methods in com.streambase.liveview.client.alert with parameters of type QueryConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | AlertRule.`setAlertQueryConfig(QueryConfig queryConfig)` Sets the value of the alertQueryConfig property.

  - ### Uses of QueryConfig in com.streambase.liveview.client.dynamictables

    Methods in com.streambase.liveview.client.dynamictables that return QueryConfig
    Modifier and Type | Method and Description
    --- | ---
    `QueryConfig` | TableConfig.`getAggregateQuery()` This method returns the aggregate query for this table.

    Methods in com.streambase.liveview.client.dynamictables with parameters of type QueryConfig
    Modifier and Type | Method and Description
    --- | ---
    `TableConfig` | TableConfig.`setAggregateQuery(QueryConfig aggregateQuery)` This method sets the aggregate query for the table.

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.