Property | Type | Description |
---|
Method | Description | |
---|---|---|
Add ( byte key, long number ) : long |
Add a number to a value, assuming the value is also a number. If the key does not exist, this operation will create it and set the number, as if the value was 0 before.
|
|
Add ( string key, long number ) : long |
Add a number to a value, assuming the value is also a number. If the key does not exist, this operation will create it and set the number, as if the value was 0 before.
|
|
Count ( |
Return the number of matching keys in the table.
|
|
Count ( |
Return the number of matching keys in the table.
|
|
Delete ( byte key ) : void |
Delete a key-value pair by key in the table.
|
|
Delete ( string key ) : void |
Delete a key-value pair by key in the table.
|
|
DeleteTable ( ) : void |
Delete the table.
|
|
Get ( byte key ) : byte[] |
Retrieve a value by key from the table. Returns
|
|
Get ( byte key, byte defval ) : byte[] |
Retrieve a value by key from the table. Returns
|
|
Get ( string key ) : string |
Retrieve a value by key from the table. Returns
|
|
Get ( string key, string defval ) : string |
Retrieve a value by key from the table. Returns
|
|
GetKeyIterator ( |
Return an iterator that will return only keys.
|
|
GetKeyIterator ( |
Return an iterator that will return only keys.
|
|
GetKeyValueIterator ( |
Return an iterator that will return keys and values as a System.Collections.Generic.KeyValuePair{T, T}.
|
|
GetKeyValueIterator ( |
Return an iterator that will return keys and values as a System.Collections.Generic.KeyValuePair{T, T}.
|
|
GetSequence ( byte key ) : |
Retrieve a Scalien.Sequence backed by a key-value in this table.
|
|
GetSequence ( string key ) : |
Retrieve a Scalien.Sequence backed by a key-value in this table.
|
|
RenameTable ( string newName ) : void |
Rename the table.
|
|
Set ( byte key, byte value ) : void |
Set a key-value in the table.
|
|
Set ( string key, string value ) : void |
Set a key-value in the table.
|
|
Table ( Scalien.Client client, |
Table constructor.
|
|
TruncateTable ( ) : void |
Truncate the table. This means all key-values in the table are dropped.
|
public Add ( byte key, long number ) : long | ||
key | byte | The key. |
number | long | The number. |
return | long |
public Add ( string key, long number ) : long | ||
key | string | The key. |
number | long | The number. |
return | long |
public Count ( |
||
ps | The filter parameters. | |
return | ulong |
public Count ( |
||
ps | The filter parameters. | |
return | ulong |
public Get ( byte key, byte defval ) : byte[] | ||
key | byte | The key to look for. |
defval | byte | The default return value. |
return | byte[] |
public Get ( string key ) : string | ||
key | string | The key to look for. |
return | string |
public Get ( string key, string defval ) : string | ||
key | string | The key to look for. |
defval | string | The default return value. |
return | string |
public GetKeyIterator ( |
||
ps | The parameters of iteration, as a |
|
return | ByteKeyIterator |
public GetKeyIterator ( |
||
ps | The parameters of iteration, as a |
|
return | StringKeyIterator |
public GetKeyValueIterator ( |
||
ps | The parameters of iteration, as a |
|
return | ByteKeyValueIterator |
public GetKeyValueIterator ( |
||
ps | The parameters of iteration, as a |
|
return | StringKeyValueIterator |
public GetSequence ( byte key ) : |
||
key | byte | The key backing the sequence. |
return |
public GetSequence ( string key ) : |
||
key | string | The key backing the sequence. |
return |
public RenameTable ( string newName ) : void | ||
newName | string | The new name of the table. |
return | void |
public Set ( byte key, byte value ) : void | ||
key | byte | The key. |
value | byte | The value. |
return | void |
public Set ( string key, string value ) : void | ||
key | string | The key. |
value | string | The value. |
return | void |
public Table ( Scalien.Client client, |
||
client | Scalien.Client | The client object. |
database | The database this table is in. | |
tableID | ulong | The unique ID of the table. |
name | string | The name of the table. |
return | System |