Package | Description |
---|---|
com.streambase.liveview.client |
Provides classes and interfaces fundamental to the TIBCO Live Datamart Java API.
|
com.streambase.liveview.client.alert |
Modifier and Type | Method and Description |
---|---|
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.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.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.
|
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 com.streambase.liveview.internal.protocol.jaxb.Query |
QueryConfig.getJaxbQuery(QueryConfig config,
boolean convertSnapOnlyToContinuousOnly) |
static com.streambase.liveview.internal.protocol.jaxb.QueryConfig |
QueryConfig.getJaxbQueryConfig(QueryConfig config) |
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.
|