C# Class Semantria.Com.Workers.GnipPowerStreamDataProvider

Inheritance: IDataProvider
显示文件 Open project: Semantria/semantria-sdk

Public Methods

Method Description
GnipPowerStreamDataProvider ( string username, string password, string dataUrl ) : System
Initialize ( ) : bool
ReadBatch ( int size ) : List
ReadNext ( ) : dynamic
Reschedule ( dynamic record ) : bool
RescheduleBatch ( List batch ) : bool

Private Methods

Method Description
ExtractTweetData ( dynamic tweet ) : System.Dynamic.ExpandoObject
FetchLinkData ( Uri url ) : string
GetTweets ( string data ) : List

Method Details

GnipPowerStreamDataProvider() public method

public GnipPowerStreamDataProvider ( string username, string password, string dataUrl ) : System
username string
password string
dataUrl string
return System

Initialize() public method

public Initialize ( ) : bool
return bool

ReadBatch() public method

public ReadBatch ( int size ) : List
size int
return List

ReadNext() public method

public ReadNext ( ) : dynamic
return dynamic

Reschedule() public method

public Reschedule ( dynamic record ) : bool
record dynamic
return bool

RescheduleBatch() public method

public RescheduleBatch ( List batch ) : bool
batch List
return bool