C# Class FoundationDB.Client.Fdb.Directory

Static helper class to open named partitions
Exibir arquivo Open project: BedeGaming/foundationdb-dotnet-client

Public Methods

Method Description
BrowseAsync ( [ db, [ parent, CancellationToken cancellationToken ) : FdbDirectorySubspace>>.Task

List and open the sub-directories of the given directory

OpenNamedPartitionAsync ( [ path, CancellationToken cancellationToken ) : Task

Open a named partition of the default cluster

OpenNamedPartitionAsync ( string clusterFile, string dbName, [ path, bool readOnly, CancellationToken cancellationToken ) : Task

Open a named partition of a specific cluster

Method Details

BrowseAsync() public static method

List and open the sub-directories of the given directory
public static BrowseAsync ( [ db, [ parent, CancellationToken cancellationToken ) : FdbDirectorySubspace>>.Task
db [ Database used for the operation
parent [ Parent directory
cancellationToken System.Threading.CancellationToken Token used to cancel this operation
return FdbDirectorySubspace>>.Task

OpenNamedPartitionAsync() public static method

Open a named partition of the default cluster
public static OpenNamedPartitionAsync ( [ path, CancellationToken cancellationToken ) : Task
path [ Path of the named partition to open
cancellationToken System.Threading.CancellationToken Token used to cancel this operation
return Task

OpenNamedPartitionAsync() public static method

Open a named partition of a specific cluster
public static OpenNamedPartitionAsync ( string clusterFile, string dbName, [ path, bool readOnly, CancellationToken cancellationToken ) : Task
clusterFile string Path to the 'fdb.cluster' file to use, or null for the default cluster file
dbName string Name of the database, or "DB" if not specified.
path [ Path of the named partition to open
readOnly bool If true, the database instance will only allow read operations
cancellationToken System.Threading.CancellationToken Token used to cancel this operation
return Task