/// <summary> /// Create a classification processor to run over the given event stream's backing store /// </summary> public IClassificationProcessor CreateClassificationProcessorForEventStream(ClassificationAttribute attribute) { string connectionStringName = GetConnectionStringName(attribute); if (GetBackingImplementationType(attribute).Equals(EventStreamSetting.EVENTSTREAMIMPLEMENTATIOIN_TABLE, StringComparison.OrdinalIgnoreCase)) { return(TableEventStreamReader.CreateClassificationProcessor(attribute, connectionStringName: connectionStringName)); } // Default to AppendBlob return(BlobEventStreamReader.CreateClassificationProcessor(attribute, connectionStringName)); }
public ClassificationProcessor(BlobEventStreamReader blobEventStreamReader) { // Initialise the reader to use to read the events to be processed this.eventStreamReader = blobEventStreamReader; }