@PublicEvolving public class DoubleValueParser extends FieldParser<DoubleValue>
FieldParser.ParseErrorState| Constructor and Description |
|---|
DoubleValueParser() |
| Modifier and Type | Method and Description |
|---|---|
DoubleValue |
createValue()
Returns an instance of the parsed value type.
|
DoubleValue |
getLastResult()
Gets the parsed field.
|
int |
parseField(byte[] bytes,
int startPos,
int limit,
byte[] delimiter,
DoubleValue reusable)
Each parser's logic should be implemented inside this method
|
delimiterNext, getErrorState, getParserForType, resetErrorStateAndParse, resetParserState, setErrorStatepublic int parseField(byte[] bytes,
int startPos,
int limit,
byte[] delimiter,
DoubleValue reusable)
FieldParserparseField in class FieldParser<DoubleValue>FieldParser#parseField(byte[], int, int, byte[], Object)}public DoubleValue createValue()
FieldParsercreateValue in class FieldParser<DoubleValue>public DoubleValue getLastResult()
FieldParserFieldParser.parseField(byte[], int, int, byte[], Object). It objects are mutable and reused, it will return
the object instance that was passed the parse function.getLastResult in class FieldParser<DoubleValue>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.