Confluo
0.1.0
|
Public Member Functions | |
RpcClient (String host, int port) throws TException | |
void | close () throws TException |
void | disconnect () throws TException |
void | createAtomicMultilog (String name, Schema schema, rpc_storage_mode storageMode) throws TException |
void | createAtomicMultilog (String name, String schema, rpc_storage_mode storageMode) throws TException |
void | setCurrentAtomicMultilog (String name) throws TException |
void | removeAtomicMultilog () throws TException |
void | addIndex (String fieldName, double bucketSize) throws TException |
void | removeIndex (String fieldName) throws TException |
void | addFilter (String filterName, String filterExpr) throws TException |
void | removeFilter (String filterName) throws TException |
void | addAggregate (String aggregateName, String filterName, String aggregateExpr) throws TException |
void | removeAggregate (String aggregateName) throws TException |
void | installTrigger (String triggerName, String triggerExpr) throws TException |
void | removeTrigger (String triggerName) throws TException |
RecordBatchBuilder | getBatchBuilder () |
long | appendRaw (ByteBuffer record) throws TException |
long | append (List< String > record) throws TException |
long | append (String... record) throws TException |
ByteBuffer | readRaw (long offset) throws TException |
Record | read (long offset) throws TException |
String | getAggregate (String aggregateName, long beginMs, long endMs) throws TException |
RecordStream | executeFilter (String filterExpr) throws TException |
RecordStream | queryFilter (String filterName, long beginMs, long endMs, String filterExpr) throws TException |
AlertStream | getAlerts (long beginMs, long endMs, String triggerName) throws TException |
long | numRecords () throws TException |
Client for Confluo through RPC
|
inline |
Initializes the rpc client to the specified host and port
host | The host for the client |
port | The port number to communicate through |
TException | Cannot connect to host |
|
inline |
Adds an aggregate to the atomic multilog
aggregateName | The name of the aggregate |
filterName | The name of the filter |
aggregateExpr | The aggregate expression |
TException | Cannot add the aggregate |
|
inline |
Adds a filter to the atomic multilog
filterName | The name of the filter |
filterExpr | The filter expression |
TException | Cannot add filter |
|
inline |
Adds an index to the atomic multilog
fieldName | The name of the associated field |
bucketSize | The bucket in the multilog to add the index |
TException | Cannot add the index |
|
inline |
Writes a record to the atomic multilog
record | The record to write |
TException | Cannot append the record |
|
inline |
Writes a record to the atomic multilog
record | The record to write |
TException | Cannot append the record |
|
inline |
Writes a record to the atomic multilog
record | The record to write |
TException | Cannot append the record |
|
inline |
Closes the rpc client
TException | Cannot disconnect |
|
inline |
Creates an atomic multilog for this client
name | The name of the atomic multilog to create |
schema | The schema for the atomic multilog |
storageMode | The mode for storage |
TException | Cannot create the atomic multilog |
|
inline |
Creates an atomic multilog for this client
name | The name of the atomic multilog to create |
schema | The schema for the atomic multilog |
storageMode | The mode for storage |
TException | Cannot create the atomic multilog |
|
inline |
Disconnects the rpc client from the host and port
TException | Cannot disconnect |
|
inline |
Executes a specified filter
filterExpr | The filter expression |
TException | Cannot execute the filter |
|
inline |
Gets an aggregate from the atomic multilog
aggregateName | The name of the aggregate |
beginMs | The beginning time in milliseconds |
endMs | The end time in milliseconds |
TException | Cannot get the aggregate |
|
inline |
Gets the alerts
beginMs | The beginning time in milliseconds |
endMs | The end time in milliseconds |
triggerName | The name of the trigger |
TException | Cannot get the alerts |
|
inline |
Gets a new record batch builder
|
inline |
Adds a trigger to the atomic multilog
triggerName | The name of the trigger to add |
triggerExpr | The trigger expression |
TException | Cannot add the trigger |
|
inline |
Gets the number of records in the atomic multilog
TException | Cannot get the number of records |
|
inline |
Queries a filter
filterName | The name of the filter |
beginMs | The beginning time in milliseconds |
endMs | The end time in milliseconds |
filterExpr | The filter expression |
TException | Cannot query the filter |
|
inline |
Reads data from a specified offset
offset | The offset from the log to readRaw from |
TException | Cannot read the record |
|
inline |
Removes an aggregate from the atomic multilog
aggregateName | The name of the aggregate |
TException | Cannot remove the aggregate |
|
inline |
Removes an atomic multilog from the client
TException | Cannot remove the atomic multilog |
|
inline |
Removes a filter from the atomic multilog
filterName | The name of the filter |
TException | Cannot remove the filter |
|
inline |
Removes an index from the atomic multilog
fieldName | The name of the associated field |
TException | Cannot remove the index |
|
inline |
Removes a trigger from the atomic multilog
triggerName | The name of the trigger |
TException | Cannot remove the trigger |
|
inline |
Sets the atomic multilog to the desired atomic multilog
name | The name of atomic multilog to set the current atomic multilog to |
TException | Cannot set the atomic multilog |