Class SetAction
java.lang.Object
fr.gouv.vitam.common.database.builder.query.action.Action
fr.gouv.vitam.common.database.builder.query.action.SetAction
- Direct Known Subclasses:
SetAction
Set Action: $set : { 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
SetAction
(com.fasterxml.jackson.databind.node.ObjectNode updateData) Set Action constructor from ObjectNodeSet Action constructorSet Action constructorSet Action constructorSet Action constructorSet Action constructorSet Action constructorSet Action constructor from Map -
Method Summary
Modifier and TypeMethodDescriptionfinal SetAction
Add other Set sub actions to Set Queryfinal SetAction
Add other Set sub actions to Set Queryfinal SetAction
Add other Set sub actions to Set Queryfinal SetAction
Add other Set sub actions to Set Queryfinal SetAction
Add other Set sub actions to Set Queryfinal SetAction
Add other Set sub actions to Set 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
-
SetAction
protected SetAction() -
SetAction
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
Set Action constructor- Parameters:
variableName
- key namevalue
- key value as a list of values- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
Set Action constructor from Map- Parameters:
variableNameValue
- map of key and Value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
public SetAction(com.fasterxml.jackson.databind.node.ObjectNode updateData) throws InvalidCreateOperationException Set Action constructor from ObjectNode- Parameters:
updateData
- ObjectNode natively- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
SetAction
Set Action constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
-
Method Details
-
add
public final SetAction add(String variableName, String value) throws InvalidCreateOperationException Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(String variableName, boolean value) throws InvalidCreateOperationException Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(String variableName, double value) throws InvalidCreateOperationException Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final SetAction add(String variableName, List<?> values) throws InvalidCreateOperationException Add other Set sub actions to Set Query- Parameters:
variableName
- key namevalues
- values as list- Returns:
- the SetAction
- Throws:
InvalidCreateOperationException
- when query is invalid
-