C# 클래스 EventStore.ClientAPI.Projections.ProjectionsManager

API for managing projections in the Event Store through C# code. Communicates with the Event Store over the RESTful API.
파일 보기 프로젝트 열기: EventStore/EventStore 1 사용 예제들

공개 메소드들

메소드 설명
AbortAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously disables a projection.

CreateContinuousAsync ( string name, string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously creates a continuous projection.

CreateContinuousAsync ( string name, string query, bool trackEmittedStreams, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously creates a continuous projection.

CreateOneTimeAsync ( string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously creates a one-time query.

CreateTransientAsync ( string name, string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously creates a one-time query.

DeleteAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously deletes a projection

DeleteAsync ( string name, bool deleteEmittedStreams, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously deletes a projection

DisableAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously aborts and disables a projection without writing a checkpoint.

EnableAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously enables a projection

GetPartitionResultAsync ( string name, string partitionId, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

Asynchronously gets the state of a projection for a specified partition.

GetPartitionStateAsync ( string name, string partitionId, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

Asynchronously gets the state of a projection for a specified partition.

GetQueryAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

Asynchronously gets the status of a query.

GetResultAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

Asynchronously gets the state of a projection.

GetStateAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

Asynchronously gets the state of a projection.

GetStatisticsAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

Asynchronously gets the statistics of a projection.

GetStatusAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

Asynchronously gets the status of a projection.

ListAllAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task>

Asynchronously lists this status of all projections.

ListContinuousAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task>

Synchronously lists this status of all continuous projections.

ListOneTimeAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task>

Asynchronously lists this status of all one-time projections.

ProjectionsManager ( ILogger log, IPEndPoint httpEndPoint, System.TimeSpan operationTimeout ) : System

Creates a new instance of ProjectionsManager.

UpdateQueryAsync ( string name, string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task

Asynchronously updates the definition of a query.

비공개 메소드들

메소드 설명
ListAllAsStringAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
ListContinuousAsStringAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
ListOneTimeAsStringAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task

메소드 상세

AbortAsync() 공개 메소드

Asynchronously disables a projection.
public AbortAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to disable a projection.
리턴 System.Threading.Tasks.Task

CreateContinuousAsync() 공개 메소드

Asynchronously creates a continuous projection.
public CreateContinuousAsync ( string name, string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the projection.
query string The JavaScript source code for the query.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to create a query.
리턴 System.Threading.Tasks.Task

CreateContinuousAsync() 공개 메소드

Asynchronously creates a continuous projection.
public CreateContinuousAsync ( string name, string query, bool trackEmittedStreams, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the projection.
query string The JavaScript source code for the query.
trackEmittedStreams bool Whether the streams emitted by this projection should be tracked.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to create a query.
리턴 System.Threading.Tasks.Task

CreateOneTimeAsync() 공개 메소드

Asynchronously creates a one-time query.
public CreateOneTimeAsync ( string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
query string The JavaScript source code for the query.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to create a query.
리턴 System.Threading.Tasks.Task

CreateTransientAsync() 공개 메소드

Asynchronously creates a one-time query.
public CreateTransientAsync ( string name, string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string A name for the query.
query string The JavaScript source code for the query.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to create a query.
리턴 System.Threading.Tasks.Task

DeleteAsync() 공개 메소드

Asynchronously deletes a projection
public DeleteAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to delete a projection
리턴 System.Threading.Tasks.Task

DeleteAsync() 공개 메소드

Asynchronously deletes a projection
public DeleteAsync ( string name, bool deleteEmittedStreams, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the projection.
deleteEmittedStreams bool Whether to delete the streams that were emitted by this projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to delete a projection
리턴 System.Threading.Tasks.Task

DisableAsync() 공개 메소드

Asynchronously aborts and disables a projection without writing a checkpoint.
public DisableAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to disable a projection.
리턴 System.Threading.Tasks.Task

EnableAsync() 공개 메소드

Asynchronously enables a projection
public EnableAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for a user with permission to enable a projection
리턴 System.Threading.Tasks.Task

GetPartitionResultAsync() 공개 메소드

Asynchronously gets the state of a projection for a specified partition.
public GetPartitionResultAsync ( string name, string partitionId, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
name string The name of the projection.
partitionId string The id of the partition.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task

GetPartitionStateAsync() 공개 메소드

Asynchronously gets the state of a projection for a specified partition.
public GetPartitionStateAsync ( string name, string partitionId, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
name string The name of the projection.
partitionId string The id of the partition.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task

GetQueryAsync() 공개 메소드

Asynchronously gets the status of a query.
public GetQueryAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
name string The name of the query.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task

GetResultAsync() 공개 메소드

Asynchronously gets the state of a projection.
public GetResultAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task

GetStateAsync() 공개 메소드

Asynchronously gets the state of a projection.
public GetStateAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task

GetStatisticsAsync() 공개 메소드

Asynchronously gets the statistics of a projection.
public GetStatisticsAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task

GetStatusAsync() 공개 메소드

Asynchronously gets the status of a projection.
public GetStatusAsync ( string name, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task
name string The name of the projection.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task

ListAllAsync() 공개 메소드

Asynchronously lists this status of all projections.
public ListAllAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task>
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task>

ListContinuousAsync() 공개 메소드

Synchronously lists this status of all continuous projections.
public ListContinuousAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task>
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task>

ListOneTimeAsync() 공개 메소드

Asynchronously lists this status of all one-time projections.
public ListOneTimeAsync ( EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : Task>
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 Task>

ProjectionsManager() 공개 메소드

Creates a new instance of ProjectionsManager.
public ProjectionsManager ( ILogger log, IPEndPoint httpEndPoint, System.TimeSpan operationTimeout ) : System
log ILogger An instance of to use for logging.
httpEndPoint System.Net.IPEndPoint HTTP endpoint of an Event Store server.
operationTimeout System.TimeSpan
리턴 System

UpdateQueryAsync() 공개 메소드

Asynchronously updates the definition of a query.
public UpdateQueryAsync ( string name, string query, EventStore.ClientAPI.SystemData.UserCredentials userCredentials = null ) : System.Threading.Tasks.Task
name string The name of the query.
query string The JavaScript source code of the query.
userCredentials EventStore.ClientAPI.SystemData.UserCredentials Credentials for the operation.
리턴 System.Threading.Tasks.Task