ArchiveInitializerTKey, TValueCreateArchiveFile(TKey, TKey, Int64) Method

Creates a new SortedTreeTableTKey, TValue based on the settings passed to this class. Once created, it is up to he caller to make sure that this class is properly disposed of.

Definition

Namespace: SnapDB.Snap.Services.Writer
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public SortedTreeTable<TKey, TValue> CreateArchiveFile(
	TKey startKey,
	TKey endKey,
	long estimatedSize = -1
)

Parameters

startKey  TKey
The key to start at.
endKey  TKey
The key to end at.
estimatedSize  Int64  (Optional)
An optional estimated size (in bytes) for the archive file. Use a negative value to indicate no specific estimation.

Return Value

SortedTreeTableTKey, TValue
A new instance of SortedTreeTableTKey, TValue for archiving data within the specified key range.

See Also