Package org.eclipse.rdf4j.http.protocol
Enum Protocol.Action
- All Implemented Interfaces:
Serializable
,Comparable<Protocol.Action>
- Enclosing class:
- Protocol
Defines the action a particular transaction update is executing.
- Author:
- Jeen Broekstra
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Protocol.Action
Returns the enum constant of this type with the specified name.static Protocol.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADD
adding data -
DELETE
deleting data -
GET
getStatements or exportStatements -
SIZE
retrieving repository size -
QUERY
SPARQL query -
UPDATE
SPARQL Update -
PING
Keep alive ping @since 2.3 -
PREPARE
prepare -
COMMIT
commit -
ROLLBACK
rollback
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-