예제 #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;
 }
 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;
 }