public class DataSiftPylon extends DataSiftApiClient
| Modifier and Type | Field and Description |
|---|---|
String |
ANALYZE |
String |
COMPILE |
String |
GET |
String |
SAMPLE |
String |
START |
String |
STOP |
String |
TAGS |
String |
VALIDATE |
config| Constructor and Description |
|---|
DataSiftPylon(DataSiftConfig config) |
| Modifier and Type | Method and Description |
|---|---|
FutureData<PylonResult> |
analyze(PylonQuery query)
Analyze a given recording and retrieve results.
|
FutureData<PylonStream> |
compile(String csdl)
Compile a CSDL string to a stream hash to which you can later subscribe and receive interactions from.
|
FutureData<PylonStreamStatusList> |
get()
Get the status of all streams.
|
FutureData<PylonStreamStatusList> |
get(int page)
Get the status of all streams on page given.
|
FutureData<PylonStreamStatusList> |
get(int page,
int perPage)
Get the status of all streams on page given.
|
FutureData<PylonStreamStatus> |
get(String hash)
Get the status of the stream with a given hash.
|
FutureData<PylonSample> |
sample(PylonSampleRequest sampleRequest)
Sample a Pylon recording.
|
FutureData<DataSiftResult> |
start(String hash)
Start the stream with the given hash.
|
FutureData<DataSiftResult> |
start(String hash,
String name)
Start the stream with the given hash & name.
|
FutureData<DataSiftResult> |
stop(String hash)
Stop the stream with the given hash.
|
FutureData<PylonTags> |
tags(String hash)
Retrieve VEDO tags for a given filter hash.
|
FutureData<PylonValidation> |
validate(String csdl)
Validate the given CSDL string.
|
failNotify, newParams, newRequestCallback, performRequest, unwrapFuturepublic final String VALIDATE
public final String COMPILE
public final String START
public final String STOP
public final String GET
public final String ANALYZE
public final String TAGS
public final String SAMPLE
public DataSiftPylon(DataSiftConfig config)
public FutureData<PylonValidation> validate(String csdl)
csdl - the CSDL to validateValidation.isValid() to check if
validation was successfulpublic FutureData<PylonStream> compile(String csdl)
csdl - the CSDL to compile.Stream#hash()
to list the hash for the compiled CSDLpublic FutureData<DataSiftResult> start(String hash)
hash - the stream hashBaseDataSiftResult.isSuccessful()public FutureData<DataSiftResult> start(String hash, String name)
hash - the stream hashname - a name for the subscriptionBaseDataSiftResult.isSuccessful()public FutureData<DataSiftResult> stop(String hash)
hash - the hash for the stream to stopBaseDataSiftResult.isSuccessful()public FutureData<PylonStreamStatusList> get()
public FutureData<PylonStreamStatusList> get(int page)
public FutureData<PylonStreamStatusList> get(int page, int perPage)
public FutureData<PylonStreamStatus> get(String hash)
hash - A stream hashpublic FutureData<PylonResult> analyze(PylonQuery query)
query - pylon options for a streampublic FutureData<PylonTags> tags(String hash)
hash - A filter hashpublic FutureData<PylonSample> sample(PylonSampleRequest sampleRequest)
sampleRequest - Request object containing parameters for SampleCopyright © 2015. All Rights Reserved.