public class JsonParserConcat
extends org.apache.tinkerpop.shaded.jackson.core.util.JsonParserSequence
JsonParserSequence
, inevitably skips a token when switching from one empty parser to a new one.
I.e. it is automatically calling JsonParser.nextToken()
when switching to the new parser, ignoring
the current token.
This class is used for high performance in GraphSON when trying to detect types._checkForExistingToken, _hasToken, _nextParserIndex, _parsers
Modifier | Constructor and Description |
---|---|
protected |
JsonParserConcat(org.apache.tinkerpop.shaded.jackson.core.JsonParser[] parsers) |
Modifier and Type | Method and Description |
---|---|
static JsonParserConcat |
createFlattened(org.apache.tinkerpop.shaded.jackson.core.JsonParser first,
org.apache.tinkerpop.shaded.jackson.core.JsonParser second) |
org.apache.tinkerpop.shaded.jackson.core.JsonToken |
nextToken() |
addFlattenedActiveParsers, close, containedParsersCount, createFlattened, skipChildren, switchAndReturnNext, switchToNext
assignCurrentValue, canReadObjectId, canReadTypeId, canUseSchema, clearCurrentToken, currentLocation, currentName, currentToken, currentTokenId, currentTokenLocation, currentValue, delegate, disable, enable, finishToken, getBigIntegerValue, getBinaryValue, getBooleanValue, getByteValue, getCodec, getCurrentLocation, getCurrentName, getCurrentToken, getCurrentTokenId, getCurrentValue, getDecimalValue, getDoubleValue, getEmbeddedObject, getFeatureMask, getFloatValue, getInputSource, getIntValue, getLastClearedToken, getLongValue, getNumberType, getNumberValue, getNumberValueExact, getObjectId, getParsingContext, getReadCapabilities, getSchema, getShortValue, getText, getText, getTextCharacters, getTextLength, getTextOffset, getTokenLocation, getTypeId, getValueAsBoolean, getValueAsBoolean, getValueAsDouble, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasTextCharacters, hasToken, hasTokenId, isClosed, isEnabled, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, isNaN, nextValue, overrideCurrentName, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, requiresCustomCodec, setCodec, setCurrentValue, setFeatureMask, setSchema, version
_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, canParseAsync, configure, getBinaryValue, getFormatFeatures, getNonBlockingInputFeeder, isEnabled, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError
protected JsonParserConcat(org.apache.tinkerpop.shaded.jackson.core.JsonParser[] parsers)
public static JsonParserConcat createFlattened(org.apache.tinkerpop.shaded.jackson.core.JsonParser first, org.apache.tinkerpop.shaded.jackson.core.JsonParser second)
public org.apache.tinkerpop.shaded.jackson.core.JsonToken nextToken() throws IOException, org.apache.tinkerpop.shaded.jackson.core.JsonParseException
nextToken
in class org.apache.tinkerpop.shaded.jackson.core.util.JsonParserSequence
IOException
org.apache.tinkerpop.shaded.jackson.core.JsonParseException
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.