コード例 #1
0
 public ProjectionNamesBuilder(string name, QuerySourceProcessingStrategyBuilder.QuerySourceOptions options)
 {
     _name    = name;
     _options = options;
     _partitionResultStreamNamePattern = _options.PartitionResultStreamNamePattern
                                         ?? ProjectionsStreamPrefix + EffectiveProjectionName + "-{0}" + ProjectionsStateStreamSuffix;
     _resultStreamName           = _options.ResultStreamName ?? ProjectionsStreamPrefix + EffectiveProjectionName + ProjectionsStateStreamSuffix;
     _partitionCatalogStreamName = ProjectionsStreamPrefix + EffectiveProjectionName + ProjectionPartitionCatalogStreamSuffix;
     _checkpointStreamName       = ProjectionsStreamPrefix + EffectiveProjectionName
                                   + ProjectionCheckpointStreamSuffix;
     _orderStreamName = ProjectionsStreamPrefix + EffectiveProjectionName
                        + ProjectionOrderStreamSuffix;
 }
コード例 #2
0
 public ProjectionNamesBuilder(string name, QuerySourceProcessingStrategyBuilder.QuerySourceOptions options)
 {
     _name = name;
     _options = options;
     _partitionResultStreamNamePattern = _options.PartitionResultStreamNamePattern
                                         ?? ProjectionsStreamPrefix + EffectiveProjectionName + "-{0}" + ProjectionsStateStreamSuffix;
     _resultStreamName = _options.ResultStreamName ?? ProjectionsStreamPrefix + EffectiveProjectionName + ProjectionsStateStreamSuffix;
     _partitionCatalogStreamName = ProjectionsStreamPrefix + EffectiveProjectionName + ProjectionPartitionCatalogStreamSuffix;
     _checkpointStreamName = ProjectionsStreamPrefix + EffectiveProjectionName
                             + ProjectionCheckpointStreamSuffix;
     _orderStreamName = ProjectionsStreamPrefix + EffectiveProjectionName
                        + ProjectionOrderStreamSuffix;
 }