C# Class ActivityStreams.Persistence.Cassandra.ActivityStore

Type reference: http://docs.datastax.com/en/developer/csharp-driver/2.7/csharp-driver/reference/csharpType2Cql3Datatypes_r.html
Inheritance: IActivityStore
Datei anzeigen Open project: Elders/ActivityStreams

Public Methods

Method Description
ActivityStore ( ISession session, ISerializer serializer ) : System
Delete ( byte streamId, long timestamp ) : void
LoadStream ( byte streamId, ActivityStreamOptions options ) : IEnumerable
Save ( Activity activity ) : void

Private Methods

Method Description
SerializeActivity ( Activity activity ) : byte[]

Method Details

ActivityStore() public method

public ActivityStore ( ISession session, ISerializer serializer ) : System
session ISession
serializer ISerializer
return System

Delete() public method

public Delete ( byte streamId, long timestamp ) : void
streamId byte
timestamp long
return void

LoadStream() public method

public LoadStream ( byte streamId, ActivityStreamOptions options ) : IEnumerable
streamId byte
options ActivityStreamOptions
return IEnumerable

Save() public method

public Save ( Activity activity ) : void
activity Activity
return void