Package expert.os.harperdb
Enum Class OperationType
- All Implemented Interfaces:
Serializable,Comparable<OperationType>,Constable,Supplier<String>
Enum representing different operations supported by HarperDB.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperation to create a database in HarperDB.Operation to create a schema in HarperDB.Operation to create a table in HarperDB.Operation to delete data from a HarperDB table.Operation to insert data into a HarperDB table.Operation to search for a record by its unique identifier in a HarperDB table.Operation to search for records based on their field values in a HarperDB table.Operation to update existing data in a HarperDB table.Operation to insert or update data in a HarperDB table based on existence. -
Method Summary
Modifier and TypeMethodDescriptionget()Gets the string representation of the operation.static OperationTypeReturns the enum constant of this class with the specified name.static OperationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE_SCHEMA
Operation to create a schema in HarperDB. -
CREATE_TABLE
Operation to create a table in HarperDB. -
CREATE_DATABASE
Operation to create a database in HarperDB. -
INSERT
Operation to insert data into a HarperDB table. -
UPDATE
Operation to update existing data in a HarperDB table. -
UPSERT
Operation to insert or update data in a HarperDB table based on existence. -
DELETE
Operation to delete data from a HarperDB table. -
SEARCH_BY_ID
Operation to search for a record by its unique identifier in a HarperDB table. -
SEARCH_BY_VALUE
Operation to search for records based on their field values in a HarperDB table.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
get
Gets the string representation of the operation.
-