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
public class SetregexAction extends Action
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
Constructors Modifier Constructor Description protected
SetregexAction()
SetregexAction constructor.SetregexAction(com.fasterxml.jackson.databind.node.ObjectNode updateData)
Setregex Action constructor from ObjectNodeSetregexAction(java.lang.String variableName, boolean value)
Setregex Action constructorSetregexAction(java.lang.String variableName, double value)
Setregex Action constructorSetregexAction(java.lang.String variableName, long value)
Setregex Action constructorSetregexAction(java.lang.String variableName, java.lang.String value)
Setregex Action constructorSetregexAction(java.lang.String variableName, java.util.List<?> value)
Setregex Action constructorSetregexAction(java.util.Map<java.lang.String,?> variableNameValue)
Setregex Action constructor from Map
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetregexAction
add(java.lang.String variableName, java.lang.String value)
Add other Set sub actions to QuerySetregexAction
add(java.lang.String variableName, java.util.List<?> values)
Add other Set sub actions to Query-
Methods 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 Detail
-
SetregexAction
protected SetregexAction()
SetregexAction constructor.
-
SetregexAction
public SetregexAction(java.lang.String variableName, java.lang.String value) throws InvalidCreateOperationException
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
public SetregexAction(java.lang.String variableName, java.util.List<?> value) throws InvalidCreateOperationException
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value as a list of values- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
public SetregexAction(java.util.Map<java.lang.String,?> variableNameValue) throws InvalidCreateOperationException
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
public SetregexAction(java.lang.String variableName, long value) throws InvalidCreateOperationException
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
public SetregexAction(java.lang.String variableName, boolean value) throws InvalidCreateOperationException
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetregexAction
public SetregexAction(java.lang.String variableName, double value) throws InvalidCreateOperationException
Setregex Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
-
Method Detail
-
add
public final SetregexAction add(java.lang.String variableName, java.lang.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(java.lang.String variableName, java.util.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
-
-