C# Class DataSift.DataSiftClient

ファイルを表示 Open project: datasift/datasift-dotnet Class Usage Examples

Public Methods

Method Description
Balance ( ) : DataSift.Rest.RestAPIResponse
Compile ( string csdl ) : DataSift.Rest.RestAPIResponse
Connect ( bool secure = true, string domain = "stream.datasift.com", bool autoReconnect = true ) : DataSift.Streaming.DataSiftStream
DPU ( string hash = null, string historicsId = null ) : DataSift.Rest.RestAPIResponse
DataSiftClient ( string username, string apikey, GetAPIRequestDelegate requestCreator = null, GetStreamConnectionDelegate connectionCreator = null, GetIngestRequestDelegate ingestRequestCreator = null, string baseUrl = null, string apiVersion = null, string baseIngestUrl = null ) : System
GetIngestRequest ( ) : IIngestAPIRequest
GetRequest ( ) : IRestAPIRequest
Pull ( string id, int size = null, string cursor = null ) : DataSift.Rest.PullAPIResponse
Usage ( UsagePeriod period = null ) : DataSift.Rest.RestAPIResponse
Validate ( string csdl ) : DataSift.Rest.RestAPIResponse

Private Methods

Method Description
GetIngestRequestDefault ( string username, string apikey, string baseIngestUrl, string apiVersion ) : IIngestAPIRequest
GetRequestDefault ( string username, string apikey, string baseUrl, string apiVersion ) : IRestAPIRequest

Method Details

Balance() public method

public Balance ( ) : DataSift.Rest.RestAPIResponse
return DataSift.Rest.RestAPIResponse

Compile() public method

public Compile ( string csdl ) : DataSift.Rest.RestAPIResponse
csdl string
return DataSift.Rest.RestAPIResponse

Connect() public method

public Connect ( bool secure = true, string domain = "stream.datasift.com", bool autoReconnect = true ) : DataSift.Streaming.DataSiftStream
secure bool
domain string
autoReconnect bool
return DataSift.Streaming.DataSiftStream

DPU() public method

public DPU ( string hash = null, string historicsId = null ) : DataSift.Rest.RestAPIResponse
hash string
historicsId string
return DataSift.Rest.RestAPIResponse

DataSiftClient() public method

public DataSiftClient ( string username, string apikey, GetAPIRequestDelegate requestCreator = null, GetStreamConnectionDelegate connectionCreator = null, GetIngestRequestDelegate ingestRequestCreator = null, string baseUrl = null, string apiVersion = null, string baseIngestUrl = null ) : System
username string
apikey string
requestCreator GetAPIRequestDelegate
connectionCreator GetStreamConnectionDelegate
ingestRequestCreator GetIngestRequestDelegate
baseUrl string
apiVersion string
baseIngestUrl string
return System

GetIngestRequest() public method

public GetIngestRequest ( ) : IIngestAPIRequest
return IIngestAPIRequest

GetRequest() public method

public GetRequest ( ) : IRestAPIRequest
return IRestAPIRequest

Pull() public method

public Pull ( string id, int size = null, string cursor = null ) : DataSift.Rest.PullAPIResponse
id string
size int
cursor string
return DataSift.Rest.PullAPIResponse

Usage() public method

public Usage ( UsagePeriod period = null ) : DataSift.Rest.RestAPIResponse
period UsagePeriod
return DataSift.Rest.RestAPIResponse

Validate() public method

public Validate ( string csdl ) : DataSift.Rest.RestAPIResponse
csdl string
return DataSift.Rest.RestAPIResponse