-
Notifications
You must be signed in to change notification settings - Fork 37
Output
Kushal Kant Goyal edited this page Sep 21, 2015
·
8 revisions
Name: aidr-output
The aidr-output module provides query and subscription APIs that allow users to see the items collected by aidr-collector and tagged by aidr-tagger.
In both cases, aidr-output reads the items from a Redis interface.
The aidr-output module has [no explicit per-collection start/stop](Per collection start or stop).
The aidr-output module maintains an in-memory buffer of the latest 1,000 items of each collection.
Then, it provides an API to query this buffer, e.g. to see the latest items, including filtering them according to various criteria.
The aidr-output module also allow users to subscribe to an HTTP interface for receiving a live stream of items for a collection.
- qa.qcri.aidr.output.getdata implements the querying interface.
- qa.qcri.aidr.output.stream implements the subscription interface.
- qa.qcri.aidr.output.filter contains code to build and apply different kinds of filtering over the data.
- qa.qcri.aidr.output.util contains utility functions.
- JAVAX Servlet API 3.1.0 (Asynchronous servlets)
- JEDIS 2.7.0 (REDIS API library)
- Jersey 2+ (for JAX-RX 2.0)
- Google GSON 2.2.4 (JSON processor)
- Jackson 1.9.13 (JSON processor) (redudant? --ChaTo)
- Home
- [What is AIDR?](AIDR Overview)
- The science behind AIDR
- [Operator's manual](AIDR Operator's Manual)
- [Public API documentation](API documentation)
- High-level overview
- Common
- DB Manager
- DTO standards
- Database schema
- Manager
- Manager API
- Collector
- Collector API
- Reconnect strategy
- Collector Tester
- Output
- Output API
- Output Buffered
- Output Streaming
- Output Tester
- Persister
- Persister API
- Persister Tester
- Tagger
- Tagger Concepts
- Tagger API
- Tagger Tester
- Trainer
- Trainer API
- PyBossa Trainer