protected ProbabilisticMetadataIndexerBase(ILock fileLock, IAmazonAdapter amazonAdapter, TimeSpan lockTimeSpan, string bucketName)
 {
     _fileLock      = fileLock;
     _amazonAdapter = amazonAdapter;
     _lockTimeSpan  = lockTimeSpan;
     _bucketName    = bucketName;
 }
示例#2
0
 public AmazonDataLakeStream(IAmazonAdapter amazonAdapter, FileStream fileStream, string bucketName, string targetFilename)
 {
     _amazonAdapter   = amazonAdapter;
     _fileStream      = fileStream;
     _bucketName      = bucketName;
     _targetFilename  = targetFilename;
     _writtenToAmazon = false;
 }
示例#3
0
 public ContentKafkaOrchestrator(IConsumerFactory consumerFactory, IEnumerable <IFileTableWrapperFactory> tableWrapperFactories,
                                 IContentIndexer contentIndexer, IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration amazonConfig) : base(consumerFactory)
 {
     _tableWrapperFactories = tableWrapperFactories;
     _contentIndexer        = contentIndexer;
     _amazonAdapter         = amazonAdapter;
     _bucketName            = amazonConfig.BucketName;
 }
示例#4
0
 public MetadataKafkaOrchestrator(IConsumerFactory consumerFactory, IEnumerable <IMetadataExtractor> extractors, IEnumerable <IMetadataIndexer> indexers, IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration amazonConfig)
     : base(consumerFactory)
 {
     _extractors    = extractors;
     _indexers      = indexers;
     _amazonAdapter = amazonAdapter;
     _bucketName    = amazonConfig.BucketName;
 }
示例#5
0
 public AmazonRootIndexFileAccess(IRootIndexCache cache, IAmazonAdapter amazonAdapter, ILock lockMechanism, AmazonRootIndexFileConfiguration configuration)
 {
     _cache         = cache;
     _amazonAdapter = amazonAdapter;
     _lockMechanism = lockMechanism;
     _lockTimeSpan  = TimeSpan.FromSeconds(configuration.LockTimeSpanInSeconds);
     _bucketName    = configuration.BucketName;
     _rootIndexName = $"{CommonKeys.INDEX_FOLDER_NAME}/{configuration.RootIndexName}";
 }
 public CountMinSketchMetadataIndexer(ILock fileLock, IAmazonAdapter amazonAdapter, CountMinSketchMetadataIndexConfiguration configuration)
     : base(fileLock, amazonAdapter, TimeSpan.FromSeconds(configuration.LockIntervalInSeconds), configuration.BucketName)
 {
     _confidence = configuration.Confidence;
     _errorRate  = configuration.ErrorRate;
 }
示例#7
0
 public FrequencyQueryExecutor(IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration indexConfiguration) : base(amazonAdapter, indexConfiguration)
 {
 }
示例#8
0
 public AmazonDataLakeWriter(IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration config)
 {
     _amazonAdapter = amazonAdapter;
     _bucketName    = config.BucketName;
 }
示例#9
0
 public HyperLogLogMetadataIndexer(ILock fileLock, IAmazonAdapter amazonAdapter, HyperLogLogMetadataIndexConfiguration configuration)
     : base(fileLock, amazonAdapter, TimeSpan.FromSeconds(configuration.LockIntervalInSeconds), configuration.BucketName)
 {
 }
示例#10
0
 protected BaseQueryExecutor(IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration config)
 {
     _amazonAdapter = amazonAdapter;
     _bucketName    = config.BucketName;
 }
示例#11
0
 public AmazonIndexFileWriter(IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration configuration, IIndexFileAccess indexFileAccess)
 {
     _amazonAdapter   = amazonAdapter;
     _indexFileAccess = indexFileAccess;
     _bucketName      = configuration.BucketName;
 }
示例#12
0
 public CardinalityQueryExecutor(IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration indexConfiguration) : base(amazonAdapter, indexConfiguration)
 {
 }
示例#13
0
 public NeedleInHaystackQueryExecutor(IRootIndexAccess rootIndexAccess, IAmazonAdapter amazonAdapter, BasicAmazonIndexFileConfiguration indexConfiguration) :
     base(amazonAdapter, indexConfiguration)
 {
     _rootIndexAccess = rootIndexAccess;
 }