public class JsonIndexVariableType extends Object implements IndexVariableType
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
JsonIndexVariableType() |
Modifier and Type | Method and Description |
---|---|
String |
getTypeName()
The name of the variable type
|
void |
setValue(Object value,
com.fasterxml.jackson.databind.node.ObjectNode variableDataNode,
Collection<String> extraFields)
Stores the specified value in the
variableDataNode . |
public String getTypeName()
IndexVariableType
getTypeName
in interface IndexVariableType
public void setValue(Object value, com.fasterxml.jackson.databind.node.ObjectNode variableDataNode, Collection<String> extraFields)
IndexVariableType
variableDataNode
.
The value
is retrieved via a VariableType
that has the same type
as IndexVariableType.getTypeName()
.setValue
in interface IndexVariableType
value
- The value of the variable that should be storedvariableDataNode
- the variable data nodeextraFields
- if set, these fields will also get the value set.Copyright © 2019. All rights reserved.