| Package | Description |
|---|---|
| com.datasift.client.push | |
| com.datasift.client.push.connectors |
| Modifier and Type | Field and Description |
|---|---|
static OutputType<FTP> |
OutputType.FTP_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static FTP |
PushConnectors.ftp() |
| Modifier and Type | Method and Description |
|---|---|
FTP |
FTP.auth(String username,
String password)
Sets the authentication information that should be used for the connector
|
FTP |
FTP.compression(String format) |
FTP |
FTP.deliveryFrequency(int freq)
The minimum number of seconds you want DataSift to wait before sending data again:
10 (10 seconds)
30 (30 seconds)
60 (1 minute)
120 (2 minutes)
300 (5 minutes)
In reality, a stream might not have data available after the wait.
|
FTP |
FTP.directory(String name) |
FTP |
FTP.filePrefix(String prefix)
An optional prefix to the filename.
|
FTP |
FTP.format(FTP.FTPFormat format)
The output format for your data:
json_meta - The current default format, where each payload contains a full JSON document.
|
FTP |
FTP.gzip() |
FTP |
FTP.host(String host) |
FTP |
FTP.markInProgress(boolean trueOrFalse)
This enables you to see which files are being written and which are complete.
|
FTP |
FTP.maxSize(int max)
The maximum amount of data that DataSift will send in a single batch:
102400 (100KB)
256000 (250KB)
512000 (500KB)
1048576 (1MB)
2097152 (2MB)
5242880 (5MB)
10485760 (10MB)
20971520 (20MB)
52428800 (50MB)
104857600 (100MB)
209715200 (200MB)
|
FTP |
FTP.password(String password) |
FTP |
FTP.port(int host) |
FTP |
FTP.url(String host,
int port)
Simple calls
host(String).port(int) for convenience |
FTP |
FTP.username(String username) |
Copyright © 2015. All Rights Reserved.