C# Class EventStore.Projections.Core.v8.QueryScript

Inheritance: IDisposable
显示文件 Open project: EventStore/EventStore Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetPartition ( string json, string other ) : string
GetSourcesDefintion ( ) : QuerySourcesDefinition
Initialize ( ) : void
InitializeShared ( ) : void
NotifyCreated ( string json, string other ) : string
NotifyDeleted ( string json, string other ) : string
Push ( string json, string other ) : string>.Tuple
QueryScript ( EventStore.Projections.Core.v8.PreludeScript prelude, string script, string fileName ) : System
SetSharedState ( string state ) : void
SetState ( string state ) : void
TransformCatalogEvent ( string json, string other ) : string
TransformStateToResult ( ) : string

Private Methods

Method Description
CommandHandlerRegisteredCallback ( string commandName, IntPtr handlerHandle ) : void
CompileScript ( EventStore.Projections.Core.v8.PreludeScript prelude, string script, string fileName ) : EventStore.Projections.Core.v8.CompiledScript
DoEmit ( string commandBody ) : void
ExecuteHandler ( IntPtr commandHandlerHandle, string json, string other = null ) : string
ExecuteHandler ( IntPtr commandHandlerHandle, string json, string other, string &newSharedState ) : string
GetSources ( ) : void
InitializeScript ( ) : void
InitializeScriptShared ( ) : void
OnEmit ( string obj ) : void
ReverseCommandHandler ( string commandName, string commandBody ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetPartition() public method

public GetPartition ( string json, string other ) : string
json string
other string
return string

GetSourcesDefintion() public method

public GetSourcesDefintion ( ) : QuerySourcesDefinition
return EventStore.Projections.Core.Messages.QuerySourcesDefinition

Initialize() public method

public Initialize ( ) : void
return void

InitializeShared() public method

public InitializeShared ( ) : void
return void

NotifyCreated() public method

public NotifyCreated ( string json, string other ) : string
json string
other string
return string

NotifyDeleted() public method

public NotifyDeleted ( string json, string other ) : string
json string
other string
return string

Push() public method

public Push ( string json, string other ) : string>.Tuple
json string
other string
return string>.Tuple

QueryScript() public method

public QueryScript ( EventStore.Projections.Core.v8.PreludeScript prelude, string script, string fileName ) : System
prelude EventStore.Projections.Core.v8.PreludeScript
script string
fileName string
return System

SetSharedState() public method

public SetSharedState ( string state ) : void
state string
return void

SetState() public method

public SetState ( string state ) : void
state string
return void

TransformCatalogEvent() public method

public TransformCatalogEvent ( string json, string other ) : string
json string
other string
return string

TransformStateToResult() public method

public TransformStateToResult ( ) : string
return string