Метод |
Описание |
|
CreateTable ( string name ) : Table |
Create a table in this database, with the first shard placed in the first available quorum. |
|
CreateTable ( string name, Quorum quorum ) : Table |
Create a table in this database. |
|
DeleteDatabase ( ) : void |
Delete the database. Do not use the database object after calling DeleteDatabase(). |
|
GetTable ( string name ) : Table |
Retrieve a Scalien.Table in this database by name. |
|
GetTables ( ) : List
Retrieve the tables in the database as a list of Scalien.Table objects. |
|
RenameDatabase ( string newName ) : void |
Rename the database. |
|
Приватные методы
Метод |
Описание |
|
Database ( Scalien.Client client, ulong databaseID, string name ) : System |
|
|
Описание методов
CreateTable()
публичный Метод
public CreateTable ( string name ) : Table |
name |
string |
The name of the table. |
Результат |
Table |
|
CreateTable()
публичный Метод
public CreateTable ( string name, Quorum quorum ) : Table |
name |
string |
The name of the table. |
quorum |
Quorum |
The first shard of the table is placed inside the . |
Результат |
Table |
|
DeleteDatabase()
публичный Метод
GetTable()
публичный Метод
public GetTable ( string name ) : Table |
name |
string |
The name of the table. |
Результат |
Table |
|
GetTables()
публичный Метод
public GetTables ( ) : List
Результат |
List
RenameDatabase()
публичный Метод
public RenameDatabase ( string newName ) : void |
newName |
string |
The new database name. |
Результат |
void |
|
| | |