public class LongValueSerlializer extends PrimitiveValueSerializer<LongValue>
BINARY_VALUE_TYPES, valueType
Constructor and Description |
---|
LongValueSerlializer() |
Modifier and Type | Method and Description |
---|---|
LongValue |
convertToTypedValue(UntypedValueImpl untypedValue)
Returns a typed value for the provided untyped value.
|
LongValue |
readValue(ValueFields valueFields) |
void |
writeValue(LongValue value,
ValueFields valueFields)
Serialize a
TypedValue to the ValueFields . |
canWriteValue, getName, getType, readValue
canHandle, getSerializationDataformat, isMutableValue
public LongValue convertToTypedValue(UntypedValueImpl untypedValue)
TypedValueSerializer
TypedValueSerializer
(by invocation of TypedValueSerializer.canHandle(TypedValue)
).untypedValue
- the untyped valuepublic LongValue readValue(ValueFields valueFields)
readValue
in class PrimitiveValueSerializer<LongValue>
public void writeValue(LongValue value, ValueFields valueFields)
TypedValueSerializer
TypedValue
to the ValueFields
.value
- the TypedValue
to persistvalueFields
- the ValueFields
to which the value should be persistedCopyright © 2019. All rights reserved.