@PublicEvolving public class BooleanValueParser extends FieldParser<BooleanValue>
FieldParser.ParseErrorState| Constructor and Description |
|---|
BooleanValueParser() |
| Modifier and Type | Method and Description |
|---|---|
BooleanValue |
createValue()
Returns an instance of the parsed value type.
|
BooleanValue |
getLastResult()
Gets the parsed field.
|
int |
parseField(byte[] bytes,
int startPos,
int limit,
byte[] delim,
BooleanValue reuse)
Each parser's logic should be implemented inside this method
|
delimiterNext, endsWithDelimiter, getCharset, getErrorState, getParserForType, nextStringEndPos, nextStringLength, resetErrorStateAndParse, resetParserState, setCharset, setErrorStatepublic int parseField(byte[] bytes,
int startPos,
int limit,
byte[] delim,
BooleanValue reuse)
FieldParserparseField in class FieldParser<BooleanValue>public BooleanValue 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<BooleanValue>public BooleanValue createValue()
FieldParsercreateValue in class FieldParser<BooleanValue>Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.