@PublicEvolving public class FloatValueParser extends FieldParser<FloatValue>
FloatValueFieldParser.ParseErrorState| Constructor and Description |
|---|
FloatValueParser() |
| Modifier and Type | Method and Description |
|---|---|
FloatValue |
createValue()
Returns an instance of the parsed value type.
|
FloatValue |
getLastResult()
Gets the parsed field.
|
int |
parseField(byte[] bytes,
int startPos,
int limit,
byte[] delimiter,
FloatValue 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,
FloatValue reusable)
FieldParserparseField in class FieldParser<FloatValue>FieldParser#parseField(byte[], int, int, byte[], Object)}public FloatValue createValue()
FieldParsercreateValue in class FieldParser<FloatValue>public FloatValue 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<FloatValue>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.