public AppendOnlyCatalogWriter(Storage storage, int maxPageSize = 1000, bool append = true, ICatalogGraphPersistence catalogGraphPersistence = null, CatalogContext context = null) : base(storage, catalogGraphPersistence, context) { _append = append; _first = true; MaxPageSize = maxPageSize; }
public CatalogWriterBase(IStorage storage, ICatalogGraphPersistence graphPersistence = null, CatalogContext context = null) { Options.InternUris = false; Storage = storage; GraphPersistence = graphPersistence; Context = context ?? new CatalogContext(); _batch = new List<CatalogItem>(); _open = true; RootUri = Storage.ResolveUri("index.json"); }
public CatalogWriterBase(IStorage storage, ICatalogGraphPersistence graphPersistence = null, CatalogContext context = null) { Options.InternUris = false; Storage = storage; GraphPersistence = graphPersistence; Context = context ?? new CatalogContext(); _batch = new List <CatalogItem>(); _open = true; RootUri = Storage.ResolveUri("index.json"); }
public AppendOnlyCatalogWriter( IStorage storage, ITelemetryService telemetryService, int maxPageSize = 1000, bool append = true, ICatalogGraphPersistence catalogGraphPersistence = null, CatalogContext context = null) : base(storage, catalogGraphPersistence, context) { _telemetryService = telemetryService; _append = append; _first = true; MaxPageSize = maxPageSize; }
public RegistrationMakerCatalogWriter(IStorage storage, int partitionSize = 100, IList<Uri> cleanUpList = null, ICatalogGraphPersistence graphPersistence = null, CatalogContext context = null) : base(storage, graphPersistence, context) { _cleanUpList = cleanUpList; PartitionSize = partitionSize; }
public RegistrationMakerCatalogWriter(IStorage storage, int partitionSize = 100, IList <Uri> cleanUpList = null, ICatalogGraphPersistence graphPersistence = null, CatalogContext context = null) : base(storage, graphPersistence, context) { _cleanUpList = cleanUpList; PartitionSize = partitionSize; }