@PublicEvolving public class FloatValueParser extends FieldParser<FloatValue>
FloatValue
FieldParser.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, endsWithDelimiter, getCharset, getErrorState, getParserForType, nextStringEndPos, nextStringLength, resetErrorStateAndParse, resetParserState, setCharset, setErrorState
public int parseField(byte[] bytes, int startPos, int limit, byte[] delimiter, FloatValue reusable)
FieldParser
parseField
in class FieldParser<FloatValue>
public FloatValue createValue()
FieldParser
createValue
in class FieldParser<FloatValue>
public FloatValue getLastResult()
FieldParser
FieldParser.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–2024 The Apache Software Foundation. All rights reserved.