Class Command
- java.lang.Object
-
- com.lucidworks.apollo.common.pipeline.Command
-
public class Command extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ADD
static Command
COMMAND_ADD
static Command
COMMAND_COMMIT
static Command
COMMAND_DELETE
static Command
COMMAND_PING
static Command
COMMAND_UPDATE
static java.lang.String
COMMIT
static java.lang.String
COMMIT_WITHIN
static java.lang.String
DELETE
static java.lang.String
DELETE_QUERY
static java.lang.String
OPTIMIZE
static java.lang.String
PING
static java.lang.String
QUERY
static java.lang.String
ROLLBACK
static java.lang.String
UPDATE
-
Constructor Summary
Constructors Constructor Description Command(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
java.util.Map<java.lang.String,java.lang.String>
getParams()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
ADD
public static final java.lang.String ADD
- See Also:
- Constant Field Values
-
UPDATE
public static final java.lang.String UPDATE
- See Also:
- Constant Field Values
-
DELETE
public static final java.lang.String DELETE
- See Also:
- Constant Field Values
-
DELETE_QUERY
public static final java.lang.String DELETE_QUERY
- See Also:
- Constant Field Values
-
QUERY
public static final java.lang.String QUERY
- See Also:
- Constant Field Values
-
COMMIT
public static final java.lang.String COMMIT
- See Also:
- Constant Field Values
-
COMMIT_WITHIN
public static final java.lang.String COMMIT_WITHIN
- See Also:
- Constant Field Values
-
OPTIMIZE
public static final java.lang.String OPTIMIZE
- See Also:
- Constant Field Values
-
ROLLBACK
public static final java.lang.String ROLLBACK
- See Also:
- Constant Field Values
-
PING
public static final java.lang.String PING
- See Also:
- Constant Field Values
-
COMMAND_ADD
public static final Command COMMAND_ADD
-
COMMAND_UPDATE
public static final Command COMMAND_UPDATE
-
COMMAND_DELETE
public static final Command COMMAND_DELETE
-
COMMAND_COMMIT
public static final Command COMMAND_COMMIT
-
COMMAND_PING
public static final Command COMMAND_PING
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getParams
public java.util.Map<java.lang.String,java.lang.String> getParams()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-