Index
All Classes and Interfaces|All Packages|Serialized Form
A
- And() - Constructor for class Status.And
- ANY_BYTES - Static variable in class RemoteDBM
-
The special bytes value for no-operation or any data.
- ANY_STRING - Static variable in class RemoteDBM
-
The special string value for no-operation or any data.
- append(byte[], byte[], byte[]) - Method in class RemoteDBM
-
Appends data at the end of a record of a key.
- append(String, String, String) - Method in class RemoteDBM
-
Appends data at the end of a record of a key, with string data.
- appendMulti(Map<byte[], byte[]>, byte[]) - Method in class RemoteDBM
-
Appends data to multiple records
- appendMulti(Map<String, String>, String) - Method in class RemoteDBM
-
Appends data to multiple records, with string data.
- APPLICATION_ERROR - Enum constant in enum class Status.Code
-
Generic error caused by the application logic.
- APPLICATION_ERROR - Static variable in class Status
-
Status code: Generic error caused by the application logic.
B
- BROKEN_DATA_ERROR - Enum constant in enum class Status.Code
-
Error that internal data are broken.
- BROKEN_DATA_ERROR - Static variable in class Status
-
Status code: Error that internal data are broken.
C
- CANCELED_ERROR - Enum constant in enum class Status.Code
-
Error that the operation is canceled.
- CANCELED_ERROR - Static variable in class Status
-
Status code: Error that the operation is canceled.
- clear() - Method in class RemoteDBM
-
Removes all records.
- clone() - Method in class Status
-
Clones the object.
- compareExchange(byte[], byte[], byte[]) - Method in class RemoteDBM
-
Compares the value of a record and exchanges if the condition meets.
- compareExchange(String, String, String) - Method in class RemoteDBM
-
Compares the value of a record and exchanges if the condition meets, with string data.
- compareExchangeAdvanced(byte[], byte[], byte[], double, boolean) - Method in class RemoteDBM
-
Does compare-and-exchange and/or gets the old value of the record.
- compareExchangeAdvanced(String, String, String, double, boolean) - Method in class RemoteDBM
-
Does compare-and-exchange and/or gets the old value of the record.
- compareExchangeMulti(Map<byte[], byte[]>, Map<byte[], byte[]>) - Method in class RemoteDBM
-
Compares the values of records and exchanges if the condition meets.
- compareExchangeMultiString(Map<String, String>, Map<String, String>) - Method in class RemoteDBM
-
Compares the values of records and exchanges if the condition meets, with string data.
- connect(String) - Method in class RemoteDBM
-
Conects to the server.
- connect(String, double) - Method in class RemoteDBM
-
Conects to the server.
- connect(String, double, String) - Method in class RemoteDBM
-
Connects to the server.
- contains(byte[]) - Method in class RemoteDBM
-
Checks if a record exists or not.
- contains(String) - Method in class RemoteDBM
-
Checks if a record exists or not, with string data.
- count() - Method in class RemoteDBM
-
Gets the number of records.
D
- destruct() - Method in class Iterator
-
Destructs the object and releases resources.
- destruct() - Method in class RemoteDBM
-
Destructs the object and releases resources.
- disconnect() - Method in class RemoteDBM
-
Disconnects the connection to the server.
- DUPLICATION_ERROR - Enum constant in enum class Status.Code
-
Error that a specific resource is duplicated.
- DUPLICATION_ERROR - Static variable in class Status
-
Status code: Error that a specific resource is duplicated.
E
- echo(String) - Method in class RemoteDBM
-
Sends a message and gets back the echo message, without status assignment.
- echo(String, Status) - Method in class RemoteDBM
-
Sends a message and gets back the echo message.
- equals(Status) - Method in class Status
-
Checks equality.
- equals(Status.Code) - Method in class Status
-
Checks equality.
F
G
- get() - Method in class Iterator
-
Gets the key and the value of the current record of the iterator, witout status assingment.
- get(byte[]) - Method in class RemoteDBM
-
Gets the value of a record of a key, without status assignment.
- get(byte[], Status) - Method in class RemoteDBM
-
Gets the value of a record of a key.
- get(String) - Method in class RemoteDBM
-
Gets the value of a record of a key, with string data, without status assignment.
- get(String, Status) - Method in class RemoteDBM
-
Gets the value of a record of a key, with string data.
- get(Status) - Method in class Iterator
-
Gets the key and the value of the current record of the iterator.
- getCode() - Method in class Status
-
Gets the status code.
- getFileSize() - Method in class RemoteDBM
-
Gets the current file size of the database.
- getKey() - Method in class Iterator
-
Gets the key of the current record.
- getKeyString() - Method in class Iterator
-
Gets the key of the current record, as string data.
- getMessage() - Method in class Status
-
Gets the status message.
- getMulti(byte[][]) - Method in class RemoteDBM
-
Gets the values of multiple records of keys.
- getMulti(String[]) - Method in class RemoteDBM
-
Gets the values of multiple records of keys, with string data.
- getStatus() - Method in exception StatusException
-
Get the status object.
- getString() - Method in class Iterator
-
Gets the key and the value of the current record, as string data, without status assignemnt.
- getString(Status) - Method in class Iterator
-
Gets the key and the value of the current record, as string data.
- getValue() - Method in class Iterator
-
Gets the key of the current record.
- getValueString() - Method in class Iterator
-
Gets the key of the current record, as string data.
I
- increment(byte[], long, long, Status) - Method in class RemoteDBM
-
Increments the numeric value of a record.
- increment(String, long, long, Status) - Method in class RemoteDBM
-
Increments the numeric value of a record, with string data.
- INFEASIBLE_ERROR - Enum constant in enum class Status.Code
-
Error that the operation is infeasible.
- INFEASIBLE_ERROR - Static variable in class Status
-
Status code: Error that the operation is infeasible.
- inspect() - Method in class RemoteDBM
-
Inspects the database.
- INVALID_ARGUMENT_ERROR - Enum constant in enum class Status.Code
-
Error that a given argument is invalid.
- INVALID_ARGUMENT_ERROR - Static variable in class Status
-
Status code: Error that a given argument is invalid.
- isOK() - Method in class Status
-
Returns true if the status is success.
- Iterator - Class in tkrzw_rpc
-
Iterator for each record.
J
- join(Status) - Method in class Status
-
Assigns the internal state from another status object only if the current state is success.
- jump(byte[]) - Method in class Iterator
-
Initializes the iterator to indicate a specific record.
- jump(String) - Method in class Iterator
-
Initializes the iterator to indicate a specific record, with string data.
- jumpLower(byte[], boolean) - Method in class Iterator
-
Initializes the iterator to indicate the last record whose key is lower than a given key.
- jumpLower(String, boolean) - Method in class Iterator
-
Initializes the iterator to indicate the last record whose key is lower, with string data.
- jumpUpper(byte[], boolean) - Method in class Iterator
-
Initializes the iterator to indicate the first record whose key is upper than a given key.
- jumpUpper(String, boolean) - Method in class Iterator
-
Initializes the iterator to indicate the first record whose key is upper, with string data.
L
M
- main(String[]) - Static method in class Test
-
Main routine of the test command.
- makeIterator() - Method in class RemoteDBM
-
Makes an iterator for each record.
N
- NETWORK_ERROR - Enum constant in enum class Status.Code
-
Error caused by networking failure.
- NETWORK_ERROR - Static variable in class Status
-
Status code: Error caused by networking failure.
- next() - Method in class Iterator
-
Moves the iterator to the next record.
- NOT_FOUND_ERROR - Enum constant in enum class Status.Code
-
Error that a specific resource is not found.
- NOT_FOUND_ERROR - Static variable in class Status
-
Status code: Error that a specific resource is not found.
- NOT_IMPLEMENTED_ERROR - Enum constant in enum class Status.Code
-
Error that the feature is not implemented.
- NOT_IMPLEMENTED_ERROR - Static variable in class Status
-
Status code: Error that the feature is not implemented.
O
P
- PERMISSION_ERROR - Enum constant in enum class Status.Code
-
Error that the operation is not permitted.
- PERMISSION_ERROR - Static variable in class Status
-
Status code: Error that the operation is not permitted.
- popFirst() - Method in class RemoteDBM
-
Gets the first record and removes it, without status assingment.
- popFirst(double, Status) - Method in class RemoteDBM
-
Gets the first record and removes it.
- popFirstString() - Method in class RemoteDBM
-
Gets the first record as strings and removes it, without status assingment.
- popFirstString(double, Status) - Method in class RemoteDBM
-
Gets the first record as strings and removes it.
- PRECONDITION_ERROR - Enum constant in enum class Status.Code
-
Error that a precondition is not met.
- PRECONDITION_ERROR - Static variable in class Status
-
Status code: Error that a precondition is not met.
- previous() - Method in class Iterator
-
Moves the iterator to the previous record.
- pushLast(byte[], double, boolean) - Method in class RemoteDBM
-
Adds a record with a key of the current timestamp.
- pushLast(String, double, boolean) - Method in class RemoteDBM
-
Adds a record with a key of the current timestamp.
R
- rebuild() - Method in class RemoteDBM
-
Rebuilds the entire database, without optional parameters.
- rebuild(Map<String, String>) - Method in class RemoteDBM
-
Rebuilds the entire database.
- rekey(byte[], byte[], boolean, boolean) - Method in class RemoteDBM
-
Changes the key of a record.
- rekey(String, String, boolean, boolean) - Method in class RemoteDBM
-
Changes the key of a record, with string data.
- RemoteDBM - Class in tkrzw_rpc
-
Remote database manager.
- RemoteDBM() - Constructor for class RemoteDBM
-
Constructor.
- remove() - Method in class Iterator
-
Removes the current record.
- remove(byte[]) - Method in class RemoteDBM
-
Removes a record of a key.
- remove(String) - Method in class RemoteDBM
-
Removes a record of a key, with string data.
- removeMulti(byte[][]) - Method in class RemoteDBM
-
Removes records of keys.
- removeMulti(String[]) - Method in class RemoteDBM
-
Removes records of keys, with string data.
S
- search(String, byte[], int) - Method in class RemoteDBM
-
Searches the database and get keys which match a pattern.
- search(String, String, int) - Method in class RemoteDBM
-
Searches the database and get keys which match a pattern, with string data.
- set(byte[]) - Method in class Iterator
-
Sets the value of the current record.
- set(byte[], byte[]) - Method in class RemoteDBM
-
Sets a record of a key and a value, with overwriting.
- set(byte[], byte[], boolean) - Method in class RemoteDBM
-
Sets a record of a key and a value.
- set(String) - Method in class Iterator
-
Sets the value of the current record, with string data.
- set(String, String) - Method in class RemoteDBM
-
Sets a record of a key and a value, with string data, with overwriting.
- set(String, String, boolean) - Method in class RemoteDBM
-
Sets a record of a key and a value, with string data.
- set(Status.Code, String) - Method in class Status
-
Sets the code and the message.
- setDBMIndex(int) - Method in class RemoteDBM
-
Sets the index of the DBM to access.
- setMulti(Map<byte[], byte[]>, boolean) - Method in class RemoteDBM
-
Sets multiple records.
- setMultiString(Map<String, String>, boolean) - Method in class RemoteDBM
-
Sets multiple records, with string data.
- shouldBeRebuilt() - Method in class RemoteDBM
-
Checks whether the database should be rebuilt.
- status - Variable in class Status.And
-
The status object.
- Status - Class in tkrzw_rpc
-
Status of operations
- Status() - Constructor for class Status
-
Constructor representing the success code.
- Status(Status.Code) - Constructor for class Status
-
Constructor representing a specific status code.
- Status(Status.Code, String) - Constructor for class Status
-
Constructor representing a specific status.
- Status.And<T> - Class in tkrzw_rpc
-
Container of a status and another arbitrary object.
- Status.Code - Enum Class in tkrzw_rpc
-
Enumeration of status codes.
- StatusException - Exception in tkrzw_rpc
-
Exception to convey the status of operations.
- StatusException(Status) - Constructor for exception StatusException
-
Constructor.
- step() - Method in class Iterator
-
Gets the current record and moves the iterator to the next record, witout status assingment.
- step(Status) - Method in class Iterator
-
Gets the current record and moves the iterator to the next record.
- stepString() - Method in class Iterator
-
Gets the current record and moves the iterator to the next record, as string data.
- stepString(Status) - Method in class Iterator
-
Gets the current record and moves the iterator to the next record, as string data.
- SUCCESS - Enum constant in enum class Status.Code
-
Success.
- SUCCESS - Static variable in class Status
-
Status code: Success.
- synchronize(boolean) - Method in class RemoteDBM
-
Synchronizes the content of the database to the file system.
- synchronize(boolean, Map<String, String>) - Method in class RemoteDBM
-
Synchronizes the content of the database to the file system.
- SYSTEM_ERROR - Enum constant in enum class Status.Code
-
Generic error from underlying systems.
- SYSTEM_ERROR - Static variable in class Status
-
Status code: Generic error from underlying systems.
T
- Test - Class in tkrzw_rpc
-
Test cases.
- Test() - Constructor for class Test
- tkrzw_rpc - package tkrzw_rpc
- toString() - Method in class Iterator
-
Gets a string representation of the iterator.
- toString() - Method in class RemoteDBM
-
Gets a string representation of the database.
- toString() - Method in class Status
-
Gets the string expression.
U
- UNKNOWN_ERROR - Enum constant in enum class Status.Code
-
Generic error whose cause is unknown.
- UNKNOWN_ERROR - Static variable in class Status
-
Status code: Generic error whose cause is unknown.
V
- value - Variable in class Status.And
-
The value object.
- valueOf(int) - Static method in enum class Status.Code
-
Returns the code enum matching an integer.
- valueOf(String) - Static method in enum class Status.Code
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class Status.Code
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form