| Package | Description |
|---|---|
| com.datasift.client | |
| com.datasift.client.core | |
| com.datasift.client.preview | |
| com.datasift.client.push | |
| com.datasift.client.stream |
| Modifier and Type | Method and Description |
|---|---|
FutureData<Stream> |
DataSiftClient.compile(String csdl)
Compile a CSDL string to a stream hash to which you can later subscribe and receive interactions from
|
| Modifier and Type | Method and Description |
|---|---|
FutureData<Dpu> |
DataSiftClient.dpu(Stream stream) |
| Modifier and Type | Method and Description |
|---|---|
FutureData<Dpu> |
DataSiftClient.dpu(FutureData<Stream> streamFuture) |
| Modifier and Type | Method and Description |
|---|---|
static Stream |
Stream.fromString(String str)
Create a stream instance containing only a hash
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Stream.isSameAs(Stream hash) |
| Modifier and Type | Method and Description |
|---|---|
FutureData<HistoricsPreview> |
DataSiftPreview.create(org.joda.time.DateTime start,
org.joda.time.DateTime end,
Stream hash,
String[] params) |
FutureData<HistoricsPreview> |
DataSiftPreview.create(org.joda.time.DateTime now,
Stream stream,
String[] params) |
FutureData<HistoricsPreview> |
DataSiftPreview.create(long start,
long end,
Stream stream,
String[] parameters)
Create a historic preview for the given stream within the given time frame, using the set of parameters provided
|
| Modifier and Type | Method and Description |
|---|---|
<T extends PushConnector> |
DataSiftPush.create(T con,
Stream stream,
String name) |
<T extends PushConnector> |
DataSiftPush.create(T connector,
Stream stream,
String name,
Status initialStatus,
long start,
long end)
Create a push subscription from a live stream
|
FutureData<PushSubscription> |
DataSiftPush.createPull(PullJsonType type,
PreparedHistoricsQuery historics,
Stream stream,
String name,
Status initialStatus,
long start,
long end) |
FutureData<PushSubscription> |
DataSiftPush.createPull(PullJsonType jsonMeta,
Stream stream,
String name) |
FutureData<PushSubscription> |
DataSiftPush.createPull(PullJsonType jsonMeta,
Stream stream,
String name,
Status initialStatus,
long start,
long end)
Create a push subscription to be consumed via
DataSiftPush.pull(PushSubscription, int, String) using a live stream |
FutureData<PushCollection> |
DataSiftPush.get(Stream hash,
int page,
int perPage,
String orderBy,
String orderDirection,
boolean includeFinished)
Get all push subscriptions for the given stream
|
| Modifier and Type | Method and Description |
|---|---|
<T extends PushConnector> |
DataSiftPush.create(T connector,
FutureData<PreparedHistoricsQuery> historics,
FutureData<Stream> stream,
String name) |
<T extends PushConnector> |
DataSiftPush.create(T connector,
FutureData<PreparedHistoricsQuery> historics,
FutureData<Stream> stream,
String name,
Status initialStatus,
long start,
long end)
Creates a push subscription to either a historics query OR a live stream.
|
| Modifier and Type | Field and Description |
|---|---|
protected Set<Stream> |
DataSiftMessage.hashes |
| Modifier and Type | Method and Description |
|---|---|
Stream |
StreamSubscription.stream() |
| Modifier and Type | Method and Description |
|---|---|
Set<Stream> |
DataSiftMessage.hashes() |
| Modifier and Type | Method and Description |
|---|---|
protected com.datasift.client.stream.DataSiftConnection |
ConnectionManager.obtainConnectionFor(Stream stream) |
ConnectionManager |
ConnectionManager.unsubscribe(Stream stream) |
| Constructor and Description |
|---|
StreamSubscription(Stream stream) |
Copyright © 2015. All Rights Reserved.