Class SetregexAction
java.lang.Object
fr.gouv.vitam.common.database.builder.query.action.Action
fr.gouv.vitam.common.database.builder.query.action.SetregexAction
- Direct Known Subclasses:
SetregexAction
Setregex Action: $setregex : { name : value, name : value, ... }
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.database.builder.query.action.Action
currentAction, currentObject, currentUPDATEACTION, ready
-
Constructor Summary
ModifierConstructorDescriptionprotected
SetregexAction constructor.SetregexAction
(com.fasterxml.jackson.databind.node.ObjectNode updateData) Setregex Action constructor from ObjectNodeSetregexAction
(String variableName, boolean value) Setregex Action constructorSetregexAction
(String variableName, double value) Setregex Action constructorSetregexAction
(String variableName, long value) Setregex Action constructorSetregexAction
(String variableName, String value) Setregex Action constructorSetregexAction
(String variableName, List<?> value) Setregex Action constructorSetregexAction
(Map<String, ?> variableNameValue) Setregex Action constructor from Map -
Method Summary
Modifier and TypeMethodDescriptionfinal SetregexAction
Add other Set sub actions to Queryfinal SetregexAction
Add other Set sub actions to QueryMethods inherited from class fr.gouv.vitam.common.database.builder.query.action.Action
clean, createActionValueArrayVariable, createActionVariables, createActionVariableValue, createActionVariableValue, createActionVariableValue, createActionVariableValue, createActionVariableValue, createActionVariableValue, getCurrentAction, getCurrentObject, getUPDATEACTION, isReady, setReady, toString
-
Constructor Details
-
SetregexAction
protected SetregexAction()SetregexAction constructor. -
SetregexAction
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value as a list of values- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
Setregex Action constructor from Map- Parameters:
variableNameValue
- map of key and Value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
public SetregexAction(com.fasterxml.jackson.databind.node.ObjectNode updateData) throws InvalidCreateOperationException Setregex Action constructor from ObjectNode- Parameters:
updateData
- ObjectNode natively- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
-
Method Details
-
add
public final SetregexAction add(String variableName, String value) throws InvalidCreateOperationException Add other Set sub actions to Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetregexAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetregexAction add(String variableName, List<?> values) throws InvalidCreateOperationException Add other Set sub actions to Query- Parameters:
variableName
- key namevalues
- values as list- Returns:
- the SetregexAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-