public class Operation<V> extends Object
| Constructor and Description |
|---|
Operation() |
Operation(TypeOperation type,
String alias)
Copy constructor : build a Quasardb batch operation with an operation type and an alias
|
Operation(TypeOperation type,
String alias,
V value)
Copy constructor : build a Quasardb batch operation with an operation type, an alias and a value
|
Operation(TypeOperation type,
String alias,
V value,
V compareValue)
Copy constructor : build a Quasardb batch operation with an operation type, an alias, a value and a compare value
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
Get operation's alias
|
V |
getCompareValue()
Get the compare value associated with the current batch operation.
|
TypeOperation |
getType()
Get operation's type
|
V |
getValue()
Get the value associated with the current batch operation.
|
void |
setAlias(String alias)
Set operation's alias
|
void |
setCompareValue(V compareValue)
Set the compare value associated with the current batch operation.
|
void |
setType(TypeOperation type)
Set operation's type
|
void |
setValue(V value)
Set the value associated with the current batch operation.
|
public Operation()
public Operation(TypeOperation type, String alias)
type - Operation type on alias. See TypeOperationalias - Alias associated with the given operation typepublic Operation(TypeOperation type, String alias, V value)
type - Operation type on alias. See TypeOperationalias - Alias associated with the given operation typevalue - Value associated with the given operation type and aliaspublic Operation(TypeOperation type, String alias, V value, V compareValue)
type - Operation type on alias. See TypeOperationentry - alias associated with the given operation typevalue - Value associated with the given operation type and aliascompareValue - Value to compare with the given value that is associated with the given operation type and alias.public TypeOperation getType()
TypeOperationpublic void setType(TypeOperation type)
type - Operation type to associated with the current batch operation. See TypeOperationpublic String getAlias()
public void setAlias(String alias)
alias - Alias associated with the current batch operation.public V getValue()
public void setValue(V value)
value - Value associated with the current batch operation.public V getCompareValue()
public void setCompareValue(V compareValue)
compareValue - Compare value associated with the current batch operation.Copyright © 2015 quasardb. All Rights Reserved.