Package com.yahoo.document.json.readers
Class SingleValueReader
java.lang.Object
com.yahoo.document.json.readers.SingleValueReader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matcher
matchArithmeticOperation
(String expression) static FieldValue
readAtomic
(String field, DataType expectedType) static ValueUpdate
readSingleUpdate
(TokenBuffer buffer, DataType expectedType, String action, boolean ignoreUndefinedFields) static FieldValue
readSingleValue
(TokenBuffer buffer, DataType expectedType, boolean ignoreUndefinedFields)
-
Field Details
-
UPDATE_ASSIGN
- See Also:
-
UPDATE_INCREMENT
- See Also:
-
UPDATE_DECREMENT
- See Also:
-
UPDATE_MULTIPLY
- See Also:
-
UPDATE_DIVIDE
- See Also:
-
UPDATE_OPERATION_TO_ARITHMETIC_SIGN
-
ARITHMETIC_SIGN_TO_UPDATE_OPERATION
-
-
Constructor Details
-
SingleValueReader
public SingleValueReader()
-
-
Method Details
-
readSingleValue
public static FieldValue readSingleValue(TokenBuffer buffer, DataType expectedType, boolean ignoreUndefinedFields) -
readSingleUpdate
public static ValueUpdate readSingleUpdate(TokenBuffer buffer, DataType expectedType, String action, boolean ignoreUndefinedFields) -
matchArithmeticOperation
-
readAtomic
-