public class AvroAnnotationIntrospector
+extends com.fasterxml.jackson.databind.AnnotationIntrospector
+@AvroIgnore - Alias for JsonIgnore@AvroName("custom Name") - Alias for JsonProperty("custom name")@AvroDefault("default value") - Alias for JsonProperty.defaultValue, to
+ define default value for generated Schemas
+ @Nullable - Alias for JsonProperty(required = false)@Stringable - Alias for JsonCreator on the constructor and JsonValue on
+ the Object.toString() method. @Union - Alias for JsonSubTypescom.fasterxml.jackson.databind.AnnotationIntrospector.ReferenceProperty, com.fasterxml.jackson.databind.AnnotationIntrospector.XmlExtensions| Constructor and Description | +
|---|
AvroAnnotationIntrospector() |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.fasterxml.jackson.databind.PropertyName |
+_findName(com.fasterxml.jackson.databind.introspect.Annotated a) |
+
protected com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> |
+_findTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.introspect.Annotated ann,
+ com.fasterxml.jackson.databind.JavaType baseType) |
+
protected Class<?>[] |
+_getUnionTypes(com.fasterxml.jackson.databind.introspect.Annotated a) |
+
com.fasterxml.jackson.annotation.JsonCreator.Mode |
+findCreatorAnnotation(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.introspect.Annotated a) |
+
Object |
+findDeserializer(com.fasterxml.jackson.databind.introspect.Annotated am) |
+
com.fasterxml.jackson.databind.PropertyName |
+findNameForDeserialization(com.fasterxml.jackson.databind.introspect.Annotated a) |
+
com.fasterxml.jackson.databind.PropertyName |
+findNameForSerialization(com.fasterxml.jackson.databind.introspect.Annotated a) |
+
List<com.fasterxml.jackson.databind.PropertyName> |
+findPropertyAliases(com.fasterxml.jackson.databind.introspect.Annotated m) |
+
com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> |
+findPropertyContentTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.introspect.AnnotatedMember am,
+ com.fasterxml.jackson.databind.JavaType containerType) |
+
String |
+findPropertyDefaultValue(com.fasterxml.jackson.databind.introspect.Annotated m) |
+
com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> |
+findPropertyTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.introspect.AnnotatedMember am,
+ com.fasterxml.jackson.databind.JavaType baseType) |
+
Object |
+findSerializer(com.fasterxml.jackson.databind.introspect.Annotated a) |
+
List<com.fasterxml.jackson.databind.jsontype.NamedType> |
+findSubtypes(com.fasterxml.jackson.databind.introspect.Annotated a) |
+
com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> |
+findTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.introspect.AnnotatedClass ac,
+ com.fasterxml.jackson.databind.JavaType baseType) |
+
boolean |
+hasIgnoreMarker(com.fasterxml.jackson.databind.introspect.AnnotatedMember m) |
+
Boolean |
+hasRequiredMarker(com.fasterxml.jackson.databind.introspect.AnnotatedMember m) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_findAnnotation, _hasAnnotation, _hasOneOf, allIntrospectors, allIntrospectors, findAndAddVirtualProperties, findAutoDetectVisibility, findClassDescription, findContentDeserializer, findContentSerializer, findCreatorBinding, findDefaultEnumValue, findDeserializationContentConverter, findDeserializationContentType, findDeserializationConverter, findDeserializationKeyType, findDeserializationType, findEnumAliases, findEnumValue, findEnumValues, findFilterId, findFormat, findIgnoreUnknownProperties, findImplicitPropertyName, findInjectableValue, findInjectableValueId, findKeyDeserializer, findKeySerializer, findMergeInfo, findNamingStrategy, findNullSerializer, findObjectIdInfo, findObjectReferenceInfo, findPOJOBuilder, findPOJOBuilderConfig, findPropertiesToIgnore, findPropertyAccess, findPropertyDescription, findPropertyIgnoralByName, findPropertyIgnorals, findPropertyInclusion, findPropertyInclusionByName, findPropertyIndex, findReferenceType, findRenameByField, findRootName, findSerializationContentConverter, findSerializationContentType, findSerializationConverter, findSerializationInclusion, findSerializationInclusionForContent, findSerializationKeyType, findSerializationPropertyOrder, findSerializationSortAlphabetically, findSerializationType, findSerializationTyping, findSetterInfo, findTypeName, findUnwrappingNameTransformer, findValueInstantiator, findViews, findWrapperName, hasAnyGetter, hasAnyGetterAnnotation, hasAnySetter, hasAnySetterAnnotation, hasAsKey, hasAsValue, hasAsValueAnnotation, hasCreatorAnnotation, isAnnotationBundle, isIgnorableType, isTypeId, nopInstance, pair, refineDeserializationType, refineSerializationType, resolveSetterConflictpublic AvroAnnotationIntrospector()+
public com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic boolean hasIgnoreMarker(com.fasterxml.jackson.databind.introspect.AnnotatedMember m)+
hasIgnoreMarker in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic com.fasterxml.jackson.databind.PropertyName findNameForSerialization(com.fasterxml.jackson.databind.introspect.Annotated a)+
findNameForSerialization in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic com.fasterxml.jackson.databind.PropertyName findNameForDeserialization(com.fasterxml.jackson.databind.introspect.Annotated a)+
findNameForDeserialization in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic Object findDeserializer(com.fasterxml.jackson.databind.introspect.Annotated am)+
findDeserializer in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic String findPropertyDefaultValue(com.fasterxml.jackson.databind.introspect.Annotated m)+
findPropertyDefaultValue in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic List<com.fasterxml.jackson.databind.PropertyName> findPropertyAliases(com.fasterxml.jackson.databind.introspect.Annotated m)+
findPropertyAliases in class com.fasterxml.jackson.databind.AnnotationIntrospectorprotected com.fasterxml.jackson.databind.PropertyName _findName(com.fasterxml.jackson.databind.introspect.Annotated a)+
public Boolean hasRequiredMarker(com.fasterxml.jackson.databind.introspect.AnnotatedMember m)+
hasRequiredMarker in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic com.fasterxml.jackson.annotation.JsonCreator.Mode findCreatorAnnotation(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.introspect.Annotated a)+
findCreatorAnnotation in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic Object findSerializer(com.fasterxml.jackson.databind.introspect.Annotated a)+
findSerializer in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic List<com.fasterxml.jackson.databind.jsontype.NamedType> findSubtypes(com.fasterxml.jackson.databind.introspect.Annotated a)+
findSubtypes in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> findTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.introspect.AnnotatedClass ac, + com.fasterxml.jackson.databind.JavaType baseType)+
findTypeResolver in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> findPropertyTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.introspect.AnnotatedMember am, + com.fasterxml.jackson.databind.JavaType baseType)+
findPropertyTypeResolver in class com.fasterxml.jackson.databind.AnnotationIntrospectorpublic com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> findPropertyContentTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.introspect.AnnotatedMember am, + com.fasterxml.jackson.databind.JavaType containerType)+
findPropertyContentTypeResolver in class com.fasterxml.jackson.databind.AnnotationIntrospectorprotected com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> _findTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.introspect.Annotated ann, + com.fasterxml.jackson.databind.JavaType baseType)+
protected Class<?>[] _getUnionTypes(com.fasterxml.jackson.databind.introspect.Annotated a)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFactory.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFactory.html new file mode 100644 index 000000000..2216aa666 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFactory.html @@ -0,0 +1,1244 @@ + + + + + + +public class AvroFactory
+extends com.fasterxml.jackson.core.JsonFactory
+JsonFactory implementation for encoding/decoding Avro
+ content, uses native Jackson encoder/decoder.ApacheAvroFactory,
+Serialized Formcom.fasterxml.jackson.core.JsonFactory.Feature| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_avroGeneratorFeatures |
+
protected int |
+_avroParserFeatures |
+
protected boolean |
+_useApacheLibDecoder
+Flag that is set if Apache Avro lib's decoder is to be used for decoding;
+ `false` to use Jackson native Avro decoder.
+ |
+
static String |
+FORMAT_NAME_AVRO |
+
_byteSymbolCanonicalizer, _characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON| Modifier | +Constructor and Description | +
|---|---|
|
+AvroFactory()
+Default constructor used to create factory instances.
+ |
+
protected |
+AvroFactory(AvroFactoryBuilder b)
+Constructors used by
+AvroFactoryBuilder for instantiation. |
+
protected |
+AvroFactory(AvroFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
|
+AvroFactory(com.fasterxml.jackson.core.ObjectCodec oc) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroGenerator |
+_createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonGenerator |
+_createGenerator(Writer out,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ generator.
+ |
+
protected AvroParser |
+_createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(char[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ boolean recyclable) |
+
protected AvroParser |
+_createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(Reader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected Writer |
+_createWriter(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected <T> T |
+_nonByteSource() |
+
protected <T> T |
+_nonByteTarget() |
+
static AvroFactoryBuilder |
+builder()
+Main factory method to use for constructing a builder for creating
+
+AvroFactory instances with different configuration. |
+
static AvroFactoryBuilder |
+builderWithApacheDecoder()
+Main factory method to use for constructing a builder for creating
+
+AvroFactory instances with different configuration,
+ initialized to use Apache Avro library codec for decoding content
+ (instead of Jackson native decoder). |
+
static AvroFactoryBuilder |
+builderWithNativeDecoder()
+Main factory method to use for constructing a builder for creating
+
+AvroFactory instances with different configuration,
+ initialized to use Jackson antive codec for decoding content
+ (instead of Apache Avro library decoder). |
+
boolean |
+canHandleBinaryNatively() |
+
boolean |
+canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
AvroFactory |
+configure(AvroGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroFactory |
+configure(AvroParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactory |
+copy() |
+
AvroGenerator |
+createGenerator(OutputStream out)
+Since Avro format always uses UTF-8 internally, no encoding need
+ to be passed to this method.
+ |
+
AvroGenerator |
+createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc)
+
+ note: co-variant return type
+ |
+
AvroParser |
+createParser(byte[] data) |
+
AvroParser |
+createParser(byte[] data,
+ int offset,
+ int len) |
+
AvroParser |
+createParser(File f) |
+
AvroParser |
+createParser(InputStream in) |
+
AvroParser |
+createParser(URL url) |
+
AvroFactory |
+disable(AvroGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroFactory |
+disable(AvroParser.Feature f)
+Method for disabling specified parser features
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactory |
+enable(AvroGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroFactory |
+enable(AvroParser.Feature f)
+Method for enabling specified parser feature
+ (check
+AvroParser.Feature for list of features) |
+
int |
+getFormatGeneratorFeatures() |
+
String |
+getFormatName() |
+
int |
+getFormatParserFeatures() |
+
com.fasterxml.jackson.core.format.MatchStrength |
+hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
+Sub-classes need to override this method
+ |
+
boolean |
+isEnabled(AvroGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
boolean |
+isEnabled(AvroParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
protected Object |
+readResolve()
+Method that we need to override to actually make restoration go
+ through constructors etc.
+ |
+
AvroFactoryBuilder |
+rebuild() |
+
boolean |
+requiresPropertyOrdering() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_checkInvalidCopy, _createContentReference, _createContentReference, _createContext, _createContext, _createNonBlockingContext, _createParser, _createUTF8Generator, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, canParseAsync, canUseCharArrays, configure, configure, configure, createGenerator, createGenerator, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createNonBlockingByteArrayParser, createParser, createParser, createParser, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getFormatReadFeatureType, getFormatWriteFeatureType, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, requiresCustomCodec, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator_createDataOutputWrapper, _optimizedStreamFromURLpublic static final String FORMAT_NAME_AVRO+
protected int _avroParserFeatures+
protected int _avroGeneratorFeatures+
protected boolean _useApacheLibDecoder+
public AvroFactory()+
public AvroFactory(com.fasterxml.jackson.core.ObjectCodec oc)+
protected AvroFactory(AvroFactory src, + com.fasterxml.jackson.core.ObjectCodec oc)+
protected AvroFactory(AvroFactoryBuilder b)+
AvroFactoryBuilder for instantiation.public AvroFactoryBuilder rebuild()+
rebuild in class com.fasterxml.jackson.core.JsonFactorypublic static AvroFactoryBuilder builder()+
AvroFactory instances with different configuration.
+ Builder is initialized to defaults and this is equivalent to calling
+ builderWithNativeDecoder().public static AvroFactoryBuilder builderWithApacheDecoder()+
AvroFactory instances with different configuration,
+ initialized to use Apache Avro library codec for decoding content
+ (instead of Jackson native decoder).public static AvroFactoryBuilder builderWithNativeDecoder()+
AvroFactory instances with different configuration,
+ initialized to use Jackson antive codec for decoding content
+ (instead of Apache Avro library decoder).public AvroFactory copy()+
copy in class com.fasterxml.jackson.core.JsonFactorypublic boolean requiresPropertyOrdering()+
requiresPropertyOrdering in class com.fasterxml.jackson.core.JsonFactorypublic boolean canHandleBinaryNatively()+
canHandleBinaryNatively in class com.fasterxml.jackson.core.JsonFactoryprotected Object readResolve()+
readResolve in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonFactorypublic String getFormatName()+
getFormatName in class com.fasterxml.jackson.core.JsonFactorypublic boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)+
canUseSchema in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.format.MatchStrength hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + throws IOException+
hasFormat in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic final AvroFactory configure(AvroParser.Feature f, + boolean state)+
AvroParser.Feature for list of features)public AvroFactory enable(AvroParser.Feature f)+
AvroParser.Feature for list of features)public AvroFactory disable(AvroParser.Feature f)+
AvroParser.Feature for list of features)public final boolean isEnabled(AvroParser.Feature f)+
public int getFormatParserFeatures()+
getFormatParserFeatures in class com.fasterxml.jackson.core.JsonFactorypublic final AvroFactory configure(AvroGenerator.Feature f, + boolean state)+
AvroGenerator.Feature for list of features)public AvroFactory enable(AvroGenerator.Feature f)+
AvroGenerator.Feature for list of features)public AvroFactory disable(AvroGenerator.Feature f)+
AvroGenerator.Feature for list of features)public final boolean isEnabled(AvroGenerator.Feature f)+
public int getFormatGeneratorFeatures()+
getFormatGeneratorFeatures in class com.fasterxml.jackson.core.JsonFactorypublic AvroParser createParser(File f) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic AvroParser createParser(URL url) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic AvroParser createParser(InputStream in) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic AvroParser createParser(byte[] data) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic AvroParser createParser(byte[] data, + int offset, + int len) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic AvroGenerator createGenerator(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc) + throws IOException+
+ note: co-variant return type
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic AvroGenerator createGenerator(OutputStream out) + throws IOException+
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected AvroParser _createParser(InputStream in, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(Reader r, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(char[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt, + boolean recyclable) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected AvroParser _createParser(byte[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonGenerator _createGenerator(Writer out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected Writer _createWriter(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createWriter in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected AvroGenerator _createGenerator(OutputStream out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
IOExceptionprotected <T> T _nonByteSource() + throws IOException+
IOExceptionprotected <T> T _nonByteTarget() + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFactoryBuilder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFactoryBuilder.html new file mode 100644 index 000000000..908d8e5eb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFactoryBuilder.html @@ -0,0 +1,590 @@ + + + + + + +public class AvroFactoryBuilder +extends com.fasterxml.jackson.core.TSFBuilder<AvroFactory,AvroFactoryBuilder>+
TSFBuilder
+ implementation for constructing AvroFactory
+ instances.
+
+ Note: one of standard features,
+ JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT,
+ is disabled by default, as it does not play well with error handling. It may be
+ forcibly enabled (if there is ever reason to do so), just defaults to false.
| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_formatGeneratorFeatures
+Set of
+AvroGenerator.Features enabled, as bitmask. |
+
protected int |
+_formatParserFeatures
+Set of
+AvroParser.Features enabled, as bitmask. |
+
protected boolean |
+_useApacheLibDecoder
+Flag that is set if Apache Avro lib's decoder is to be used for decoding;
+ `false` to use Jackson native Avro decoder.
+ |
+
_factoryFeatures, _inputDecorator, _outputDecorator, _streamReadFeatures, _streamWriteFeatures, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroFactoryBuilder() |
+
|
+AvroFactoryBuilder(AvroFactory base) |
+
protected |
+AvroFactoryBuilder(boolean useApacheDecoder) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFactory |
+build() |
+
AvroFactoryBuilder |
+configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroFactoryBuilder |
+configure(AvroParser.Feature f,
+ boolean state) |
+
AvroFactoryBuilder |
+disable(AvroGenerator.Feature f) |
+
AvroFactoryBuilder |
+disable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
AvroFactoryBuilder |
+disable(AvroParser.Feature f) |
+
AvroFactoryBuilder |
+disable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
AvroFactoryBuilder |
+enable(AvroGenerator.Feature f) |
+
AvroFactoryBuilder |
+enable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
AvroFactoryBuilder |
+enable(AvroParser.Feature f) |
+
AvroFactoryBuilder |
+enable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
int |
+formatGeneratorFeaturesMask() |
+
int |
+formatParserFeaturesMask() |
+
boolean |
+useApacheLibDecoder() |
+
_legacyDisable, _legacyDisable, _legacyEnable, _legacyEnable, _this, configure, configure, configure, configure, configure, disable, disable, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, enable, enable, factoryFeaturesMask, inputDecorator, inputDecorator, outputDecorator, outputDecorator, streamReadFeatures, streamWriteFeaturesprotected int _formatParserFeatures+
AvroParser.Features enabled, as bitmask.protected int _formatGeneratorFeatures+
AvroGenerator.Features enabled, as bitmask.protected boolean _useApacheLibDecoder+
protected AvroFactoryBuilder()+
protected AvroFactoryBuilder(boolean useApacheDecoder)+
public AvroFactoryBuilder(AvroFactory base)+
public AvroFactory build()+
build in class com.fasterxml.jackson.core.TSFBuilder<AvroFactory,AvroFactoryBuilder>public int formatParserFeaturesMask()+
public int formatGeneratorFeaturesMask()+
public boolean useApacheLibDecoder()+
public AvroFactoryBuilder enable(AvroParser.Feature f)+
public AvroFactoryBuilder enable(AvroParser.Feature first, + AvroParser.Feature... other)+
public AvroFactoryBuilder disable(AvroParser.Feature f)+
public AvroFactoryBuilder disable(AvroParser.Feature first, + AvroParser.Feature... other)+
public AvroFactoryBuilder configure(AvroParser.Feature f, + boolean state)+
public AvroFactoryBuilder enable(AvroGenerator.Feature f)+
public AvroFactoryBuilder enable(AvroGenerator.Feature first, + AvroGenerator.Feature... other)+
public AvroFactoryBuilder disable(AvroGenerator.Feature f)+
public AvroFactoryBuilder disable(AvroGenerator.Feature first, + AvroGenerator.Feature... other)+
public AvroFactoryBuilder configure(AvroGenerator.Feature f, + boolean state)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFixedSize.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFixedSize.html new file mode 100644 index 000000000..3ee6b7dda --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroFixedSize.html @@ -0,0 +1,280 @@ + + + + + + +@Retention(value=RUNTIME) + @Target(value={METHOD,FIELD}) +public @interface AvroFixedSize+
+ Instructs the AvroSchemaGenerator
+ to declare the annotated property as type "fixed" (Schema.Type.FIXED).
| Modifier and Type | +Required Element and Description | +
|---|---|
int |
+size
+The fixed size, in bytes, of the value contained in this field
+ |
+
String |
+typeName
+The name of the type in the generated schema
+ |
+
| Modifier and Type | +Optional Element and Description | +
|---|---|
String |
+typeNamespace
+The namespace of the type in the generated schema (optional)
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroGenerator.Feature.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroGenerator.Feature.html new file mode 100644 index 000000000..45293e8dc --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroGenerator.Feature.html @@ -0,0 +1,499 @@ + + + + + + +public static enum AvroGenerator.Feature +extends Enum<AvroGenerator.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Enum Constant and Description | +
|---|
AVRO_BUFFERING
+Feature that can be disabled to prevent Avro from buffering any more
+ data then absolutely necessary.
+ |
+
AVRO_FILE_OUTPUT
+Feature that tells Avro to write data in file format (i.e.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_defaultState |
+
protected int |
+_mask |
+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that
+ are enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static AvroGenerator.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AvroGenerator.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final AvroGenerator.Feature AVRO_BUFFERING+
+ Enabled by default to preserve the existing behavior.
public static final AvroGenerator.Feature AVRO_FILE_OUTPUT+
+ NOTE: reader-side will have to be aware of distinction as well, since possible inclusion + of this header is not 100% reliably auto-detectable (while header has distinct marker, + "raw" Avro content has no limitations and could theoretically have same pre-amble from data).
protected final boolean _defaultState+
protected final int _mask+
public static AvroGenerator.Feature[] values()+
+for (AvroGenerator.Feature c : AvroGenerator.Feature.values()) + System.out.println(c); +
public static AvroGenerator.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroGenerator.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroGenerator.html new file mode 100644 index 000000000..ac8f61feb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroGenerator.html @@ -0,0 +1,1505 @@ + + + + + + +public class AvroGenerator
+extends com.fasterxml.jackson.core.base.GeneratorBase
+| Modifier and Type | +Class and Description | +
|---|---|
static class |
+AvroGenerator.Feature
+Enumeration that defines all togglable features for Avro generators
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroWriteContext |
+_avroContext
+Current context
+ |
+
protected boolean |
+_complete
+Flag that is set when the whole content is complete, can
+ be output.
+ |
+
protected org.apache.avro.io.BinaryEncoder |
+_encoder
+Lazily constructed encoder; reused in case of writing root-value sequences.
+ |
+
protected int |
+_formatFeatures
+Bit flag composed of bits that indicate which
+
+AvroGenerator.Features
+ are enabled. |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext |
+
protected OutputStream |
+_output |
+
protected AvroWriteContext |
+_rootContext
+Reference to the root context since that is needed for serialization
+ |
+
protected AvroSchema |
+_rootSchema |
+
_cfgNumbersAsStrings, _closed, _features, _objectCodec, _writeContext, DERIVED_FEATURES_MASK, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING_cfgPrettyPrinter, DEFAULT_BINARY_WRITE_CAPABILITIES, DEFAULT_TEXTUAL_WRITE_CAPABILITIES, DEFAULT_WRITE_CAPABILITIES| Constructor and Description | +
|---|
AvroGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int jsonFeatures,
+ int avroFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ OutputStream output) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_complete() |
+
protected void |
+_releaseBuffers() |
+
protected void |
+_verifyValueWrite(String typeMsg) |
+
boolean |
+canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
boolean |
+canWriteBinaryNatively() |
+
void |
+close() |
+
AvroGenerator |
+configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroGenerator |
+disable(AvroGenerator.Feature f) |
+
AvroGenerator |
+enable(AvroGenerator.Feature f) |
+
void |
+flush() |
+
int |
+getOutputBuffered()
+Unfortunately we have no visibility into buffering Avro codec does;
+ and need to return
+-1 to reflect that lack of knowledge. |
+
com.fasterxml.jackson.core.JsonStreamContext |
+getOutputContext() |
+
Object |
+getOutputTarget() |
+
AvroSchema |
+getSchema() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> |
+getWriteCapabilities() |
+
boolean |
+isEnabled(AvroGenerator.Feature f) |
+
com.fasterxml.jackson.core.JsonGenerator |
+overrideFormatFeatures(int values,
+ int mask) |
+
AvroGenerator |
+setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)
+Not relevant, as binary formats typically have no indentation.
+ |
+
void |
+setSchema(AvroSchema schema) |
+
void |
+setSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
AvroGenerator |
+useDefaultPrettyPrinter()
+Not sure what to do here; could reset indentation to some value maybe?
+ |
+
com.fasterxml.jackson.core.Version |
+version() |
+
void |
+writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
+ byte[] data,
+ int offset,
+ int len) |
+
void |
+writeBoolean(boolean state) |
+
void |
+writeEmbeddedObject(Object object) |
+
void |
+writeEndArray() |
+
void |
+writeEndObject() |
+
void |
+writeFieldName(com.fasterxml.jackson.core.SerializableString name) |
+
void |
+writeFieldName(String name) |
+
void |
+writeNull() |
+
void |
+writeNumber(BigDecimal dec) |
+
void |
+writeNumber(BigInteger v) |
+
void |
+writeNumber(double d) |
+
void |
+writeNumber(float f) |
+
void |
+writeNumber(int i) |
+
void |
+writeNumber(long l) |
+
void |
+writeNumber(String encodedValue) |
+
void |
+writeRaw(char c) |
+
void |
+writeRaw(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRaw(String text) |
+
void |
+writeRaw(String text,
+ int offset,
+ int len) |
+
void |
+writeRawUTF8String(byte[] text,
+ int offset,
+ int len) |
+
void |
+writeRawValue(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRawValue(String text) |
+
void |
+writeRawValue(String text,
+ int offset,
+ int len) |
+
void |
+writeStartArray() |
+
void |
+writeStartObject() |
+
void |
+writeStartObject(Object forValue) |
+
void |
+writeString(char[] text,
+ int offset,
+ int len) |
+
void |
+writeString(com.fasterxml.jackson.core.SerializableString sstr) |
+
void |
+writeString(String text) |
+
void |
+writeUTF8String(byte[] text,
+ int offset,
+ int len) |
+
_asString, _checkStdFeatureChanges, _constructDefaultPrettyPrinter, _decodeSurrogate, disable, enable, getCodec, getCurrentValue, getFeatureMask, isClosed, isEnabled, overrideStdFeatures, setCodec, setCurrentValue, setFeatureMask, writeBinary, writeObject, writeRawValue, writeTree_copyCurrentContents, _reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, assignCurrentValue, canOmitFields, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, configure, copyCurrentEvent, copyCurrentStructure, currentValue, getCharacterEscapes, getFormatFeatures, getHighestEscapedChar, getPrettyPrinter, isEnabled, setCharacterEscapes, setHighestNonEscapedChar, setRootValueSeparator, writeArray, writeArray, writeArray, writeArray, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeFieldId, writeNullField, writeNumber, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writePOJO, writePOJOField, writeRaw, writeStartArray, writeStartArray, writeStartArray, writeStartObject, writeString, writeStringField, writeTypeId, writeTypePrefix, writeTypeSuffixprotected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected int _formatFeatures+
AvroGenerator.Features
+ are enabled.protected AvroSchema _rootSchema+
protected final OutputStream _output+
protected AvroWriteContext _rootContext+
protected AvroWriteContext _avroContext+
protected org.apache.avro.io.BinaryEncoder _encoder+
protected boolean _complete+
public AvroGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, + int jsonFeatures, + int avroFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + OutputStream output) + throws IOException+
IOExceptionpublic void setSchema(AvroSchema schema)+
public com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.base.GeneratorBasepublic AvroGenerator useDefaultPrettyPrinter()+
useDefaultPrettyPrinter in class com.fasterxml.jackson.core.base.GeneratorBasepublic AvroGenerator setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)+
setPrettyPrinter in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getOutputTarget()+
getOutputTarget in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonStreamContext getOutputContext()+
getOutputContext in class com.fasterxml.jackson.core.base.GeneratorBasepublic int getOutputBuffered()+
-1 to reflect that lack of knowledge.getOutputBuffered in class com.fasterxml.jackson.core.JsonGeneratorpublic AvroSchema getSchema()+
getSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic void setSchema(com.fasterxml.jackson.core.FormatSchema schema)+
setSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)+
canUseSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic boolean canWriteBinaryNatively()+
canWriteBinaryNatively in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> getWriteCapabilities()+
getWriteCapabilities in class com.fasterxml.jackson.core.JsonGeneratorpublic AvroGenerator enable(AvroGenerator.Feature f)+
public AvroGenerator disable(AvroGenerator.Feature f)+
public final boolean isEnabled(AvroGenerator.Feature f)+
public AvroGenerator configure(AvroGenerator.Feature f, + boolean state)+
public com.fasterxml.jackson.core.JsonGenerator overrideFormatFeatures(int values, + int mask)+
overrideFormatFeatures in class com.fasterxml.jackson.core.JsonGeneratorpublic final void writeFieldName(String name) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeFieldName(com.fasterxml.jackson.core.SerializableString name) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void flush() + throws IOException+
flush in interface Flushableflush in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void writeStartArray() + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeEndArray() + throws IOException+
writeEndArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartObject() + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeStartObject(Object forValue) + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void writeEndObject() + throws IOException+
writeEndObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(String text) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(char[] text, + int offset, + int len) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeString(com.fasterxml.jackson.core.SerializableString sstr) + throws IOException+
writeString in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawUTF8String(byte[] text, + int offset, + int len) + throws IOException+
writeRawUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeUTF8String(byte[] text, + int offset, + int len) + throws IOException+
writeUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeEmbeddedObject(Object object) + throws IOException+
writeEmbeddedObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String text) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char[] text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char c) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(String text) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(String text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(char[] text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, + byte[] data, + int offset, + int len) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeBoolean(boolean state) + throws IOException+
writeBoolean in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNull() + throws IOException+
writeNull in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(int i) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(long l) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigInteger v) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(double d) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(float f) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigDecimal dec) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(String encodedValue) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected final void _verifyValueWrite(String typeMsg) + throws IOException+
_verifyValueWrite in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionprotected void _releaseBuffers()+
_releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBaseprotected void _complete() + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroMapper.Builder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroMapper.Builder.html new file mode 100644 index 000000000..b03239649 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroMapper.Builder.html @@ -0,0 +1,407 @@ + + + + + + +public static class AvroMapper.Builder +extends com.fasterxml.jackson.databind.cfg.MapperBuilder<AvroMapper,AvroMapper.Builder>+
ObjectMapper, used with
+ Avro backend.| Modifier and Type | +Field and Description | +
|---|---|
protected AvroFactory |
+_streamFactory |
+
_mapper| Constructor and Description | +
|---|
Builder(AvroMapper m) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroMapper.Builder |
+configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroMapper.Builder |
+configure(AvroParser.Feature f,
+ boolean state) |
+
AvroMapper.Builder |
+disable(AvroGenerator.Feature... features) |
+
AvroMapper.Builder |
+disable(AvroParser.Feature... features) |
+
AvroMapper.Builder |
+enable(AvroGenerator.Feature... features) |
+
AvroMapper.Builder |
+enable(AvroParser.Feature... features) |
+
_this, accessorNaming, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addModule, addModules, addModules, annotationIntrospector, build, clearProblemHandlers, configure, configure, configure, configure, configure, configure, configure, constructorDetector, deactivateDefaultTyping, defaultAttributes, defaultBase64Variant, defaultDateFormat, defaultLeniency, defaultLocale, defaultMergeable, defaultPrettyPrinter, defaultPropertyInclusion, defaultSetterInfo, defaultTimeZone, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, filterProvider, findAndAddModules, findModules, findModules, handlerInstantiator, injectableValues, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, nodeFactory, polymorphicTypeValidator, propertyNamingStrategy, registerSubtypes, registerSubtypes, registerSubtypes, removeMixIn, serializationInclusion, serializerFactory, setDefaultTyping, streamFactory, subtypeResolver, typeFactory, visibility, visibility, withCoercionConfig, withCoercionConfig, withCoercionConfigDefaults, withConfigOverrideprotected final AvroFactory _streamFactory+
public Builder(AvroMapper m)+
public AvroMapper.Builder enable(AvroParser.Feature... features)+
public AvroMapper.Builder disable(AvroParser.Feature... features)+
public AvroMapper.Builder configure(AvroParser.Feature f, + boolean state)+
public AvroMapper.Builder enable(AvroGenerator.Feature... features)+
public AvroMapper.Builder disable(AvroGenerator.Feature... features)+
public AvroMapper.Builder configure(AvroGenerator.Feature f, + boolean state)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroMapper.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroMapper.html new file mode 100644 index 000000000..22161a36a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroMapper.html @@ -0,0 +1,676 @@ + + + + + + +public class AvroMapper
+extends com.fasterxml.jackson.databind.ObjectMapper
+AvroMapper, which is mostly similar to simply
+ constructing a mapper with AvroFactory, but also adds little
+ bit of convenience around AvroSchema generation.| Modifier and Type | +Class and Description | +
|---|---|
static class |
+AvroMapper.Builder
+Base implementation for "Vanilla"
+ObjectMapper, used with
+ Avro backend. |
+
com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder, com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping_coercionConfigs, _configOverrides, _deserializationConfig, _deserializationContext, _injectableValues, _jsonFactory, _mixIns, _registeredModuleTypes, _rootDeserializers, _serializationConfig, _serializerFactory, _serializerProvider, _subtypeResolver, _typeFactory, DEFAULT_ANNOTATION_INTROSPECTOR, DEFAULT_BASE| Modifier | +Constructor and Description | +
|---|---|
|
+AvroMapper()
+Constructor that will construct mapper with standard
+AvroFactory
+ as codec, and will also register AvroModule. |
+
|
+AvroMapper(AvroFactory f)
+Constructor that will construct mapper with given
+AvroFactory,
+ as well as register standard AvroModule (with default settings). |
+
|
+AvroMapper(AvroFactory f,
+ com.fasterxml.jackson.databind.Module... modules)
+Constructor that will construct mapper with specified
+AvroFactory
+ as codec, and register given modules but nothing else (that is, will
+ only register AvroModule if it's included as argument. |
+
|
+AvroMapper(com.fasterxml.jackson.databind.Module... modules)
+Constructor that will construct mapper with standard
+AvroFactory
+ as codec, and register given modules but nothing else (that is, will
+ only register AvroModule if it's included as argument. |
+
protected |
+AvroMapper(com.fasterxml.jackson.databind.ObjectMapper src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.fasterxml.jackson.databind.JsonMappingException |
+_invalidSchemaDefinition(com.fasterxml.jackson.databind.JavaType type,
+ Exception e0) |
+
static AvroMapper.Builder |
+builder() |
+
static AvroMapper.Builder |
+builder(AvroFactory streamFactory) |
+
AvroMapper |
+copy() |
+
AvroFactory |
+getFactory() |
+
AvroSchema |
+schemaFor(Class<?> type)
+Factory method for constructing
+AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties. |
+
AvroSchema |
+schemaFor(com.fasterxml.jackson.databind.JavaType type)
+Factory method for constructing
+AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties. |
+
AvroSchema |
+schemaFrom(File schemaFile)
+Convenience method for reading
+AvroSchema from given
+ encoded JSON representation. |
+
AvroSchema |
+schemaFrom(InputStream in)
+Method for reading an Avro Schema from given
+InputStream,
+ and once done (successfully or not), closing the stream. |
+
AvroSchema |
+schemaFrom(String schemaAsString)
+Convenience method for reading
+AvroSchema from given
+ encoded JSON representation. |
+
com.fasterxml.jackson.core.Version |
+version() |
+
static AvroMapper.Builder |
+xmlBuilder() |
+
_assertNotNull, _checkInvalidCopy, _configAndWriteValue, _constructDefaultTypeResolverBuilder, _convert, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readTreeAndClose, _readValue, _serializerProvider, _verifyNoTrailingTokens, _verifySchemaType, _writeValueAndClose, acceptJsonFormatVisitor, acceptJsonFormatVisitor, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addMixInAnnotations, canDeserialize, canDeserialize, canSerialize, canSerialize, clearProblemHandlers, coercionConfigDefaults, coercionConfigFor, coercionConfigFor, configOverride, configure, configure, configure, configure, configure, constructType, constructType, convertValue, convertValue, convertValue, createArrayNode, createDeserializationContext, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createNonBlockingByteArrayParser, createObjectNode, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, deactivateDefaultTyping, defaultClassIntrospector, disable, disable, disable, disable, disable, disable, disable, disableDefaultTyping, enable, enable, enable, enable, enable, enable, enable, enableDefaultTyping, enableDefaultTyping, enableDefaultTyping, enableDefaultTypingAsProperty, findAndRegisterModules, findMixInClassFor, findModules, findModules, generateJsonSchema, getDateFormat, getDeserializationConfig, getDeserializationContext, getInjectableValues, getNodeFactory, getPolymorphicTypeValidator, getPropertyNamingStrategy, getRegisteredModuleIds, getSerializationConfig, getSerializerFactory, getSerializerProvider, getSerializerProviderInstance, getSubtypeResolver, getTypeFactory, getVisibilityChecker, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, missingNode, mixInCount, nullNode, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForArrayOf, readerForListOf, readerForMapOf, readerForUpdating, readerWithView, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValues, readValues, readValues, readValues, registerModule, registerModules, registerModules, registerSubtypes, registerSubtypes, registerSubtypes, setAccessorNaming, setAnnotationIntrospector, setAnnotationIntrospectors, setBase64Variant, setConfig, setConfig, setConstructorDetector, setDateFormat, setDefaultAttributes, setDefaultLeniency, setDefaultMergeable, setDefaultPrettyPrinter, setDefaultPropertyInclusion, setDefaultPropertyInclusion, setDefaultSetterInfo, setDefaultTyping, setDefaultVisibility, setFilterProvider, setFilters, setHandlerInstantiator, setInjectableValues, setLocale, setMixInAnnotations, setMixInResolver, setMixIns, setNodeFactory, setPolymorphicTypeValidator, setPropertyInclusion, setPropertyNamingStrategy, setSerializationInclusion, setSerializerFactory, setSerializerProvider, setSubtypeResolver, setTimeZone, setTypeFactory, setVisibility, setVisibility, setVisibilityChecker, tokenStreamFactory, treeAsTokens, treeToValue, treeToValue, updateValue, valueToTree, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithType, writerWithType, writerWithType, writerWithView, writeTree, writeTree, writeValue, writeValue, writeValue, writeValue, writeValue, writeValueAsBytes, writeValueAsStringgetJsonFactorypublic AvroMapper()+
AvroFactory
+ as codec, and will also register AvroModule.public AvroMapper(AvroFactory f)+
AvroFactory,
+ as well as register standard AvroModule (with default settings).public AvroMapper(com.fasterxml.jackson.databind.Module... modules)+
AvroFactory
+ as codec, and register given modules but nothing else (that is, will
+ only register AvroModule if it's included as argument.public AvroMapper(AvroFactory f, + com.fasterxml.jackson.databind.Module... modules)+
AvroFactory
+ as codec, and register given modules but nothing else (that is, will
+ only register AvroModule if it's included as argument.protected AvroMapper(com.fasterxml.jackson.databind.ObjectMapper src)+
public static AvroMapper.Builder xmlBuilder()+
public static AvroMapper.Builder builder()+
public static AvroMapper.Builder builder(AvroFactory streamFactory)+
public AvroMapper copy()+
copy in class com.fasterxml.jackson.databind.ObjectMapperpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.ObjectMapperpublic AvroFactory getFactory()+
getFactory in class com.fasterxml.jackson.databind.ObjectMapperpublic AvroSchema schemaFor(Class<?> type) + throws com.fasterxml.jackson.databind.JsonMappingException+
AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties.
++ Resulting schema object does not use separate reader/writer schemas.
com.fasterxml.jackson.databind.JsonMappingExceptionpublic AvroSchema schemaFor(com.fasterxml.jackson.databind.JavaType type) + throws com.fasterxml.jackson.databind.JsonMappingException+
AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties.
++ Resulting schema object does not use separate reader/writer schemas.
com.fasterxml.jackson.databind.JsonMappingExceptionprotected com.fasterxml.jackson.databind.JsonMappingException _invalidSchemaDefinition(com.fasterxml.jackson.databind.JavaType type, + Exception e0)+
public AvroSchema schemaFrom(InputStream in) + throws IOException+
InputStream,
+ and once done (successfully or not), closing the stream.
++ Resulting schema object does not use separate reader/writer schemas.
IOExceptionpublic AvroSchema schemaFrom(String schemaAsString) + throws IOException+
AvroSchema from given
+ encoded JSON representation.
++ Resulting schema object does not use separate reader/writer schemas.
IOExceptionpublic AvroSchema schemaFrom(File schemaFile) + throws IOException+
AvroSchema from given
+ encoded JSON representation.
++ Resulting schema object does not use separate reader/writer schemas.
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroModule.SchemaSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroModule.SchemaSerializer.html new file mode 100644 index 000000000..8b6fe2485 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroModule.SchemaSerializer.html @@ -0,0 +1,350 @@ + + + + + + +public static class AvroModule.SchemaSerializer
+extends com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.avro.Schema>
+com.fasterxml.jackson.databind.JsonSerializer.None_handledType| Constructor and Description | +
|---|
SchemaSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+serialize(org.apache.avro.Schema value,
+ com.fasterxml.jackson.core.JsonGenerator gen,
+ com.fasterxml.jackson.databind.SerializerProvider prov) |
+
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterIdpublic void serialize(org.apache.avro.Schema value, + com.fasterxml.jackson.core.JsonGenerator gen, + com.fasterxml.jackson.databind.SerializerProvider prov) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.avro.Schema>IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroModule.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroModule.html new file mode 100644 index 000000000..e417a0445 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroModule.html @@ -0,0 +1,497 @@ + + + + + + +public class AvroModule
+extends com.fasterxml.jackson.databind.Module
+Schema: remove from Avro lib generated types;
+ serialize as (JSON) String for others
+ AnnotationIntrospector that supports Apache Avro lib
+ annotations
+ Object.
+ | Modifier and Type | +Class and Description | +
|---|---|
static class |
+AvroModule.SchemaSerializer |
+
com.fasterxml.jackson.databind.Module.SetupContext| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.AnnotationIntrospector |
+_intr |
+
protected static AvroAnnotationIntrospector |
+INTR |
+
| Constructor and Description | +
|---|
AvroModule() |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_addDeserializers(com.fasterxml.jackson.databind.Module.SetupContext context) |
+
protected void |
+_addIntrospector(com.fasterxml.jackson.databind.Module.SetupContext context) |
+
protected void |
+_addModifiers(com.fasterxml.jackson.databind.Module.SetupContext context) |
+
protected void |
+_addSerializers(com.fasterxml.jackson.databind.Module.SetupContext context) |
+
String |
+getModuleName() |
+
void |
+setupModule(com.fasterxml.jackson.databind.Module.SetupContext context) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
AvroModule |
+withAnnotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector intr)
+Fluent method that configures this module instance
+ |
+
getDependencies, getTypeIdprotected static final AvroAnnotationIntrospector INTR+
protected com.fasterxml.jackson.databind.AnnotationIntrospector _intr+
public String getModuleName()+
getModuleName in class com.fasterxml.jackson.databind.Modulepublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.Modulepublic AvroModule withAnnotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector intr)+
public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)+
setupModule in class com.fasterxml.jackson.databind.Moduleprotected void _addIntrospector(com.fasterxml.jackson.databind.Module.SetupContext context)+
protected void _addModifiers(com.fasterxml.jackson.databind.Module.SetupContext context)+
protected void _addDeserializers(com.fasterxml.jackson.databind.Module.SetupContext context)+
protected void _addSerializers(com.fasterxml.jackson.databind.Module.SetupContext context)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroParser.Feature.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroParser.Feature.html new file mode 100644 index 000000000..a957554fa --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroParser.Feature.html @@ -0,0 +1,424 @@ + + + + + + +public static enum AvroParser.Feature +extends Enum<AvroParser.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Enum Constant and Description | +
|---|
AVRO_BUFFERING
+Feature that can be disabled to prevent Avro from buffering any more
+ data then absolutely necessary.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that
+ are enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static AvroParser.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AvroParser.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final AvroParser.Feature AVRO_BUFFERING+
+ Enabled by default to preserve the existing behavior.
public static AvroParser.Feature[] values()+
+for (AvroParser.Feature c : AvroParser.Feature.values()) + System.out.println(c); +
public static AvroParser.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroParser.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroParser.html new file mode 100644 index 000000000..d2a8e8998 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroParser.html @@ -0,0 +1,1016 @@ + + + + + + +public abstract class AvroParser
+extends com.fasterxml.jackson.core.base.ParserBase
+JsonParser implementation for decoding Avro content and
+ exposing at as a stream of JsonTokens, to be used
+ for data binding.| Modifier and Type | +Class and Description | +
|---|---|
static class |
+AvroParser.Feature
+Enumeration that defines all togglable features for Avro parsers.
+ |
+
com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected AvroReadContext |
+_avroContext |
+
protected int |
+_formatFeatures |
+
protected com.fasterxml.jackson.core.ObjectCodec |
+_objectCodec
+Codec used for data binding when (if) requested.
+ |
+
protected AvroSchema |
+_rootSchema |
+
_binaryValue, _byteArrayBuilder, _closed, _currInputProcessed, _currInputRow, _currInputRowStart, _expLength, _fractLength, _inputEnd, _inputPtr, _intLength, _ioContext, _nameCopied, _nameCopyBuffer, _nextToken, _numberBigDecimal, _numberBigInt, _numberDouble, _numberInt, _numberLong, _numberNegative, _numTypesValid, _parsingContext, _textBuffer, _tokenInputCol, _tokenInputRow, _tokenInputTotal, JSON_READ_CAPABILITIES_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroParser(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int avroFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected abstract void |
+_closeInput() |
+
protected void |
+_finishString() |
+
protected abstract void |
+_initSchema(AvroSchema schema) |
+
boolean |
+canReadTypeId() |
+
boolean |
+canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
com.fasterxml.jackson.core.JsonParser |
+configure(AvroParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified Avro feature
+ (check
+AvroParser.Feature for list of features) |
+
com.fasterxml.jackson.core.JsonParser |
+disable(AvroParser.Feature f)
+Method for disabling specified Avro feature
+ (check
+AvroParser.Feature for list of features) |
+
com.fasterxml.jackson.core.JsonParser |
+enable(AvroParser.Feature f)
+Method for enabling specified Avro feature
+ (check
+AvroParser.Feature for list of features) |
+
byte[] |
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant variant) |
+
com.fasterxml.jackson.core.ObjectCodec |
+getCodec() |
+
com.fasterxml.jackson.core.JsonLocation |
+getCurrentLocation() |
+
String |
+getCurrentName() |
+
Object |
+getEmbeddedObject() |
+
abstract Object |
+getInputSource() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> |
+getReadCapabilities() |
+
AvroSchema |
+getSchema() |
+
abstract String |
+getText() |
+
abstract int |
+getText(Writer writer) |
+
char[] |
+getTextCharacters() |
+
int |
+getTextLength() |
+
int |
+getTextOffset() |
+
com.fasterxml.jackson.core.JsonLocation |
+getTokenLocation() |
+
Object |
+getTypeId() |
+
abstract boolean |
+hasTextCharacters() |
+
boolean |
+isEnabled(AvroParser.Feature f)
+Method for checking whether specified Avro
+AvroParser.Feature
+ is enabled. |
+
abstract com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+overrideCurrentName(String name) |
+
abstract com.fasterxml.jackson.core.JsonParser |
+overrideFormatFeatures(int values,
+ int mask) |
+
void |
+setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
+
void |
+setSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_checkStdFeatureChanges, _contentReference, _decodeBase64Escape, _decodeBase64Escape, _decodeEscaped, _eofAsNextChar, _getByteArrayBuilder, _getSourceReference, _handleBase64MissingPadding, _handleEOF, _handleUnrecognizedCharacterEscape, _parseIntValue, _parseNumericValue, _releaseBuffers, _reportMismatchedEndMarker, _reportTooLongIntegral, _throwUnquotedSpace, _validJsonTokenList, _validJsonValueList, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToInt, convertNumberToLong, disable, enable, getBigIntegerValue, getCurrentValue, getDecimalValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getNumberType, getNumberValue, getNumberValueExact, getParsingContext, getTokenCharacterOffset, getTokenColumnNr, getTokenLineNr, growArrayBy, isClosed, isNaN, loadMore, loadMoreGuaranteed, overrideStdFeatures, reportInvalidBase64Char, reportInvalidBase64Char, reset, resetAsNaN, resetFloat, resetInt, setCurrentValue, setFeatureMask_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, configure, currentLocation, currentName, currentTokenLocation, currentValue, finishToken, getBinaryValue, getBooleanValue, getByteValue, getFeatureMask, getFormatFeatures, getNonBlockingInputFeeder, getObjectId, getShortValue, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, readBinaryValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnErrorprotected com.fasterxml.jackson.core.ObjectCodec _objectCodec+
protected AvroSchema _rootSchema+
protected int _formatFeatures+
protected AvroReadContext _avroContext+
protected AvroParser(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int avroFeatures, + com.fasterxml.jackson.core.ObjectCodec codec)+
public com.fasterxml.jackson.core.ObjectCodec getCodec()+
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)+
setCodec in class com.fasterxml.jackson.core.JsonParserpublic abstract Object getInputSource()+
getInputSource in class com.fasterxml.jackson.core.JsonParserpublic abstract com.fasterxml.jackson.core.JsonParser overrideFormatFeatures(int values, + int mask)+
overrideFormatFeatures in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> getReadCapabilities()+
getReadCapabilities in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.base.ParserBaseprotected void _finishString() + throws IOException+
_finishString in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionprotected abstract void _closeInput() + throws IOException+
_closeInput in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic com.fasterxml.jackson.core.JsonParser enable(AvroParser.Feature f)+
AvroParser.Feature for list of features)public com.fasterxml.jackson.core.JsonParser disable(AvroParser.Feature f)+
AvroParser.Feature for list of features)public com.fasterxml.jackson.core.JsonParser configure(AvroParser.Feature f, + boolean state)+
AvroParser.Feature for list of features)public boolean isEnabled(AvroParser.Feature f)+
AvroParser.Feature
+ is enabled.public boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)+
canUseSchema in class com.fasterxml.jackson.core.JsonParserpublic AvroSchema getSchema()+
getSchema in class com.fasterxml.jackson.core.JsonParserpublic void setSchema(com.fasterxml.jackson.core.FormatSchema schema)+
setSchema in class com.fasterxml.jackson.core.JsonParserprotected abstract void _initSchema(AvroSchema schema) + throws com.fasterxml.jackson.core.JsonProcessingException+
com.fasterxml.jackson.core.JsonProcessingExceptionpublic boolean canReadTypeId()+
canReadTypeId in class com.fasterxml.jackson.core.JsonParserpublic Object getTypeId() + throws IOException+
getTypeId in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic com.fasterxml.jackson.core.JsonLocation getTokenLocation()+
getTokenLocation in class com.fasterxml.jackson.core.base.ParserBasepublic com.fasterxml.jackson.core.JsonLocation getCurrentLocation()+
getCurrentLocation in class com.fasterxml.jackson.core.base.ParserBasepublic abstract com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic abstract boolean hasTextCharacters()+
hasTextCharacters in class com.fasterxml.jackson.core.base.ParserBasepublic abstract String getText() + throws IOException+
getText in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic abstract int getText(Writer writer) + throws IOException+
getText in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String getCurrentName() + throws IOException+
getCurrentName in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic void overrideCurrentName(String name)+
overrideCurrentName in class com.fasterxml.jackson.core.base.ParserBasepublic char[] getTextCharacters() + throws IOException+
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextLength() + throws IOException+
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextOffset() + throws IOException+
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic Object getEmbeddedObject() + throws IOException+
getEmbeddedObject in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant variant) + throws IOException+
getBinaryValue in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroSchema.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroSchema.html new file mode 100644 index 000000000..4527f6b4b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroSchema.html @@ -0,0 +1,525 @@ + + + + + + +public class AvroSchema +extends Object +implements com.fasterxml.jackson.core.FormatSchema+
| Modifier and Type | +Field and Description | +
|---|---|
protected AtomicReference<AvroStructureReader> |
+_reader
+Lazily instantiated value reader for this schema.
+ |
+
protected org.apache.avro.Schema |
+_writerSchema
+Schema that was used for writing the data to decode; for simple instance
+ used for reading as well (reader schema).
+ |
+
static String |
+TYPE_ID
+Format type id used by Jackson components to refer to Avro Format.
+ |
+
| Constructor and Description | +
|---|
AvroSchema(org.apache.avro.Schema asch) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroStructureReader |
+_constructReader() |
+
boolean |
+equals(Object o) |
+
org.apache.avro.Schema |
+getAvroSchema()
+Accessor for "writer schema" contained in this instance.
+ |
+
AvroStructureReader |
+getReader() |
+
String |
+getSchemaType() |
+
int |
+hashCode() |
+
String |
+toString() |
+
AvroSchema |
+withReaderSchema(AvroSchema readerSchema)
+Method that will consider this schema instance (used as so-called "Writer Schema"),
+ and specified "Reader Schema" instance, and will either construct a new schema
+ with appropriate translations, to use for reading (if reader and writer schemas are
+ not same); or, if schemas are the same, return `this`.
+ |
+
AvroSchema |
+withUnsafeReaderSchema(AvroSchema readerSchema)
+Similar to
+withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema) but will NOT verify compatibility of schemas:
+ this means that certain problems (such as missing default value for a newly added
+ field) that would be caught at construction may be surfaced later when using
+ schema. |
+
public static final String TYPE_ID+
protected final org.apache.avro.Schema _writerSchema+
protected final AtomicReference<AvroStructureReader> _reader+
public AvroSchema(org.apache.avro.Schema asch)+
public AvroSchema withReaderSchema(AvroSchema readerSchema) + throws com.fasterxml.jackson.core.JsonProcessingException+
+ Note that neither `this` instance nor `readerSchema` is ever modified: if an altered + version is needed, a new schema object will be constructed. +
+ NOTE: this is a relatively expensive operation due to validation (although significant
+ part of cost is deferred until the first call to getReader()) so it is recommended
+ that these instances are reused whenever possible.
readerSchema - "Reader Schema" to use (in Avro terms): schema that specified how
+ reader wants to see the data; specifies part of translation needed along with this
+ schema (which would be "Writer Schema" in Avro terms).com.fasterxml.jackson.core.JsonProcessingException - If given reader schema is incompatible with (writer-)
+ schema this instance was constructed with,public AvroSchema withUnsafeReaderSchema(AvroSchema readerSchema) + throws com.fasterxml.jackson.core.JsonProcessingException+
withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema) but will NOT verify compatibility of schemas:
+ this means that certain problems (such as missing default value for a newly added
+ field) that would be caught at construction may be surfaced later when using
+ schema. This is, however, sometimes necessary to work around potential BUT NOT ACTUAL
+ problems.com.fasterxml.jackson.core.JsonProcessingExceptionpublic String getSchemaType()+
getSchemaType in interface com.fasterxml.jackson.core.FormatSchemapublic org.apache.avro.Schema getAvroSchema()+
public AvroStructureReader getReader()+
protected AvroStructureReader _constructReader()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.html new file mode 100644 index 000000000..d05920646 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.html @@ -0,0 +1,299 @@ + + + + + + +public class AvroSerializerModifier
+extends com.fasterxml.jackson.databind.ser.BeanSerializerModifier
+| Constructor and Description | +
|---|
AvroSerializerModifier() |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> |
+changeProperties(com.fasterxml.jackson.databind.SerializationConfig config,
+ com.fasterxml.jackson.databind.BeanDescription beanDesc,
+ List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> beanProperties) |
+
modifyArraySerializer, modifyCollectionLikeSerializer, modifyCollectionSerializer, modifyEnumSerializer, modifyKeySerializer, modifyMapLikeSerializer, modifyMapSerializer, modifySerializer, orderProperties, updateBuilderpublic AvroSerializerModifier()+
public List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> changeProperties(com.fasterxml.jackson.databind.SerializationConfig config, + com.fasterxml.jackson.databind.BeanDescription beanDesc, + List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> beanProperties)+
changeProperties in class com.fasterxml.jackson.databind.ser.BeanSerializerModifierCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeDeserializer.html new file mode 100644 index 000000000..b7db22bef --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeDeserializer.html @@ -0,0 +1,478 @@ + + + + + + +public class AvroTypeDeserializer
+extends com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase
+_baseType, _defaultImpl, _defaultImplDeserializer, _deserializers, _idResolver, _property, _typeIdVisible, _typePropertyName| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroTypeDeserializer(com.fasterxml.jackson.databind.JavaType baseType,
+ com.fasterxml.jackson.databind.jsontype.TypeIdResolver idRes,
+ String typePropertyName,
+ boolean typeIdVisible,
+ com.fasterxml.jackson.databind.JavaType defaultImpl) |
+
protected |
+AvroTypeDeserializer(com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase src,
+ com.fasterxml.jackson.databind.BeanProperty property) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.fasterxml.jackson.databind.JavaType |
+_handleUnknownTypeId(com.fasterxml.jackson.databind.DeserializationContext ctxt,
+ String typeId) |
+
Object |
+deserializeTypedFromAny(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
Object |
+deserializeTypedFromArray(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
Object |
+deserializeTypedFromObject(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
Object |
+deserializeTypedFromScalar(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
com.fasterxml.jackson.databind.jsontype.TypeDeserializer |
+forProperty(com.fasterxml.jackson.databind.BeanProperty prop) |
+
com.fasterxml.jackson.annotation.JsonTypeInfo.As |
+getTypeInclusion() |
+
_deserializeWithNativeTypeId, _deserializeWithNativeTypeId, _findDefaultImplDeserializer, _findDeserializer, _handleMissingTypeId, baseType, baseTypeName, getDefaultImpl, getPropertyName, getTypeIdResolver, hasDefaultImpl, toStringdeserializeIfNatural, deserializeIfNaturalprotected AvroTypeDeserializer(com.fasterxml.jackson.databind.JavaType baseType, + com.fasterxml.jackson.databind.jsontype.TypeIdResolver idRes, + String typePropertyName, + boolean typeIdVisible, + com.fasterxml.jackson.databind.JavaType defaultImpl)+
protected AvroTypeDeserializer(com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase src, + com.fasterxml.jackson.databind.BeanProperty property)+
public com.fasterxml.jackson.databind.jsontype.TypeDeserializer forProperty(com.fasterxml.jackson.databind.BeanProperty prop)+
forProperty in class com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBasepublic com.fasterxml.jackson.annotation.JsonTypeInfo.As getTypeInclusion()+
getTypeInclusion in class com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBasepublic Object deserializeTypedFromObject(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserializeTypedFromObject in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptionpublic Object deserializeTypedFromArray(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserializeTypedFromArray in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptionpublic Object deserializeTypedFromScalar(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserializeTypedFromScalar in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptionpublic Object deserializeTypedFromAny(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserializeTypedFromAny in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptionprotected com.fasterxml.jackson.databind.JavaType _handleUnknownTypeId(com.fasterxml.jackson.databind.DeserializationContext ctxt, + String typeId) + throws IOException+
_handleUnknownTypeId in class com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBaseIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeIdResolver.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeIdResolver.html new file mode 100644 index 000000000..08a88da15 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeIdResolver.html @@ -0,0 +1,379 @@ + + + + + + +public class AvroTypeIdResolver
+extends com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
+TypeIdResolver for Avro type IDs embedded in schemas. Avro generally uses class names,
+ but we want to also support named subtypes so that developers can easily remap the embedded type IDs to a different runtime class._subTypeValidator_baseType, _typeFactory| Constructor and Description | +
|---|
AvroTypeIdResolver(com.fasterxml.jackson.databind.JavaType baseType,
+ com.fasterxml.jackson.databind.type.TypeFactory typeFactory,
+ com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator ptv) |
+
AvroTypeIdResolver(com.fasterxml.jackson.databind.JavaType baseType,
+ com.fasterxml.jackson.databind.type.TypeFactory typeFactory,
+ com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator ptv,
+ Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subTypes) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.fasterxml.jackson.databind.JavaType |
+_typeFromId(String id,
+ com.fasterxml.jackson.databind.DatabindContext ctxt) |
+
void |
+registerSubtype(Class<?> type,
+ String name) |
+
_idFrom, construct, getDescForKnownTypeIds, getMechanism, idFromValue, idFromValueAndType, typeFromIdidFromBaseType, initpublic AvroTypeIdResolver(com.fasterxml.jackson.databind.JavaType baseType, + com.fasterxml.jackson.databind.type.TypeFactory typeFactory, + com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator ptv, + Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subTypes)+
public AvroTypeIdResolver(com.fasterxml.jackson.databind.JavaType baseType, + com.fasterxml.jackson.databind.type.TypeFactory typeFactory, + com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator ptv)+
public void registerSubtype(Class<?> type, + String name)+
registerSubtype in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolverprotected com.fasterxml.jackson.databind.JavaType _typeFromId(String id, + com.fasterxml.jackson.databind.DatabindContext ctxt) + throws IOException+
_typeFromId in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolverIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeResolverBuilder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeResolverBuilder.html new file mode 100644 index 000000000..6cc1d4e97 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/AvroTypeResolverBuilder.html @@ -0,0 +1,368 @@ + + + + + + +public class AvroTypeResolverBuilder
+extends com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder
+_customIdResolver, _defaultImpl, _idType, _includeAs, _typeIdVisible, _typeProperty| Constructor and Description | +
|---|
AvroTypeResolverBuilder() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.databind.jsontype.TypeDeserializer |
+buildTypeDeserializer(com.fasterxml.jackson.databind.DeserializationConfig config,
+ com.fasterxml.jackson.databind.JavaType baseType,
+ Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes) |
+
com.fasterxml.jackson.databind.jsontype.TypeSerializer |
+buildTypeSerializer(com.fasterxml.jackson.databind.SerializationConfig config,
+ com.fasterxml.jackson.databind.JavaType baseType,
+ Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes) |
+
protected com.fasterxml.jackson.databind.jsontype.TypeIdResolver |
+idResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.JavaType baseType,
+ com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator subtypeValidator,
+ Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes,
+ boolean forSer,
+ boolean forDeser) |
+
allowPrimitiveTypes, defaultImpl, defineDefaultImpl, getDefaultImpl, getTypeProperty, inclusion, init, isTypeIdVisible, noTypeInfoBuilder, reportInvalidBaseType, subTypeValidator, typeIdVisibility, typeProperty, verifyBaseTypeValidity, withDefaultImplpublic AvroTypeResolverBuilder()+
public com.fasterxml.jackson.databind.jsontype.TypeSerializer buildTypeSerializer(com.fasterxml.jackson.databind.SerializationConfig config, + com.fasterxml.jackson.databind.JavaType baseType, + Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes)+
buildTypeSerializer in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder>buildTypeSerializer in class com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilderpublic com.fasterxml.jackson.databind.jsontype.TypeDeserializer buildTypeDeserializer(com.fasterxml.jackson.databind.DeserializationConfig config, + com.fasterxml.jackson.databind.JavaType baseType, + Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes)+
buildTypeDeserializer in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder>buildTypeDeserializer in class com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilderprotected com.fasterxml.jackson.databind.jsontype.TypeIdResolver idResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.JavaType baseType, + com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator subtypeValidator, + Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes, + boolean forSer, + boolean forDeser)+
idResolver in class com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/CustomEncodingWrapper.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/CustomEncodingWrapper.html new file mode 100644 index 000000000..14d831a1f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/CustomEncodingWrapper.html @@ -0,0 +1,314 @@ + + + + + + +public class CustomEncodingWrapper<T> +extends Object+
CustomEncoding accessible since they are otherwise package-private.| Constructor and Description | +
|---|
CustomEncodingWrapper(org.apache.avro.reflect.CustomEncoding<T> encoding) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+getSchema() |
+
T |
+read(Object reuse,
+ org.apache.avro.io.Decoder in) |
+
void |
+write(Object datum,
+ org.apache.avro.io.Encoder out) |
+
public CustomEncodingWrapper(org.apache.avro.reflect.CustomEncoding<T> encoding)+
public void write(Object datum, + org.apache.avro.io.Encoder out) + throws IOException+
IOExceptionpublic org.apache.avro.Schema getSchema()+
public T read(Object reuse, + org.apache.avro.io.Decoder in) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/PackageVersion.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/PackageVersion.html new file mode 100644 index 000000000..91ea3daeb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/PackageVersion.html @@ -0,0 +1,321 @@ + + + + + + +public final class PackageVersion +extends Object +implements com.fasterxml.jackson.core.Versioned+
| Modifier and Type | +Field and Description | +
|---|---|
static com.fasterxml.jackson.core.Version |
+VERSION |
+
| Constructor and Description | +
|---|
PackageVersion() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.Version |
+version() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheAvroFactory.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheAvroFactory.html new file mode 100644 index 000000000..0cdae7a1f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheAvroFactory.html @@ -0,0 +1,445 @@ + + + + + + +public class ApacheAvroFactory +extends AvroFactory+
AvroFactory implementation that uses
+ codecs from Apache Avro library instead of Jackson "native"
+ codecs.com.fasterxml.jackson.core.JsonFactory.Feature_avroGeneratorFeatures, _avroParserFeatures, _useApacheLibDecoder, FORMAT_NAME_AVRO_byteSymbolCanonicalizer, _characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON| Modifier | +Constructor and Description | +
|---|---|
|
+ApacheAvroFactory() |
+
protected |
+ApacheAvroFactory(AvroFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
|
+ApacheAvroFactory(com.fasterxml.jackson.core.ObjectCodec oc) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroParser |
+_createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected AvroParser |
+_createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
AvroFactory |
+copy() |
+
_createGenerator, _createGenerator, _createParser, _createParser, _createWriter, _nonByteSource, _nonByteTarget, builder, builderWithApacheDecoder, builderWithNativeDecoder, canHandleBinaryNatively, canUseSchema, configure, configure, createGenerator, createGenerator, createParser, createParser, createParser, createParser, createParser, disable, disable, enable, enable, getFormatGeneratorFeatures, getFormatName, getFormatParserFeatures, hasFormat, isEnabled, isEnabled, readResolve, rebuild, requiresPropertyOrdering, version_checkInvalidCopy, _createContentReference, _createContentReference, _createContext, _createContext, _createNonBlockingContext, _createParser, _createUTF8Generator, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, canParseAsync, canUseCharArrays, configure, configure, configure, createGenerator, createGenerator, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createNonBlockingByteArrayParser, createParser, createParser, createParser, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getFormatReadFeatureType, getFormatWriteFeatureType, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, requiresCustomCodec, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator_createDataOutputWrapper, _optimizedStreamFromURLpublic ApacheAvroFactory()+
public ApacheAvroFactory(com.fasterxml.jackson.core.ObjectCodec oc)+
protected ApacheAvroFactory(AvroFactory src, + com.fasterxml.jackson.core.ObjectCodec oc)+
public AvroFactory copy()+
copy in class AvroFactoryprotected AvroParser _createParser(InputStream in, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
AvroFactory_createParser in class AvroFactoryIOExceptionprotected AvroParser _createParser(byte[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class AvroFactoryIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheAvroParserImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheAvroParserImpl.html new file mode 100644 index 000000000..90e648b40 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheAvroParserImpl.html @@ -0,0 +1,1263 @@ + + + + + + +public class ApacheAvroParserImpl +extends AvroParserImpl+
AvroReadContext implementations.AvroParser.Featurecom.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_bufferRecyclable
+Flag that indicates whether the input buffer is recycable (and
+ needs to be returned to recycler once we are done) or not.
+ |
+
protected org.apache.avro.io.BinaryDecoder |
+_decoder
+Actual decoder in use, possible same as
+_rootDecoder, but
+ not necessarily, in case of different reader/writer schema in use. |
+
protected byte[] |
+_inputBuffer
+Current buffer from which data is read; generally data is read into
+ buffer from input source, but in some cases pre-loaded buffer
+ is handed to the parser.
+ |
+
protected InputStream |
+_inputStream |
+
protected String |
+_textValue
+We need to keep track of text values.
+ |
+
_branchIndex, _enumIndex, _numberFloat_avroContext, _formatFeatures, _objectCodec, _rootSchema_binaryValue, _byteArrayBuilder, _closed, _currInputProcessed, _currInputRow, _currInputRowStart, _expLength, _fractLength, _inputEnd, _inputPtr, _intLength, _ioContext, _nameCopied, _nameCopyBuffer, _nextToken, _numberBigDecimal, _numberBigInt, _numberDouble, _numberInt, _numberLong, _numberNegative, _numTypesValid, _parsingContext, _textBuffer, _tokenInputCol, _tokenInputRow, _tokenInputTotal, JSON_READ_CAPABILITIES_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
ApacheAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int avroFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ byte[] data,
+ int offset,
+ int len) |
+
ApacheAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int avroFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ InputStream in) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_closeInput() |
+
protected void |
+_releaseBuffers() |
+
boolean |
+checkInputEnd() |
+
long |
+decodeArrayNext() |
+
long |
+decodeArrayStart() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeBoolean() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeBytes() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeDouble() |
+
int |
+decodeEnum() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeFixed(int size) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeFloat() |
+
int |
+decodeIndex() |
+
int |
+decodeInt() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeIntToken() |
+
long |
+decodeLong() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeLongToken() |
+
String |
+decodeMapKey() |
+
long |
+decodeMapNext() |
+
long |
+decodeMapStart() |
+
void |
+decodeString() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeStringToken() |
+
Object |
+getInputSource() |
+
String |
+getText() |
+
int |
+getText(Writer writer) |
+
boolean |
+hasTextCharacters() |
+
String |
+nextTextValue() |
+
protected com.fasterxml.jackson.core.JsonToken |
+setString(String str) |
+
long |
+skipArray() |
+
void |
+skipBoolean() |
+
void |
+skipBytes() |
+
void |
+skipDouble() |
+
void |
+skipFixed(int size) |
+
void |
+skipFloat() |
+
void |
+skipInt() |
+
void |
+skipLong() |
+
long |
+skipMap() |
+
void |
+skipString() |
+
_checkNumericValue, _initSchema, branchIndex, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToFloat, convertNumberToInt, convertNumberToLong, enumIndex, getFloatValue, getNumberType, getNumberValue, getNumberValueExact, getRemainingElements, isNaN, isRecord, nextFieldName, nextFieldName, nextToken, overrideFormatFeatures, setAvroContext, setBytes, setNumber, setNumber, setNumber, setNumber, skipValue_finishString, canReadTypeId, canUseSchema, configure, disable, enable, getBinaryValue, getCodec, getCurrentLocation, getCurrentName, getEmbeddedObject, getReadCapabilities, getSchema, getTextCharacters, getTextLength, getTextOffset, getTokenLocation, getTypeId, isEnabled, overrideCurrentName, setCodec, setSchema, version_checkStdFeatureChanges, _contentReference, _decodeBase64Escape, _decodeBase64Escape, _decodeEscaped, _eofAsNextChar, _getByteArrayBuilder, _getSourceReference, _handleBase64MissingPadding, _handleEOF, _handleUnrecognizedCharacterEscape, _parseIntValue, _parseNumericValue, _reportMismatchedEndMarker, _reportTooLongIntegral, _throwUnquotedSpace, _validJsonTokenList, _validJsonValueList, disable, enable, getBigIntegerValue, getCurrentValue, getDecimalValue, getDoubleValue, getIntValue, getLongValue, getParsingContext, getTokenCharacterOffset, getTokenColumnNr, getTokenLineNr, growArrayBy, isClosed, loadMore, loadMoreGuaranteed, overrideStdFeatures, reportInvalidBase64Char, reportInvalidBase64Char, reset, resetAsNaN, resetFloat, resetInt, setCurrentValue, setFeatureMask_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, configure, currentLocation, currentName, currentTokenLocation, currentValue, finishToken, getBinaryValue, getBooleanValue, getByteValue, getFeatureMask, getFormatFeatures, getNonBlockingInputFeeder, getObjectId, getShortValue, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextIntValue, nextLongValue, readBinaryValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnErrorprotected InputStream _inputStream+
protected byte[] _inputBuffer+
protected boolean _bufferRecyclable+
+ If it is not, it also means that parser can NOT modify underlying + buffer.
protected org.apache.avro.io.BinaryDecoder _decoder+
_rootDecoder, but
+ not necessarily, in case of different reader/writer schema in use.protected String _textValue+
public ApacheAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int avroFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + InputStream in)+
public ApacheAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int avroFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + byte[] data, + int offset, + int len)+
protected void _releaseBuffers() + throws IOException+
_releaseBuffers in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic Object getInputSource()+
getInputSource in class AvroParserprotected void _closeInput() + throws IOException+
_closeInput in class AvroParserIOExceptionpublic boolean hasTextCharacters()+
hasTextCharacters in class AvroParserpublic String nextTextValue() + throws IOException+
nextTextValue in class AvroParserImplIOExceptionpublic String getText() + throws IOException+
getText in class AvroParserIOExceptionpublic int getText(Writer writer) + throws IOException+
getText in class AvroParserIOExceptionpublic boolean checkInputEnd() + throws IOException+
checkInputEnd in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeBoolean() + throws IOException+
decodeBoolean in class AvroParserImplIOExceptionpublic void skipBoolean() + throws IOException+
skipBoolean in class AvroParserImplIOExceptionpublic int decodeInt() + throws IOException+
decodeInt in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeIntToken() + throws IOException+
decodeIntToken in class AvroParserImplIOExceptionpublic void skipInt() + throws IOException+
skipInt in class AvroParserImplIOExceptionpublic long decodeLong() + throws IOException+
decodeLong in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeLongToken() + throws IOException+
decodeLongToken in class AvroParserImplIOExceptionpublic void skipLong() + throws IOException+
skipLong in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeFloat() + throws IOException+
decodeFloat in class AvroParserImplIOExceptionpublic void skipFloat() + throws IOException+
skipFloat in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeDouble() + throws IOException+
decodeDouble in class AvroParserImplIOExceptionpublic void skipDouble() + throws IOException+
skipDouble in class AvroParserImplIOExceptionpublic void decodeString() + throws IOException+
decodeString in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeStringToken() + throws IOException+
decodeStringToken in class AvroParserImplIOExceptionpublic void skipString() + throws IOException+
skipString in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeBytes() + throws IOException+
decodeBytes in class AvroParserImplIOExceptionpublic void skipBytes() + throws IOException+
skipBytes in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeFixed(int size) + throws IOException+
decodeFixed in class AvroParserImplIOExceptionpublic void skipFixed(int size) + throws IOException+
skipFixed in class AvroParserImplIOExceptionpublic long decodeArrayStart() + throws IOException+
decodeArrayStart in class AvroParserImplIOExceptionpublic long decodeArrayNext() + throws IOException+
decodeArrayNext in class AvroParserImplIOExceptionpublic long skipArray() + throws IOException+
skipArray in class AvroParserImplIOExceptionpublic String decodeMapKey() + throws IOException+
decodeMapKey in class AvroParserImplIOExceptionpublic long decodeMapStart() + throws IOException+
decodeMapStart in class AvroParserImplIOExceptionpublic long decodeMapNext() + throws IOException+
decodeMapNext in class AvroParserImplIOExceptionpublic long skipMap() + throws IOException+
skipMap in class AvroParserImplIOExceptionpublic int decodeIndex() + throws IOException+
decodeIndex in class AvroParserImplIOExceptionpublic int decodeEnum() + throws IOException+
decodeEnum in class AvroParserImplIOExceptionprotected com.fasterxml.jackson.core.JsonToken setString(String str)+
setString in class AvroParserImplCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheCodecRecycler.BadSchemaException.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheCodecRecycler.BadSchemaException.html new file mode 100644 index 000000000..4b6f64d3b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheCodecRecycler.BadSchemaException.html @@ -0,0 +1,307 @@ + + + + + + +public static class ApacheCodecRecycler.BadSchemaException
+extends com.fasterxml.jackson.core.JsonProcessingException
+_location| Constructor and Description | +
|---|
BadSchemaException(String msg,
+ Throwable src) |
+
clearLocation, getLocation, getMessage, getMessageSuffix, getOriginalMessage, getProcessor, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheCodecRecycler.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheCodecRecycler.html new file mode 100644 index 000000000..4a0294a1e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/ApacheCodecRecycler.html @@ -0,0 +1,386 @@ + + + + + + +public final class ApacheCodecRecycler +extends Object+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+ApacheCodecRecycler.BadSchemaException |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected static ThreadLocal<SoftReference<ApacheCodecRecycler>> |
+_recycler |
+
protected static org.apache.avro.io.DecoderFactory |
+DECODER_FACTORY |
+
protected static org.apache.avro.io.EncoderFactory |
+ENCODER_FACTORY |
+
| Modifier and Type | +Method and Description | +
|---|---|
static org.apache.avro.io.BinaryDecoder |
+decoder(byte[] buffer,
+ int offset,
+ int len) |
+
static org.apache.avro.io.BinaryDecoder |
+decoder(InputStream in,
+ boolean buffering) |
+
static org.apache.avro.io.BinaryEncoder |
+encoder(OutputStream out,
+ boolean buffering) |
+
static void |
+release(org.apache.avro.io.BinaryDecoder dec) |
+
static void |
+release(org.apache.avro.io.BinaryEncoder enc) |
+
protected static final org.apache.avro.io.DecoderFactory DECODER_FACTORY+
protected static final org.apache.avro.io.EncoderFactory ENCODER_FACTORY+
protected static final ThreadLocal<SoftReference<ApacheCodecRecycler>> _recycler+
public static org.apache.avro.io.BinaryDecoder decoder(InputStream in, + boolean buffering)+
public static org.apache.avro.io.BinaryDecoder decoder(byte[] buffer, + int offset, + int len)+
public static org.apache.avro.io.BinaryEncoder encoder(OutputStream out, + boolean buffering)+
public static void release(org.apache.avro.io.BinaryDecoder dec)+
public static void release(org.apache.avro.io.BinaryEncoder enc)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/CustomEncodingDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/CustomEncodingDeserializer.html new file mode 100644 index 000000000..f9ced5b17 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/CustomEncodingDeserializer.html @@ -0,0 +1,344 @@ + + + + + + +public class CustomEncodingDeserializer<T>
+extends com.fasterxml.jackson.databind.JsonDeserializer<T>
+CustomEncodingAvroAnnotationIntrospectorcom.fasterxml.jackson.databind.JsonDeserializer.None| Constructor and Description | +
|---|
CustomEncodingDeserializer(org.apache.avro.reflect.CustomEncoding<T> encoding) |
+
| Modifier and Type | +Method and Description | +
|---|---|
T |
+deserialize(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
T |
+deserialize(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt,
+ T intoValue) |
+
deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializerpublic CustomEncodingDeserializer(org.apache.avro.reflect.CustomEncoding<T> encoding)+
public T deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>IOExceptionpublic T deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt, + T intoValue) + throws IOException+
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/DecoderOverAvroParser.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/DecoderOverAvroParser.html new file mode 100644 index 000000000..9f493ef50 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/DecoderOverAvroParser.html @@ -0,0 +1,813 @@ + + + + + + +public class DecoderOverAvroParser
+extends org.apache.avro.io.Decoder
+Decoder| Modifier and Type | +Field and Description | +
|---|---|
protected AvroParserImpl |
+_parser |
+
| Constructor and Description | +
|---|
DecoderOverAvroParser(AvroParserImpl parser) |
+
| Modifier and Type | +Method and Description | +
|---|---|
long |
+arrayNext() |
+
protected com.fasterxml.jackson.core.JsonToken |
+consumeToken(com.fasterxml.jackson.core.JsonToken... expectedTokens)
+Reads in the next value token from the parser and validates that it's one of the expected tokens
+ |
+
long |
+mapNext() |
+
protected com.fasterxml.jackson.core.JsonToken |
+nextUnionValue()
+Advance to the next token that might contain union branching information; This effectively discards the virtual JSON tokens inserted
+ by the parser for
+END_OBJECT, START_ARRAY, etc. |
+
protected com.fasterxml.jackson.core.JsonToken |
+nextValue()
+Advance to the next actual value token; This effectively discards the virtual JSON tokens inserted by the parser for
+
+START_OBJECT, END_OBJECT, START_ARRAY, etc. |
+
long |
+readArrayStart() |
+
boolean |
+readBoolean() |
+
ByteBuffer |
+readBytes(ByteBuffer old) |
+
double |
+readDouble() |
+
int |
+readEnum() |
+
void |
+readFixed(byte[] bytes,
+ int start,
+ int length) |
+
float |
+readFloat() |
+
int |
+readIndex() |
+
int |
+readInt() |
+
long |
+readLong() |
+
long |
+readMapStart() |
+
void |
+readNull() |
+
String |
+readString() |
+
org.apache.avro.util.Utf8 |
+readString(org.apache.avro.util.Utf8 old) |
+
long |
+skipArray() |
+
void |
+skipBytes() |
+
void |
+skipFixed(int length) |
+
long |
+skipMap() |
+
void |
+skipString() |
+
readFixedprotected final AvroParserImpl _parser+
public DecoderOverAvroParser(AvroParserImpl parser)+
protected com.fasterxml.jackson.core.JsonToken consumeToken(com.fasterxml.jackson.core.JsonToken... expectedTokens) + throws IOException+
expectedTokens - List of token types that is expectedIOException - If there is an error while reading the next tokenIllegalArgumentException - If the next token is not one of the expectedTokensprotected com.fasterxml.jackson.core.JsonToken nextValue() + throws IOException+
START_OBJECT, END_OBJECT, START_ARRAY, etc. that are not actually present in the underlying
+ data stream and stops after reading the first token that represents actual dataIOException - If there is an error while reading the next tokenprotected com.fasterxml.jackson.core.JsonToken nextUnionValue() + throws IOException+
END_OBJECT, START_ARRAY, etc. that are not actually present in the underlying data
+ stream and stops after reading the first token that represents actual data. START_OBJECT is not skipped because union
+ information is only available at the start of an object, and has been discarded by the parser by the time we reach the next actual
+ value.IOException - If there is an error while reading the next tokenpublic void readNull() + throws IOException+
readNull in class org.apache.avro.io.DecoderIOExceptionpublic boolean readBoolean() + throws IOException+
readBoolean in class org.apache.avro.io.DecoderIOExceptionpublic int readInt() + throws IOException+
readInt in class org.apache.avro.io.DecoderIOExceptionpublic long readLong() + throws IOException+
readLong in class org.apache.avro.io.DecoderIOExceptionpublic float readFloat() + throws IOException+
readFloat in class org.apache.avro.io.DecoderIOExceptionpublic double readDouble() + throws IOException+
readDouble in class org.apache.avro.io.DecoderIOExceptionpublic org.apache.avro.util.Utf8 readString(org.apache.avro.util.Utf8 old) + throws IOException+
readString in class org.apache.avro.io.DecoderIOExceptionpublic String readString() + throws IOException+
readString in class org.apache.avro.io.DecoderIOExceptionpublic void skipString() + throws IOException+
skipString in class org.apache.avro.io.DecoderIOExceptionpublic ByteBuffer readBytes(ByteBuffer old) + throws IOException+
readBytes in class org.apache.avro.io.DecoderIOExceptionpublic void skipBytes() + throws IOException+
skipBytes in class org.apache.avro.io.DecoderIOExceptionpublic void readFixed(byte[] bytes, + int start, + int length) + throws IOException+
readFixed in class org.apache.avro.io.DecoderIOExceptionpublic void skipFixed(int length) + throws IOException+
skipFixed in class org.apache.avro.io.DecoderIOExceptionpublic int readEnum() + throws IOException+
readEnum in class org.apache.avro.io.DecoderIOExceptionpublic long readArrayStart() + throws IOException+
readArrayStart in class org.apache.avro.io.DecoderIOExceptionpublic long arrayNext() + throws IOException+
arrayNext in class org.apache.avro.io.DecoderIOExceptionpublic long skipArray() + throws IOException+
skipArray in class org.apache.avro.io.DecoderIOExceptionpublic long readMapStart() + throws IOException+
readMapStart in class org.apache.avro.io.DecoderIOExceptionpublic long mapNext() + throws IOException+
mapNext in class org.apache.avro.io.DecoderIOExceptionpublic long skipMap() + throws IOException+
skipMap in class org.apache.avro.io.DecoderIOExceptionpublic int readIndex() + throws IOException+
readIndex in class org.apache.avro.io.DecoderIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheAvroFactory.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheAvroFactory.html new file mode 100644 index 000000000..06d71ef5a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheAvroFactory.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheAvroParserImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheAvroParserImpl.html new file mode 100644 index 000000000..26d67c560 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheAvroParserImpl.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheCodecRecycler.BadSchemaException.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheCodecRecycler.BadSchemaException.html new file mode 100644 index 000000000..df6dfb5c4 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheCodecRecycler.BadSchemaException.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheCodecRecycler.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheCodecRecycler.html new file mode 100644 index 000000000..5d2c0d543 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/ApacheCodecRecycler.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected static ThreadLocal<SoftReference<ApacheCodecRecycler>> |
+ApacheCodecRecycler._recycler |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/CustomEncodingDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/CustomEncodingDeserializer.html new file mode 100644 index 000000000..babdec0d0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/CustomEncodingDeserializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/DecoderOverAvroParser.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/DecoderOverAvroParser.html new file mode 100644 index 000000000..94cb710a8 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/class-use/DecoderOverAvroParser.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-frame.html new file mode 100644 index 000000000..bcf966efc --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +See: Description
+| Class | +Description | +
|---|---|
| ApacheAvroFactory | +
+ Alternative
+AvroFactory implementation that uses
+ codecs from Apache Avro library instead of Jackson "native"
+ codecs. |
+
| ApacheAvroParserImpl | +
+ Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| ApacheCodecRecycler | +
+ Simple helper class that contains extracted functionality for
+ simple encoder/decoder recycling.
+ |
+
| CustomEncodingDeserializer<T> | +
+ Deserializes an object using a avro
+CustomEncoding |
+
| DecoderOverAvroParser | +
+ Wraps an AvroParser instance and allows it to be advanced by reading from it like an avro
+Decoder |
+
| Exception | +Description | +
|---|---|
| ApacheCodecRecycler.BadSchemaException | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-tree.html new file mode 100644 index 000000000..3c1de69a7 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-tree.html @@ -0,0 +1,204 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-use.html new file mode 100644 index 000000000..47f9fb368 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/apacheimpl/package-use.html @@ -0,0 +1,165 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| Class and Description | +
|---|
| ApacheCodecRecycler
+ Simple helper class that contains extracted functionality for
+ simple encoder/decoder recycling.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroAnnotationIntrospector.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroAnnotationIntrospector.html new file mode 100644 index 000000000..3f6420652 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroAnnotationIntrospector.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected static AvroAnnotationIntrospector |
+AvroModule.INTR |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFactory.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFactory.html new file mode 100644 index 000000000..7fcde587e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFactory.html @@ -0,0 +1,327 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroFactory |
+AvroMapper.Builder._streamFactory |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFactory |
+AvroFactoryBuilder.build() |
+
AvroFactory |
+AvroFactory.configure(AvroGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroFactory |
+AvroFactory.configure(AvroParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactory |
+AvroFactory.copy() |
+
AvroFactory |
+AvroFactory.disable(AvroGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroFactory |
+AvroFactory.disable(AvroParser.Feature f)
+Method for disabling specified parser features
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactory |
+AvroFactory.enable(AvroGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroFactory |
+AvroFactory.enable(AvroParser.Feature f)
+Method for enabling specified parser feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactory |
+AvroMapper.getFactory() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static AvroMapper.Builder |
+AvroMapper.builder(AvroFactory streamFactory) |
+
| Constructor and Description | +
|---|
AvroFactory(AvroFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
AvroFactoryBuilder(AvroFactory base) |
+
AvroMapper(AvroFactory f)
+Constructor that will construct mapper with given
+AvroFactory,
+ as well as register standard AvroModule (with default settings). |
+
AvroMapper(AvroFactory f,
+ com.fasterxml.jackson.databind.Module... modules)
+Constructor that will construct mapper with specified
+AvroFactory
+ as codec, and register given modules but nothing else (that is, will
+ only register AvroModule if it's included as argument. |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ApacheAvroFactory
+Alternative
+AvroFactory implementation that uses
+ codecs from Apache Avro library instead of Jackson "native"
+ codecs. |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFactory |
+ApacheAvroFactory.copy() |
+
| Constructor and Description | +
|---|
ApacheAvroFactory(AvroFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFactoryBuilder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFactoryBuilder.html new file mode 100644 index 000000000..d17171079 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFactoryBuilder.html @@ -0,0 +1,250 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static AvroFactoryBuilder |
+AvroFactory.builder()
+Main factory method to use for constructing a builder for creating
+
+AvroFactory instances with different configuration. |
+
static AvroFactoryBuilder |
+AvroFactory.builderWithApacheDecoder()
+Main factory method to use for constructing a builder for creating
+
+AvroFactory instances with different configuration,
+ initialized to use Apache Avro library codec for decoding content
+ (instead of Jackson native decoder). |
+
static AvroFactoryBuilder |
+AvroFactory.builderWithNativeDecoder()
+Main factory method to use for constructing a builder for creating
+
+AvroFactory instances with different configuration,
+ initialized to use Jackson antive codec for decoding content
+ (instead of Apache Avro library decoder). |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.configure(AvroParser.Feature f,
+ boolean state) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroGenerator.Feature f) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroParser.Feature f) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroGenerator.Feature f) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroParser.Feature f) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactory.rebuild() |
+
| Constructor and Description | +
|---|
AvroFactory(AvroFactoryBuilder b)
+Constructors used by
+AvroFactoryBuilder for instantiation. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFixedSize.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFixedSize.html new file mode 100644 index 000000000..e0eb94e94 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroFixedSize.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroGenerator.Feature.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroGenerator.Feature.html new file mode 100644 index 000000000..ce3e689eb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroGenerator.Feature.html @@ -0,0 +1,275 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static AvroGenerator.Feature |
+AvroGenerator.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AvroGenerator.Feature[] |
+AvroGenerator.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroMapper.Builder |
+AvroMapper.Builder.configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroFactory |
+AvroFactory.configure(AvroGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroGenerator |
+AvroGenerator.configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroMapper.Builder |
+AvroMapper.Builder.disable(AvroGenerator.Feature... features) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroGenerator.Feature f) |
+
AvroFactory |
+AvroFactory.disable(AvroGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroGenerator |
+AvroGenerator.disable(AvroGenerator.Feature f) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
AvroMapper.Builder |
+AvroMapper.Builder.enable(AvroGenerator.Feature... features) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroGenerator.Feature f) |
+
AvroFactory |
+AvroFactory.enable(AvroGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+AvroGenerator.Feature for list of features) |
+
AvroGenerator |
+AvroGenerator.enable(AvroGenerator.Feature f) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroGenerator.Feature first,
+ AvroGenerator.Feature... other) |
+
boolean |
+AvroFactory.isEnabled(AvroGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
boolean |
+AvroGenerator.isEnabled(AvroGenerator.Feature f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroGenerator.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroGenerator.html new file mode 100644 index 000000000..fdfae8b47 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroGenerator.html @@ -0,0 +1,283 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.ser | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroGenerator |
+AvroFactory._createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
AvroGenerator |
+AvroGenerator.configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroGenerator |
+AvroFactory.createGenerator(OutputStream out)
+Since Avro format always uses UTF-8 internally, no encoding need
+ to be passed to this method.
+ |
+
AvroGenerator |
+AvroFactory.createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc)
+
+ note: co-variant return type
+ |
+
AvroGenerator |
+AvroGenerator.disable(AvroGenerator.Feature f) |
+
AvroGenerator |
+AvroGenerator.enable(AvroGenerator.Feature f) |
+
AvroGenerator |
+AvroGenerator.setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)
+Not relevant, as binary formats typically have no indentation.
+ |
+
AvroGenerator |
+AvroGenerator.useDefaultPrettyPrinter()
+Not sure what to do here; could reset indentation to some value maybe?
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroGenerator |
+AvroWriteContext._generator |
+
| Modifier and Type | +Method and Description | +
|---|---|
static AvroWriteContext |
+AvroWriteContext.createRootContext(AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ org.apache.avro.io.BinaryEncoder encoder) |
+
| Constructor and Description | +
|---|
ArrayWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.generic.GenericArray<Object> array,
+ Object currValue) |
+
AvroWriteContext(int type,
+ AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ Object currValue) |
+
MapWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ Object currValue) |
+
NopWriteContext(int type,
+ AvroWriteContext parent,
+ AvroGenerator generator,
+ Object currValue) |
+
ObjectWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.generic.GenericRecord record,
+ Object currValue) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroMapper.Builder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroMapper.Builder.html new file mode 100644 index 000000000..c6b55e9d9 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroMapper.Builder.html @@ -0,0 +1,200 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static AvroMapper.Builder |
+AvroMapper.builder() |
+
static AvroMapper.Builder |
+AvroMapper.builder(AvroFactory streamFactory) |
+
AvroMapper.Builder |
+AvroMapper.Builder.configure(AvroGenerator.Feature f,
+ boolean state) |
+
AvroMapper.Builder |
+AvroMapper.Builder.configure(AvroParser.Feature f,
+ boolean state) |
+
AvroMapper.Builder |
+AvroMapper.Builder.disable(AvroGenerator.Feature... features) |
+
AvroMapper.Builder |
+AvroMapper.Builder.disable(AvroParser.Feature... features) |
+
AvroMapper.Builder |
+AvroMapper.Builder.enable(AvroGenerator.Feature... features) |
+
AvroMapper.Builder |
+AvroMapper.Builder.enable(AvroParser.Feature... features) |
+
static AvroMapper.Builder |
+AvroMapper.xmlBuilder() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroMapper.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroMapper.html new file mode 100644 index 000000000..019715397 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroMapper.html @@ -0,0 +1,177 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
AvroMapper |
+AvroMapper.copy() |
+
| Constructor and Description | +
|---|
Builder(AvroMapper m) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroModule.SchemaSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroModule.SchemaSerializer.html new file mode 100644 index 000000000..5e07d73f0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroModule.SchemaSerializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroModule.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroModule.html new file mode 100644 index 000000000..4cfef3d39 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroModule.html @@ -0,0 +1,168 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
AvroModule |
+AvroModule.withAnnotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector intr)
+Fluent method that configures this module instance
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroParser.Feature.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroParser.Feature.html new file mode 100644 index 000000000..be4a39786 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroParser.Feature.html @@ -0,0 +1,287 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static AvroParser.Feature |
+AvroParser.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AvroParser.Feature[] |
+AvroParser.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroMapper.Builder |
+AvroMapper.Builder.configure(AvroParser.Feature f,
+ boolean state) |
+
com.fasterxml.jackson.core.JsonParser |
+AvroParser.configure(AvroParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified Avro feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.configure(AvroParser.Feature f,
+ boolean state) |
+
AvroFactory |
+AvroFactory.configure(AvroParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroMapper.Builder |
+AvroMapper.Builder.disable(AvroParser.Feature... features) |
+
com.fasterxml.jackson.core.JsonParser |
+AvroParser.disable(AvroParser.Feature f)
+Method for disabling specified Avro feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroParser.Feature f) |
+
AvroFactory |
+AvroFactory.disable(AvroParser.Feature f)
+Method for disabling specified parser features
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.disable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
AvroMapper.Builder |
+AvroMapper.Builder.enable(AvroParser.Feature... features) |
+
com.fasterxml.jackson.core.JsonParser |
+AvroParser.enable(AvroParser.Feature f)
+Method for enabling specified Avro feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroParser.Feature f) |
+
AvroFactory |
+AvroFactory.enable(AvroParser.Feature f)
+Method for enabling specified parser feature
+ (check
+AvroParser.Feature for list of features) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
AvroFactoryBuilder |
+AvroFactoryBuilder.enable(AvroParser.Feature first,
+ AvroParser.Feature... other) |
+
boolean |
+AvroParser.isEnabled(AvroParser.Feature f)
+Method for checking whether specified Avro
+AvroParser.Feature
+ is enabled. |
+
boolean |
+AvroFactory.isEnabled(AvroParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroParser.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroParser.html new file mode 100644 index 000000000..14c79b62f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroParser.html @@ -0,0 +1,280 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroParser |
+AvroFactory._createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected AvroParser |
+AvroFactory._createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
AvroParser |
+AvroFactory.createParser(byte[] data) |
+
AvroParser |
+AvroFactory.createParser(byte[] data,
+ int offset,
+ int len) |
+
AvroParser |
+AvroFactory.createParser(File f) |
+
AvroParser |
+AvroFactory.createParser(InputStream in) |
+
AvroParser |
+AvroFactory.createParser(URL url) |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ApacheAvroParserImpl
+Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroParser |
+ApacheAvroFactory._createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected AvroParser |
+ApacheAvroFactory._createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+AvroParserImpl
+Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
class |
+JacksonAvroParserImpl
+Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroSchema.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroSchema.html new file mode 100644 index 000000000..bd0f4fd4b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroSchema.html @@ -0,0 +1,336 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroSchema |
+AvroParser._rootSchema |
+
protected AvroSchema |
+AvroGenerator._rootSchema |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroSchema |
+AvroParser.getSchema() |
+
AvroSchema |
+AvroGenerator.getSchema() |
+
AvroSchema |
+AvroMapper.schemaFor(Class<?> type)
+Factory method for constructing
+AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties. |
+
AvroSchema |
+AvroMapper.schemaFor(com.fasterxml.jackson.databind.JavaType type)
+Factory method for constructing
+AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties. |
+
AvroSchema |
+AvroMapper.schemaFrom(File schemaFile)
+Convenience method for reading
+AvroSchema from given
+ encoded JSON representation. |
+
AvroSchema |
+AvroMapper.schemaFrom(InputStream in)
+Method for reading an Avro Schema from given
+InputStream,
+ and once done (successfully or not), closing the stream. |
+
AvroSchema |
+AvroMapper.schemaFrom(String schemaAsString)
+Convenience method for reading
+AvroSchema from given
+ encoded JSON representation. |
+
AvroSchema |
+AvroSchema.withReaderSchema(AvroSchema readerSchema)
+Method that will consider this schema instance (used as so-called "Writer Schema"),
+ and specified "Reader Schema" instance, and will either construct a new schema
+ with appropriate translations, to use for reading (if reader and writer schemas are
+ not same); or, if schemas are the same, return `this`.
+ |
+
AvroSchema |
+AvroSchema.withUnsafeReaderSchema(AvroSchema readerSchema)
+Similar to
+withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema) but will NOT verify compatibility of schemas:
+ this means that certain problems (such as missing default value for a newly added
+ field) that would be caught at construction may be surfaced later when using
+ schema. |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected abstract void |
+AvroParser._initSchema(AvroSchema schema) |
+
void |
+AvroGenerator.setSchema(AvroSchema schema) |
+
AvroSchema |
+AvroSchema.withReaderSchema(AvroSchema readerSchema)
+Method that will consider this schema instance (used as so-called "Writer Schema"),
+ and specified "Reader Schema" instance, and will either construct a new schema
+ with appropriate translations, to use for reading (if reader and writer schemas are
+ not same); or, if schemas are the same, return `this`.
+ |
+
AvroSchema |
+AvroSchema.withUnsafeReaderSchema(AvroSchema readerSchema)
+Similar to
+withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema) but will NOT verify compatibility of schemas:
+ this means that certain problems (such as missing default value for a newly added
+ field) that would be caught at construction may be surfaced later when using
+ schema. |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+AvroParserImpl._initSchema(AvroSchema schema) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroSchema |
+AvroSchemaGenerator.getGeneratedSchema() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+VisitorFormatWrapperImpl.expectAvroFormat(AvroSchema schema) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroSerializerModifier.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroSerializerModifier.html new file mode 100644 index 000000000..1531f83cb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroSerializerModifier.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeDeserializer.html new file mode 100644 index 000000000..55241b4c7 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeDeserializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeIdResolver.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeIdResolver.html new file mode 100644 index 000000000..43b3d0e5c --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeIdResolver.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeResolverBuilder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeResolverBuilder.html new file mode 100644 index 000000000..67ac78ffc --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/AvroTypeResolverBuilder.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/CustomEncodingWrapper.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/CustomEncodingWrapper.html new file mode 100644 index 000000000..d7261e8cd --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/CustomEncodingWrapper.html @@ -0,0 +1,165 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.ser | ++ |
| Constructor and Description | +
|---|
CustomEncodingDatum(CustomEncodingWrapper<T> encoding,
+ T datum) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/PackageVersion.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/PackageVersion.html new file mode 100644 index 000000000..a1d1bbf6b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/class-use/PackageVersion.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ArrayReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ArrayReader.html new file mode 100644 index 000000000..e596c808b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ArrayReader.html @@ -0,0 +1,607 @@ + + + + + + +public abstract class ArrayReader +extends AvroStructureReader+
| Modifier and Type | +Field and Description | +
|---|---|
protected long |
+_count |
+
protected String |
+_currentName |
+
protected String |
+_elementTypeId |
+
protected AvroParserImpl |
+_parser |
+
protected int |
+_state |
+
protected static int |
+STATE_DONE |
+
protected static int |
+STATE_ELEMENTS |
+
protected static int |
+STATE_END |
+
protected static int |
+STATE_START |
+
_currToken_currentValue, _parent, _typeId_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+ArrayReader(AvroReadContext parent,
+ AvroParserImpl parser,
+ String typeId,
+ String elementTypeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+appendDesc(StringBuilder sb) |
+
static ArrayReader |
+construct(AvroStructureReader reader,
+ String typeId,
+ String elementTypeId) |
+
static ArrayReader |
+construct(ScalarDecoder reader,
+ String typeId,
+ String elementTypeId) |
+
String |
+getCurrentName() |
+
long |
+getRemainingElements() |
+
String |
+getTypeId() |
+
String |
+nextFieldName() |
+
_throwUnsupported, consumesNoContent, getCurrentToken, newReader, nextToken, skipValue, throwIllegalState_reportError, getCurrentValue, getParent, setCurrentValue, toStringgetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected static final int STATE_START+
protected static final int STATE_ELEMENTS+
protected static final int STATE_END+
protected static final int STATE_DONE+
protected final AvroParserImpl _parser+
protected final String _elementTypeId+
protected int _state+
protected long _count+
protected String _currentName+
protected ArrayReader(AvroReadContext parent, + AvroParserImpl parser, + String typeId, + String elementTypeId)+
public static ArrayReader construct(ScalarDecoder reader, + String typeId, + String elementTypeId)+
public static ArrayReader construct(AvroStructureReader reader, + String typeId, + String elementTypeId)+
public String nextFieldName() + throws IOException+
nextFieldName in class AvroReadContextIOExceptionpublic String getCurrentName()+
getCurrentName in class AvroReadContextprotected void appendDesc(StringBuilder sb)+
appendDesc in class AvroReadContextpublic long getRemainingElements()+
getRemainingElements in class AvroReadContextpublic String getTypeId()+
getTypeId in class AvroReadContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroFieldDefaulters.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroFieldDefaulters.html new file mode 100644 index 000000000..02ca6fac6 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroFieldDefaulters.html @@ -0,0 +1,276 @@ + + + + + + +public class AvroFieldDefaulters +extends Object+
| Constructor and Description | +
|---|
AvroFieldDefaulters() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static AvroFieldReader |
+createDefaulter(String name,
+ com.fasterxml.jackson.databind.JsonNode defaultAsNode) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroFieldReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroFieldReader.html new file mode 100644 index 000000000..1a255bb1d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroFieldReader.html @@ -0,0 +1,441 @@ + + + + + + +public abstract class AvroFieldReader +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_isSkipper |
+
protected String |
+_name |
+
protected String |
+_typeId |
+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroFieldReader(String name,
+ boolean isSkipper,
+ String typeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static AvroFieldReader |
+construct(String name,
+ AvroStructureReader structureReader) |
+
static AvroFieldReader |
+constructSkipper(String name,
+ AvroStructureReader structureReader) |
+
String |
+getName() |
+
String |
+getTypeId() |
+
boolean |
+isSkipper() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract void |
+skipValue(AvroParserImpl parser) |
+
protected final String _name+
protected final boolean _isSkipper+
protected final String _typeId+
public static AvroFieldReader construct(String name, + AvroStructureReader structureReader)+
public static AvroFieldReader constructSkipper(String name, + AvroStructureReader structureReader)+
public final String getName()+
public final boolean isSkipper()+
public abstract com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser) + throws IOException+
IOExceptionpublic abstract void skipValue(AvroParserImpl parser) + throws IOException+
IOExceptionpublic String getTypeId()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl.html new file mode 100644 index 000000000..91976d9b7 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl.html @@ -0,0 +1,1539 @@ + + + + + + +public abstract class AvroParserImpl +extends AvroParser+
AvroReadContext implementations.AvroParser.Featurecom.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_branchIndex
+Index of the union branch that was followed to reach the current token.
+ |
+
protected int |
+_enumIndex
+Index of the enum that was read as the current token.
+ |
+
protected float |
+_numberFloat
+Value if decoded directly as `float`.
+ |
+
_avroContext, _formatFeatures, _objectCodec, _rootSchema_binaryValue, _byteArrayBuilder, _closed, _currInputProcessed, _currInputRow, _currInputRowStart, _expLength, _fractLength, _inputEnd, _inputPtr, _intLength, _ioContext, _nameCopied, _nameCopyBuffer, _nextToken, _numberBigDecimal, _numberBigInt, _numberDouble, _numberInt, _numberLong, _numberNegative, _numTypesValid, _parsingContext, _textBuffer, _tokenInputCol, _tokenInputRow, _tokenInputTotal, JSON_READ_CAPABILITIES_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int avroFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_checkNumericValue(int expType) |
+
void |
+_initSchema(AvroSchema schema) |
+
int |
+branchIndex() |
+
abstract boolean |
+checkInputEnd() |
+
void |
+close() |
+
protected void |
+convertNumberToBigDecimal() |
+
protected void |
+convertNumberToBigInteger() |
+
protected void |
+convertNumberToDouble() |
+
protected void |
+convertNumberToFloat() |
+
protected void |
+convertNumberToInt() |
+
protected void |
+convertNumberToLong() |
+
abstract long |
+decodeArrayNext() |
+
abstract long |
+decodeArrayStart() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeBoolean() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeBytes() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeDouble() |
+
abstract int |
+decodeEnum() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeFixed(int size) |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeFloat() |
+
abstract int |
+decodeIndex() |
+
abstract int |
+decodeInt() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeIntToken() |
+
abstract long |
+decodeLong() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeLongToken() |
+
abstract String |
+decodeMapKey() |
+
abstract long |
+decodeMapNext() |
+
abstract long |
+decodeMapStart() |
+
abstract void |
+decodeString() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+decodeStringToken() |
+
int |
+enumIndex() |
+
float |
+getFloatValue() |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+getNumberType() |
+
Number |
+getNumberValue() |
+
Number |
+getNumberValueExact() |
+
long |
+getRemainingElements()
+Returns the remaining number of elements in the current block of a map or array
+ |
+
boolean |
+isNaN() |
+
boolean |
+isRecord() |
+
String |
+nextFieldName() |
+
boolean |
+nextFieldName(com.fasterxml.jackson.core.SerializableString sstr) |
+
abstract String |
+nextTextValue() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
com.fasterxml.jackson.core.JsonParser |
+overrideFormatFeatures(int values,
+ int mask) |
+
void |
+setAvroContext(AvroReadContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonToken |
+setBytes(byte[] b) |
+
protected com.fasterxml.jackson.core.JsonToken |
+setNumber(double v) |
+
protected com.fasterxml.jackson.core.JsonToken |
+setNumber(float v) |
+
protected com.fasterxml.jackson.core.JsonToken |
+setNumber(int v) |
+
protected com.fasterxml.jackson.core.JsonToken |
+setNumber(long v) |
+
protected abstract com.fasterxml.jackson.core.JsonToken |
+setString(String str) |
+
abstract long |
+skipArray() |
+
abstract void |
+skipBoolean() |
+
abstract void |
+skipBytes() |
+
abstract void |
+skipDouble() |
+
abstract void |
+skipFixed(int size) |
+
abstract void |
+skipFloat() |
+
abstract void |
+skipInt() |
+
abstract void |
+skipLong() |
+
abstract long |
+skipMap() |
+
abstract void |
+skipString() |
+
void |
+skipValue()
+Skip to the end of the current structure (array/map/object); This is different
+ from
+skipMap() and skipArray() because it operates at the parser
+ level instead of at the decoder level and advances the parsing context in addition
+ to consuming the data from the input. |
+
_closeInput, _finishString, canReadTypeId, canUseSchema, configure, disable, enable, getBinaryValue, getCodec, getCurrentLocation, getCurrentName, getEmbeddedObject, getInputSource, getReadCapabilities, getSchema, getText, getText, getTextCharacters, getTextLength, getTextOffset, getTokenLocation, getTypeId, hasTextCharacters, isEnabled, overrideCurrentName, setCodec, setSchema, version_checkStdFeatureChanges, _contentReference, _decodeBase64Escape, _decodeBase64Escape, _decodeEscaped, _eofAsNextChar, _getByteArrayBuilder, _getSourceReference, _handleBase64MissingPadding, _handleEOF, _handleUnrecognizedCharacterEscape, _parseIntValue, _parseNumericValue, _releaseBuffers, _reportMismatchedEndMarker, _reportTooLongIntegral, _throwUnquotedSpace, _validJsonTokenList, _validJsonValueList, disable, enable, getBigIntegerValue, getCurrentValue, getDecimalValue, getDoubleValue, getIntValue, getLongValue, getParsingContext, getTokenCharacterOffset, getTokenColumnNr, getTokenLineNr, growArrayBy, isClosed, loadMore, loadMoreGuaranteed, overrideStdFeatures, reportInvalidBase64Char, reportInvalidBase64Char, reset, resetAsNaN, resetFloat, resetInt, setCurrentValue, setFeatureMask_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, configure, currentLocation, currentName, currentTokenLocation, currentValue, finishToken, getBinaryValue, getBooleanValue, getByteValue, getFeatureMask, getFormatFeatures, getNonBlockingInputFeeder, getObjectId, getShortValue, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextIntValue, nextLongValue, readBinaryValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnErrorprotected int _branchIndex+
protected int _enumIndex+
protected float _numberFloat+
+ NOTE: base class (`ParserBase`) has other value storage, but since JSON + has no distinction between double, float, only includes `float`.
protected AvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int avroFeatures, + com.fasterxml.jackson.core.ObjectCodec codec)+
public final com.fasterxml.jackson.core.JsonParser overrideFormatFeatures(int values, + int mask)+
overrideFormatFeatures in class AvroParserpublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class AvroParserIOExceptionpublic String nextFieldName() + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic boolean nextFieldName(com.fasterxml.jackson.core.SerializableString sstr) + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic abstract String nextTextValue() + throws IOException+
nextTextValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final void _initSchema(AvroSchema schema) + throws com.fasterxml.jackson.core.JsonProcessingException+
_initSchema in class AvroParsercom.fasterxml.jackson.core.JsonProcessingExceptionpublic final void skipValue() + throws IOException+
skipMap() and skipArray() because it operates at the parser
+ level instead of at the decoder level and advances the parsing context in addition
+ to consuming the data from the input.IOException - If there was an issue advancing through the underlying data streampublic final boolean isNaN()+
isNaN in class com.fasterxml.jackson.core.base.ParserBasepublic final Number getNumberValue() + throws IOException+
getNumberValue in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic final Number getNumberValueExact() + throws IOException+
getNumberValueExact in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic final com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() + throws IOException+
getNumberType in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic final float getFloatValue() + throws IOException+
getFloatValue in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionprotected final void _checkNumericValue(int expType) + throws IOException+
IOExceptionprotected final void convertNumberToInt() + throws IOException+
convertNumberToInt in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionprotected final void convertNumberToLong() + throws IOException+
convertNumberToLong in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionprotected final void convertNumberToBigInteger() + throws IOException+
convertNumberToBigInteger in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionprotected final void convertNumberToFloat() + throws IOException+
IOExceptionprotected final void convertNumberToDouble() + throws IOException+
convertNumberToDouble in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionprotected final void convertNumberToBigDecimal() + throws IOException+
convertNumberToBigDecimal in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic abstract boolean checkInputEnd() + throws IOException+
IOExceptionpublic long getRemainingElements()+
public abstract com.fasterxml.jackson.core.JsonToken decodeIntToken() + throws IOException+
IOExceptionpublic abstract int decodeInt() + throws IOException+
IOExceptionpublic abstract void skipInt() + throws IOException+
IOExceptionpublic abstract com.fasterxml.jackson.core.JsonToken decodeLongToken() + throws IOException+
IOExceptionpublic abstract long decodeLong() + throws IOException+
IOExceptionpublic abstract void skipLong() + throws IOException+
IOExceptionpublic abstract com.fasterxml.jackson.core.JsonToken decodeFloat() + throws IOException+
IOExceptionpublic abstract void skipFloat() + throws IOException+
IOExceptionpublic abstract com.fasterxml.jackson.core.JsonToken decodeDouble() + throws IOException+
IOExceptionpublic abstract void skipDouble() + throws IOException+
IOExceptionpublic abstract com.fasterxml.jackson.core.JsonToken decodeStringToken() + throws IOException+
IOExceptionpublic abstract void decodeString() + throws IOException+
IOExceptionpublic abstract void skipString() + throws IOException+
IOExceptionpublic abstract com.fasterxml.jackson.core.JsonToken decodeBytes() + throws IOException+
IOExceptionpublic abstract void skipBytes() + throws IOException+
IOExceptionpublic abstract com.fasterxml.jackson.core.JsonToken decodeFixed(int size) + throws IOException+
IOExceptionpublic abstract void skipFixed(int size) + throws IOException+
IOExceptionpublic abstract long decodeArrayStart() + throws IOException+
IOExceptionpublic abstract long decodeArrayNext() + throws IOException+
IOExceptionpublic abstract long skipArray() + throws IOException+
IOExceptionpublic abstract String decodeMapKey() + throws IOException+
IOExceptionpublic abstract long decodeMapStart() + throws IOException+
IOExceptionpublic abstract long decodeMapNext() + throws IOException+
IOExceptionpublic abstract long skipMap() + throws IOException+
IOExceptionpublic abstract com.fasterxml.jackson.core.JsonToken decodeBoolean() + throws IOException+
IOExceptionpublic abstract void skipBoolean() + throws IOException+
IOExceptionpublic abstract int decodeIndex() + throws IOException+
IOExceptionpublic abstract int decodeEnum() + throws IOException+
IOExceptionpublic final int branchIndex()+
public final int enumIndex()+
public final boolean isRecord()+
public final void setAvroContext(AvroReadContext ctxt)+
protected final com.fasterxml.jackson.core.JsonToken setBytes(byte[] b)+
protected final com.fasterxml.jackson.core.JsonToken setNumber(int v)+
protected final com.fasterxml.jackson.core.JsonToken setNumber(long v)+
protected final com.fasterxml.jackson.core.JsonToken setNumber(float v)+
protected final com.fasterxml.jackson.core.JsonToken setNumber(double v)+
protected abstract com.fasterxml.jackson.core.JsonToken setString(String str)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroReadContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroReadContext.html new file mode 100644 index 000000000..fcdd735aa --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroReadContext.html @@ -0,0 +1,567 @@ + + + + + + +public abstract class AvroReadContext
+extends com.fasterxml.jackson.core.JsonStreamContext
+| Modifier and Type | +Field and Description | +
|---|---|
protected Object |
+_currentValue |
+
protected AvroReadContext |
+_parent |
+
protected String |
+_typeId |
+
_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
AvroReadContext(AvroReadContext parent,
+ String typeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_reportError() |
+
protected abstract void |
+appendDesc(StringBuilder sb) |
+
String |
+getCurrentName() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+getCurrentToken() |
+
Object |
+getCurrentValue() |
+
AvroReadContext |
+getParent() |
+
long |
+getRemainingElements() |
+
String |
+getTypeId() |
+
abstract String |
+nextFieldName() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+setCurrentValue(Object v) |
+
abstract void |
+skipValue(AvroParserImpl parser) |
+
String |
+toString()
+Overridden to provide developer writeable "JsonPath" representation
+ of the context.
+ |
+
getCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final AvroReadContext _parent+
protected final String _typeId+
protected Object _currentValue+
public AvroReadContext(AvroReadContext parent, + String typeId)+
public abstract com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
IOExceptionpublic abstract String nextFieldName() + throws IOException+
IOExceptionpublic abstract void skipValue(AvroParserImpl parser) + throws IOException+
IOExceptionpublic long getRemainingElements()+
public Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic String getCurrentName()+
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic abstract com.fasterxml.jackson.core.JsonToken getCurrentToken()+
public final AvroReadContext getParent()+
getParent in class com.fasterxml.jackson.core.JsonStreamContextprotected abstract void appendDesc(StringBuilder sb)+
public String getTypeId()+
protected void _reportError()+
public final String toString()+
toString in class com.fasterxml.jackson.core.JsonStreamContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroReaderFactory.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroReaderFactory.html new file mode 100644 index 000000000..72dd728b1 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroReaderFactory.html @@ -0,0 +1,533 @@ + + + + + + +public abstract class AvroReaderFactory +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected TreeMap<String,AvroStructureReader> |
+_knownReaders
+To resolve cyclic types, need to keep track of resolved named
+ types.
+ |
+
protected static ScalarDecoder |
+READER_BOOLEAN |
+
protected static ScalarDecoder |
+READER_BYTES |
+
protected static ScalarDecoder |
+READER_DOUBLE |
+
protected static ScalarDecoder |
+READER_FLOAT |
+
protected static ScalarDecoder |
+READER_INT |
+
protected static ScalarDecoder |
+READER_LONG |
+
protected static ScalarDecoder |
+READER_NULL |
+
protected static ScalarDecoder |
+READER_STRING |
+
| Constructor and Description | +
|---|
AvroReaderFactory() |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroStructureReader |
+createArrayReader(org.apache.avro.Schema schema) |
+
protected AvroFieldReader |
+createFieldReader(org.apache.avro.Schema.Field field) |
+
static AvroStructureReader |
+createFor(org.apache.avro.Schema schema) |
+
static AvroStructureReader |
+createFor(org.apache.avro.Schema writerSchema,
+ org.apache.avro.Schema readerSchema) |
+
protected AvroStructureReader |
+createMapReader(org.apache.avro.Schema schema) |
+
AvroStructureReader |
+createReader(org.apache.avro.Schema schema)
+Method for creating a reader instance for specified type,
+ only using specific schema that was used to encoded data
+ ("writer schema").
+ |
+
protected AvroStructureReader |
+createRecordReader(org.apache.avro.Schema schema) |
+
ScalarDecoder |
+createScalarValueDecoder(org.apache.avro.Schema type) |
+
protected AvroStructureReader |
+createUnionReader(org.apache.avro.Schema schema) |
+
protected static final ScalarDecoder READER_BOOLEAN+
protected static final ScalarDecoder READER_BYTES+
protected static final ScalarDecoder READER_DOUBLE+
protected static final ScalarDecoder READER_FLOAT+
protected static final ScalarDecoder READER_INT+
protected static final ScalarDecoder READER_LONG+
protected static final ScalarDecoder READER_NULL+
protected static final ScalarDecoder READER_STRING+
protected final TreeMap<String,AvroStructureReader> _knownReaders+
public static AvroStructureReader createFor(org.apache.avro.Schema schema)+
public static AvroStructureReader createFor(org.apache.avro.Schema writerSchema, + org.apache.avro.Schema readerSchema)+
public ScalarDecoder createScalarValueDecoder(org.apache.avro.Schema type)+
public AvroStructureReader createReader(org.apache.avro.Schema schema)+
protected AvroStructureReader createArrayReader(org.apache.avro.Schema schema)+
protected AvroStructureReader createMapReader(org.apache.avro.Schema schema)+
protected AvroStructureReader createRecordReader(org.apache.avro.Schema schema)+
protected AvroStructureReader createUnionReader(org.apache.avro.Schema schema)+
protected AvroFieldReader createFieldReader(org.apache.avro.Schema.Field field)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader.html new file mode 100644 index 000000000..4bb358490 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader.html @@ -0,0 +1,482 @@ + + + + + + +public abstract class AvroStructureReader +extends AvroReadContext+
| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.core.JsonToken |
+_currToken |
+
_currentValue, _parent, _typeId_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroStructureReader(AvroReadContext parent,
+ int type,
+ String typeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected <T> T |
+_throwUnsupported() |
+
boolean |
+consumesNoContent()
+Method that may be called to check if the values "read" by this reader
+ are zero-length, that is, consume no content: most common example being
+ Record with no fields.
+ |
+
com.fasterxml.jackson.core.JsonToken |
+getCurrentToken() |
+
abstract AvroStructureReader |
+newReader(AvroReadContext parent,
+ AvroParserImpl parser)
+Method for creating actual instance to use for reading (initial
+ instance constructed is so-called blue print).
+ |
+
abstract com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
abstract void |
+skipValue(AvroParserImpl parser)
+Alternative to
+nextToken() which will simply skip the full
+ value. |
+
protected void |
+throwIllegalState(int state) |
+
_reportError, appendDesc, getCurrentName, getCurrentValue, getParent, getRemainingElements, getTypeId, nextFieldName, setCurrentValue, toStringgetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected com.fasterxml.jackson.core.JsonToken _currToken+
protected AvroStructureReader(AvroReadContext parent, + int type, + String typeId)+
public boolean consumesNoContent()+
+ Note: Arrays can not return true as they need to encode length
+ even for "empty" arrays.
public abstract AvroStructureReader newReader(AvroReadContext parent, + AvroParserImpl parser)+
public abstract com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class AvroReadContextIOExceptionpublic abstract void skipValue(AvroParserImpl parser) + throws IOException+
nextToken() which will simply skip the full
+ value.skipValue in class AvroReadContextIOExceptionpublic final com.fasterxml.jackson.core.JsonToken getCurrentToken()+
getCurrentToken in class AvroReadContextprotected void throwIllegalState(int state)+
protected <T> T _throwUnsupported()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroUntypedDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroUntypedDeserializer.html new file mode 100644 index 000000000..48af129aa --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/AvroUntypedDeserializer.html @@ -0,0 +1,489 @@ + + + + + + +public class AvroUntypedDeserializer
+extends com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer
+implements com.fasterxml.jackson.databind.deser.ResolvableDeserializer
+UntypedObjectDeserializer doesn't look
+ for native type information when handling scalar values, but Avro sometimes includes type information in the schema for scalar values;
+ This subclass checks for the presence of valid type information and calls out to the type deserializer even for scalar values. The
+ same goes for map keys.com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer.Vanillacom.fasterxml.jackson.databind.JsonDeserializer.None| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.jsontype.TypeDeserializer |
+_typeDeserializer |
+
protected com.fasterxml.jackson.databind.JavaType |
+_typeObject |
+
_listDeserializer, _listType, _mapDeserializer, _mapType, _nonMerging, _numberDeserializer, _stringDeserializer, NO_OBJECTS_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Constructor and Description | +
|---|
AvroUntypedDeserializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
Object |
+deserialize(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
Object |
+deserializeWithType(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt,
+ com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) |
+
protected Object |
+mapObject(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt)
+Method called to map a JSON Object into a Java value.
+ |
+
void |
+resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
_clearIfStdImpl, _findCustomDeser, _mapObjectWithDups, createContextual, deserialize, isCachable, logicalType, mapArray, mapArray, mapArrayToArray, mapObject, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, replaceDelegatee, unwrappingDeserializerprotected com.fasterxml.jackson.databind.JavaType _typeObject+
protected com.fasterxml.jackson.databind.jsontype.TypeDeserializer _typeDeserializer+
public AvroUntypedDeserializer()+
public void resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws com.fasterxml.jackson.databind.JsonMappingException+
resolve in interface com.fasterxml.jackson.databind.deser.ResolvableDeserializerresolve in class com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializercom.fasterxml.jackson.databind.JsonMappingExceptionpublic Object deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserialize in class com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializerIOExceptionpublic Object deserializeWithType(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt, + com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) + throws IOException+
deserializeWithType in class com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializerIOExceptionprotected Object mapObject(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
mapObject in class com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializerIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/JacksonAvroParserImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/JacksonAvroParserImpl.html new file mode 100644 index 000000000..0428eab5d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/JacksonAvroParserImpl.html @@ -0,0 +1,1419 @@ + + + + + + +public class JacksonAvroParserImpl +extends AvroParserImpl+
AvroReadContext implementations.AvroParser.Featurecom.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_bufferRecyclable
+Flag that indicates whether the input buffer is recycable (and
+ needs to be returned to recycler once we are done) or not.
+ |
+
protected byte[] |
+_inputBuffer
+Current buffer from which data is read; generally data is read into
+ buffer from input source, but in some cases pre-loaded buffer
+ is handed to the parser.
+ |
+
protected InputStream |
+_inputStream |
+
static int[] |
+sUtf8UnitLengths
+Additionally we can combine UTF-8 decoding info into similar
+ data table.
+ |
+
_branchIndex, _enumIndex, _numberFloat_avroContext, _formatFeatures, _objectCodec, _rootSchema_binaryValue, _byteArrayBuilder, _closed, _currInputProcessed, _currInputRow, _currInputRowStart, _expLength, _fractLength, _inputEnd, _inputPtr, _intLength, _ioContext, _nameCopied, _nameCopyBuffer, _nextToken, _numberBigDecimal, _numberBigInt, _numberDouble, _numberInt, _numberLong, _numberNegative, _numTypesValid, _parsingContext, _textBuffer, _tokenInputCol, _tokenInputRow, _tokenInputTotal, JSON_READ_CAPABILITIES_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
JacksonAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int avroFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ byte[] data,
+ int offset,
+ int len) |
+
JacksonAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int avroFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ InputStream in) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_closeInput() |
+
int |
+_decodeIntSlow() |
+
long |
+_decodeLongSlow() |
+
protected boolean |
+_loadMore() |
+
protected void |
+_loadMoreGuaranteed() |
+
protected void |
+_loadToHaveAtLeast(int minAvailable)
+Helper method that will try to load at least specified number bytes in
+ input buffer, possible moving existing data around if necessary
+ |
+
protected void |
+_releaseBuffers() |
+
protected void |
+_reportInvalidChar(int c) |
+
void |
+_skipIntSlow() |
+
void |
+_skipLongSlow() |
+
boolean |
+checkInputEnd() |
+
long |
+decodeArrayNext() |
+
long |
+decodeArrayStart() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeBoolean() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeBytes() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeDouble() |
+
int |
+decodeEnum() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeFixed(int size) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeFloat() |
+
int |
+decodeIndex() |
+
int |
+decodeInt() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeIntToken() |
+
long |
+decodeLong() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeLongToken() |
+
String |
+decodeMapKey() |
+
long |
+decodeMapNext() |
+
long |
+decodeMapStart() |
+
void |
+decodeString() |
+
com.fasterxml.jackson.core.JsonToken |
+decodeStringToken() |
+
Object |
+getInputSource() |
+
String |
+getText() |
+
int |
+getText(Writer writer) |
+
boolean |
+hasTextCharacters() |
+
String |
+nextTextValue() |
+
int |
+releaseBuffered(OutputStream out) |
+
protected com.fasterxml.jackson.core.JsonToken |
+setString(String str) |
+
long |
+skipArray() |
+
void |
+skipBoolean() |
+
void |
+skipBytes() |
+
void |
+skipDouble() |
+
void |
+skipFixed(int size) |
+
void |
+skipFloat() |
+
void |
+skipInt() |
+
void |
+skipLong() |
+
long |
+skipMap() |
+
void |
+skipString() |
+
_checkNumericValue, _initSchema, branchIndex, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToFloat, convertNumberToInt, convertNumberToLong, enumIndex, getFloatValue, getNumberType, getNumberValue, getNumberValueExact, getRemainingElements, isNaN, isRecord, nextFieldName, nextFieldName, nextToken, overrideFormatFeatures, setAvroContext, setBytes, setNumber, setNumber, setNumber, setNumber, skipValue_finishString, canReadTypeId, canUseSchema, configure, disable, enable, getBinaryValue, getCodec, getCurrentLocation, getCurrentName, getEmbeddedObject, getReadCapabilities, getSchema, getTextCharacters, getTextLength, getTextOffset, getTokenLocation, getTypeId, isEnabled, overrideCurrentName, setCodec, setSchema, version_checkStdFeatureChanges, _contentReference, _decodeBase64Escape, _decodeBase64Escape, _decodeEscaped, _eofAsNextChar, _getByteArrayBuilder, _getSourceReference, _handleBase64MissingPadding, _handleEOF, _handleUnrecognizedCharacterEscape, _parseIntValue, _parseNumericValue, _reportMismatchedEndMarker, _reportTooLongIntegral, _throwUnquotedSpace, _validJsonTokenList, _validJsonValueList, disable, enable, getBigIntegerValue, getCurrentValue, getDecimalValue, getDoubleValue, getIntValue, getLongValue, getParsingContext, getTokenCharacterOffset, getTokenColumnNr, getTokenLineNr, growArrayBy, isClosed, loadMore, loadMoreGuaranteed, overrideStdFeatures, reportInvalidBase64Char, reportInvalidBase64Char, reset, resetAsNaN, resetFloat, resetInt, setCurrentValue, setFeatureMask_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, configure, currentLocation, currentName, currentTokenLocation, currentValue, finishToken, getBinaryValue, getBooleanValue, getByteValue, getFeatureMask, getFormatFeatures, getNonBlockingInputFeeder, getObjectId, getShortValue, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextIntValue, nextLongValue, readBinaryValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, requiresCustomCodec, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnErrorpublic static final int[] sUtf8UnitLengths+
protected InputStream _inputStream+
protected byte[] _inputBuffer+
protected boolean _bufferRecyclable+
+ If it is not, it also means that parser can NOT modify underlying + buffer.
public JacksonAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int avroFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + InputStream in)+
public JacksonAvroParserImpl(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int avroFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + byte[] data, + int offset, + int len)+
protected void _releaseBuffers() + throws IOException+
_releaseBuffers in class com.fasterxml.jackson.core.base.ParserBaseIOExceptionpublic Object getInputSource()+
getInputSource in class AvroParserprotected void _closeInput() + throws IOException+
_closeInput in class AvroParserIOExceptionpublic int releaseBuffered(OutputStream out) + throws IOException+
releaseBuffered in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String nextTextValue() + throws IOException+
nextTextValue in class AvroParserImplIOExceptionpublic boolean hasTextCharacters()+
hasTextCharacters in class AvroParserpublic String getText() + throws IOException+
getText in class AvroParserIOExceptionpublic int getText(Writer writer) + throws IOException+
getText in class AvroParserIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeIntToken() + throws IOException+
decodeIntToken in class AvroParserImplIOExceptionpublic final int decodeInt() + throws IOException+
decodeInt in class AvroParserImplIOExceptionpublic int _decodeIntSlow() + throws IOException+
IOExceptionpublic void skipInt() + throws IOException+
skipInt in class AvroParserImplIOExceptionpublic void _skipIntSlow() + throws IOException+
IOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeLongToken() + throws IOException+
decodeLongToken in class AvroParserImplIOExceptionpublic long decodeLong() + throws IOException+
decodeLong in class AvroParserImplIOExceptionpublic long _decodeLongSlow() + throws IOException+
IOExceptionpublic void skipLong() + throws IOException+
skipLong in class AvroParserImplIOExceptionpublic void _skipLongSlow() + throws IOException+
IOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeFloat() + throws IOException+
decodeFloat in class AvroParserImplIOExceptionpublic void skipFloat() + throws IOException+
skipFloat in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeDouble() + throws IOException+
decodeDouble in class AvroParserImplIOExceptionpublic void skipDouble() + throws IOException+
skipDouble in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeStringToken() + throws IOException+
decodeStringToken in class AvroParserImplIOExceptionpublic void decodeString() + throws IOException+
decodeString in class AvroParserImplIOExceptionpublic void skipString() + throws IOException+
skipString in class AvroParserImplIOExceptionprotected void _reportInvalidChar(int c) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionpublic com.fasterxml.jackson.core.JsonToken decodeBytes() + throws IOException+
decodeBytes in class AvroParserImplIOExceptionpublic void skipBytes() + throws IOException+
skipBytes in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeFixed(int size) + throws IOException+
decodeFixed in class AvroParserImplIOExceptionpublic void skipFixed(int size) + throws IOException+
skipFixed in class AvroParserImplIOExceptionpublic long decodeArrayStart() + throws IOException+
decodeArrayStart in class AvroParserImplIOExceptionpublic long decodeArrayNext() + throws IOException+
decodeArrayNext in class AvroParserImplIOExceptionpublic long skipArray() + throws IOException+
skipArray in class AvroParserImplIOExceptionpublic String decodeMapKey() + throws IOException+
decodeMapKey in class AvroParserImplIOExceptionpublic long decodeMapStart() + throws IOException+
decodeMapStart in class AvroParserImplIOExceptionpublic long decodeMapNext() + throws IOException+
decodeMapNext in class AvroParserImplIOExceptionpublic long skipMap() + throws IOException+
skipMap in class AvroParserImplIOExceptionpublic com.fasterxml.jackson.core.JsonToken decodeBoolean() + throws IOException+
decodeBoolean in class AvroParserImplIOExceptionpublic void skipBoolean() + throws IOException+
skipBoolean in class AvroParserImplIOExceptionpublic int decodeIndex() + throws IOException+
decodeIndex in class AvroParserImplIOExceptionpublic int decodeEnum() + throws IOException+
decodeEnum in class AvroParserImplIOExceptionpublic boolean checkInputEnd() + throws IOException+
checkInputEnd in class AvroParserImplIOExceptionprotected com.fasterxml.jackson.core.JsonToken setString(String str)+
setString in class AvroParserImplprotected final void _loadMoreGuaranteed() + throws IOException+
IOExceptionprotected final boolean _loadMore() + throws IOException+
IOExceptionprotected final void _loadToHaveAtLeast(int minAvailable) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/MapReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/MapReader.html new file mode 100644 index 000000000..93fcec6a9 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/MapReader.html @@ -0,0 +1,716 @@ + + + + + + +public abstract class MapReader +extends AvroStructureReader+
| Modifier and Type | +Field and Description | +
|---|---|
protected String |
+_currentName |
+
protected String |
+_keyTypeId |
+
protected AvroParserImpl |
+_parser |
+
protected int |
+_state |
+
protected String |
+_valueTypeId |
+
protected static int |
+STATE_DONE |
+
protected static int |
+STATE_END |
+
protected static int |
+STATE_NAME |
+
protected static int |
+STATE_START |
+
protected static int |
+STATE_VALUE |
+
_currToken_currentValue, _parent, _typeId_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+MapReader(AvroReadContext parent,
+ AvroParserImpl parser,
+ String typeId,
+ String keyTypeId,
+ String valueTypeId) |
+
protected |
+MapReader(String typeId,
+ String keyTypeId,
+ String valueTypeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+appendDesc(StringBuilder sb) |
+
static MapReader |
+construct(AvroStructureReader reader,
+ String typeId,
+ String keyTypeId) |
+
static MapReader |
+construct(ScalarDecoder dec,
+ String typeId,
+ String keyTypeId,
+ String valueTypeId) |
+
String |
+getCurrentName() |
+
abstract long |
+getRemainingElements() |
+
String |
+getTypeId() |
+
abstract MapReader |
+newReader(AvroReadContext parent,
+ AvroParserImpl parser)
+Method for creating actual instance to use for reading (initial
+ instance constructed is so-called blue print).
+ |
+
String |
+nextFieldName() |
+
abstract com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
abstract void |
+skipValue(AvroParserImpl parser)
+Alternative to
+AvroStructureReader.nextToken() which will simply skip the full
+ value. |
+
_throwUnsupported, consumesNoContent, getCurrentToken, throwIllegalState_reportError, getCurrentValue, getParent, setCurrentValue, toStringgetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected static final int STATE_START+
protected static final int STATE_NAME+
protected static final int STATE_VALUE+
protected static final int STATE_END+
protected static final int STATE_DONE+
protected final AvroParserImpl _parser+
protected final String _keyTypeId+
protected final String _valueTypeId+
protected String _currentName+
protected int _state+
protected MapReader(AvroReadContext parent, + AvroParserImpl parser, + String typeId, + String keyTypeId, + String valueTypeId)+
public static MapReader construct(ScalarDecoder dec, + String typeId, + String keyTypeId, + String valueTypeId)+
public static MapReader construct(AvroStructureReader reader, + String typeId, + String keyTypeId)+
public abstract MapReader newReader(AvroReadContext parent, + AvroParserImpl parser)+
AvroStructureReadernewReader in class AvroStructureReaderpublic String getCurrentName()+
getCurrentName in class AvroReadContextpublic abstract com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class AvroStructureReaderIOExceptionpublic abstract void skipValue(AvroParserImpl parser) + throws IOException+
AvroStructureReaderAvroStructureReader.nextToken() which will simply skip the full
+ value.skipValue in class AvroStructureReaderIOExceptionpublic abstract long getRemainingElements()+
getRemainingElements in class AvroReadContextpublic String nextFieldName() + throws IOException+
nextFieldName in class AvroReadContextIOExceptionpublic void appendDesc(StringBuilder sb)+
appendDesc in class AvroReadContextpublic String getTypeId()+
getTypeId in class AvroReadContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/MissingReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/MissingReader.html new file mode 100644 index 000000000..0e55562b1 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/MissingReader.html @@ -0,0 +1,501 @@ + + + + + + +public class MissingReader +extends AvroReadContext+
AvroReadContext implementation used in two cases:
+JsonParseException;
+ in latter case, results will simply indicate unavailability of content
+ (return `null` in most cases)| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_schemaSet |
+
static MissingReader |
+closedInstance |
+
static MissingReader |
+instance |
+
_currentValue, _parent, _typeId_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
|
+MissingReader()
+Deprecated.
+ |
+
protected |
+MissingReader(boolean schemaSet) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_checkSchemaSet() |
+
void |
+appendDesc(StringBuilder sb) |
+
com.fasterxml.jackson.core.JsonToken |
+getCurrentToken() |
+
String |
+nextFieldName() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+skipValue(AvroParserImpl parser) |
+
_reportError, getCurrentName, getCurrentValue, getParent, getRemainingElements, getTypeId, setCurrentValue, toStringgetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescpublic static final MissingReader instance+
public static final MissingReader closedInstance+
protected final boolean _schemaSet+
@Deprecated +public MissingReader()+
protected MissingReader(boolean schemaSet)+
public com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class AvroReadContextIOExceptionpublic com.fasterxml.jackson.core.JsonToken getCurrentToken()+
getCurrentToken in class AvroReadContextpublic void appendDesc(StringBuilder sb)+
appendDesc in class AvroReadContextpublic String nextFieldName() + throws IOException+
nextFieldName in class AvroReadContextIOExceptionpublic void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class AvroReadContextIOExceptionprotected void _checkSchemaSet() + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/RootReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/RootReader.html new file mode 100644 index 000000000..aaf071a1c --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/RootReader.html @@ -0,0 +1,421 @@ + + + + + + +public class RootReader +extends AvroReadContext+
AvroStructureReader._currentValue, _parent, _typeId_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
RootReader(AvroParserImpl parser,
+ AvroStructureReader valueReader) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+appendDesc(StringBuilder sb) |
+
com.fasterxml.jackson.core.JsonToken |
+getCurrentToken() |
+
String |
+getTypeId() |
+
String |
+nextFieldName() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+skipValue(AvroParserImpl parser) |
+
_reportError, getCurrentName, getCurrentValue, getParent, getRemainingElements, setCurrentValue, toStringgetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescpublic RootReader(AvroParserImpl parser, + AvroStructureReader valueReader)+
public com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class AvroReadContextIOExceptionpublic void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class AvroReadContextIOExceptionpublic com.fasterxml.jackson.core.JsonToken getCurrentToken()+
getCurrentToken in class AvroReadContextpublic void appendDesc(StringBuilder sb)+
appendDesc in class AvroReadContextpublic String nextFieldName() + throws IOException+
nextFieldName in class AvroReadContextIOExceptionpublic String getTypeId()+
getTypeId in class AvroReadContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.BooleanDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.BooleanDecoder.html new file mode 100644 index 000000000..e511acd9e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.BooleanDecoder.html @@ -0,0 +1,362 @@ + + + + + + +protected static final class ScalarDecoder.BooleanDecoder +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier | +Constructor and Description | +
|---|---|
protected |
+BooleanDecoder() |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
protected com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
protected com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.BytesDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.BytesDecoder.html new file mode 100644 index 000000000..3fe4196df --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.BytesDecoder.html @@ -0,0 +1,362 @@ + + + + + + +protected static final class ScalarDecoder.BytesDecoder +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier | +Constructor and Description | +
|---|---|
protected |
+BytesDecoder() |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.DoubleReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.DoubleReader.html new file mode 100644 index 000000000..03b575a44 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.DoubleReader.html @@ -0,0 +1,362 @@ + + + + + + +protected static final class ScalarDecoder.DoubleReader +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier | +Constructor and Description | +
|---|---|
protected |
+DoubleReader() |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.EnumDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.EnumDecoder.html new file mode 100644 index 000000000..d7e27226d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.EnumDecoder.html @@ -0,0 +1,411 @@ + + + + + + +protected static final class ScalarDecoder.EnumDecoder +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier and Type | +Field and Description | +
|---|---|
protected String |
+_name |
+
protected String[] |
+_values |
+
| Constructor and Description | +
|---|
EnumDecoder(String name,
+ List<String> enumNames) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
protected final String _name+
protected final String[] _values+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.FixedDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.FixedDecoder.html new file mode 100644 index 000000000..c486a647f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.FixedDecoder.html @@ -0,0 +1,362 @@ + + + + + + +protected static final class ScalarDecoder.FixedDecoder +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Constructor and Description | +
|---|
FixedDecoder(int fixedSize,
+ String typeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public FixedDecoder(int fixedSize, + String typeId)+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.FloatReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.FloatReader.html new file mode 100644 index 000000000..4ca7b4161 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.FloatReader.html @@ -0,0 +1,362 @@ + + + + + + +protected static final class ScalarDecoder.FloatReader +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier | +Constructor and Description | +
|---|---|
protected |
+FloatReader() |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.IntReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.IntReader.html new file mode 100644 index 000000000..8c74c9632 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.IntReader.html @@ -0,0 +1,372 @@ + + + + + + +protected static final class ScalarDecoder.IntReader +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Constructor and Description | +
|---|
IntReader() |
+
IntReader(String typeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public IntReader(String typeId)+
public IntReader()+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.LongReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.LongReader.html new file mode 100644 index 000000000..d82468859 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.LongReader.html @@ -0,0 +1,362 @@ + + + + + + +protected static final class ScalarDecoder.LongReader +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier | +Constructor and Description | +
|---|---|
protected |
+LongReader() |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.NullReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.NullReader.html new file mode 100644 index 000000000..90ed63275 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.NullReader.html @@ -0,0 +1,359 @@ + + + + + + +protected static final class ScalarDecoder.NullReader +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier | +Constructor and Description | +
|---|---|
protected |
+NullReader() |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser)+
decodeValue in class ScalarDecoderprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.ScalarUnionDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.ScalarUnionDecoder.html new file mode 100644 index 000000000..e804c12fc --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.ScalarUnionDecoder.html @@ -0,0 +1,396 @@ + + + + + + +protected static final class ScalarDecoder.ScalarUnionDecoder +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Modifier and Type | +Field and Description | +
|---|---|
ScalarDecoder[] |
+_readers |
+
| Constructor and Description | +
|---|
ScalarUnionDecoder(ScalarDecoder[] readers) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
protected com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public final ScalarDecoder[] _readers+
public ScalarUnionDecoder(ScalarDecoder[] readers)+
protected com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.StringReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.StringReader.html new file mode 100644 index 000000000..23a9fc65f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.StringReader.html @@ -0,0 +1,372 @@ + + + + + + +protected static final class ScalarDecoder.StringReader +extends ScalarDecoder+
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader| Constructor and Description | +
|---|
StringReader() |
+
StringReader(String typeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
String |
+getTypeId() |
+
protected void |
+skipValue(AvroParserImpl parser) |
+
public StringReader(String typeId)+
public StringReader()+
public com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()+
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, + boolean skipper)+
asFieldReader in class ScalarDecoderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.html new file mode 100644 index 000000000..26fa34177 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder.html @@ -0,0 +1,390 @@ + + + + + + +public abstract class ScalarDecoder +extends Object+
ScalarDecoderWrappers).| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+ScalarDecoder.BooleanDecoder |
+
protected static class |
+ScalarDecoder.BytesDecoder |
+
protected static class |
+ScalarDecoder.DoubleReader |
+
protected static class |
+ScalarDecoder.EnumDecoder |
+
protected static class |
+ScalarDecoder.FixedDecoder |
+
protected static class |
+ScalarDecoder.FloatReader |
+
protected static class |
+ScalarDecoder.IntReader |
+
protected static class |
+ScalarDecoder.LongReader |
+
protected static class |
+ScalarDecoder.NullReader |
+
protected static class |
+ScalarDecoder.ScalarUnionDecoder |
+
protected static class |
+ScalarDecoder.StringReader |
+
| Constructor and Description | +
|---|
ScalarDecoder() |
+
| Modifier and Type | +Method and Description | +
|---|---|
abstract AvroFieldReader |
+asFieldReader(String name,
+ boolean skipper) |
+
protected abstract com.fasterxml.jackson.core.JsonToken |
+decodeValue(AvroParserImpl parser) |
+
abstract String |
+getTypeId() |
+
protected abstract void |
+skipValue(AvroParserImpl parser) |
+
protected abstract com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) + throws IOException+
IOExceptionprotected abstract void skipValue(AvroParserImpl parser) + throws IOException+
IOExceptionpublic abstract AvroFieldReader asFieldReader(String name, + boolean skipper)+
public abstract String getTypeId()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.BooleanDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.BooleanDefaults.html new file mode 100644 index 000000000..eb8fd7f4a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.BooleanDefaults.html @@ -0,0 +1,352 @@ + + + + + + +protected static final class ScalarDefaults.BooleanDefaults +extends ScalarDefaults.DefaultsBase+
| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.core.JsonToken |
+_defaults |
+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
BooleanDefaults(String name,
+ boolean v) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperprotected final com.fasterxml.jackson.core.JsonToken _defaults+
public BooleanDefaults(String name, + boolean v)+
public com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.BytesDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.BytesDefaults.html new file mode 100644 index 000000000..8e4bdb0c8 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.BytesDefaults.html @@ -0,0 +1,352 @@ + + + + + + +protected static final class ScalarDefaults.BytesDefaults +extends ScalarDefaults.DefaultsBase+
| Modifier and Type | +Field and Description | +
|---|---|
protected byte[] |
+_defaults |
+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
BytesDefaults(String name,
+ byte[] v) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperpublic BytesDefaults(String name, + byte[] v)+
public com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.DefaultsBase.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.DefaultsBase.html new file mode 100644 index 000000000..8b50609ef --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.DefaultsBase.html @@ -0,0 +1,341 @@ + + + + + + +protected abstract static class ScalarDefaults.DefaultsBase +extends AvroFieldReader+
_isSkipper, _name, _typeId| Modifier | +Constructor and Description | +
|---|---|
protected |
+DefaultsBase(String name,
+ String typeId) |
+
| Modifier and Type | +Method and Description | +
|---|---|
abstract com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
void |
+skipValue(AvroParserImpl parser) |
+
construct, constructSkipper, getName, getTypeId, isSkipperpublic abstract com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser) + throws IOException+
readValue in class AvroFieldReaderIOExceptionpublic void skipValue(AvroParserImpl parser) + throws IOException+
skipValue in class AvroFieldReaderIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.DoubleDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.DoubleDefaults.html new file mode 100644 index 000000000..53faec0f0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.DoubleDefaults.html @@ -0,0 +1,352 @@ + + + + + + +protected static final class ScalarDefaults.DoubleDefaults +extends ScalarDefaults.DefaultsBase+
| Modifier and Type | +Field and Description | +
|---|---|
protected double |
+_defaults |
+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
DoubleDefaults(String name,
+ double v) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperpublic DoubleDefaults(String name, + double v)+
public com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.FloatDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.FloatDefaults.html new file mode 100644 index 000000000..1ba3f13d8 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.FloatDefaults.html @@ -0,0 +1,352 @@ + + + + + + +protected static final class ScalarDefaults.FloatDefaults +extends ScalarDefaults.DefaultsBase+
| Modifier and Type | +Field and Description | +
|---|---|
protected float |
+_defaults |
+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
FloatDefaults(String name,
+ float v) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperpublic FloatDefaults(String name, + float v)+
public com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.IntDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.IntDefaults.html new file mode 100644 index 000000000..683224f28 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.IntDefaults.html @@ -0,0 +1,352 @@ + + + + + + +protected static final class ScalarDefaults.IntDefaults +extends ScalarDefaults.DefaultsBase+
| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_defaults |
+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
IntDefaults(String name,
+ int v) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperpublic com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.LongDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.LongDefaults.html new file mode 100644 index 000000000..37b055e1f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.LongDefaults.html @@ -0,0 +1,352 @@ + + + + + + +protected static final class ScalarDefaults.LongDefaults +extends ScalarDefaults.DefaultsBase+
| Modifier and Type | +Field and Description | +
|---|---|
protected long |
+_defaults |
+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
LongDefaults(String name,
+ long v) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperpublic LongDefaults(String name, + long v)+
public com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.NullDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.NullDefaults.html new file mode 100644 index 000000000..2707e3d4a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.NullDefaults.html @@ -0,0 +1,322 @@ + + + + + + +protected static final class ScalarDefaults.NullDefaults +extends ScalarDefaults.DefaultsBase+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
NullDefaults(String name) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperpublic com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.StringDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.StringDefaults.html new file mode 100644 index 000000000..0b8bd050f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.StringDefaults.html @@ -0,0 +1,352 @@ + + + + + + +protected static final class ScalarDefaults.StringDefaults +extends ScalarDefaults.DefaultsBase+
| Modifier and Type | +Field and Description | +
|---|---|
protected String |
+_defaults |
+
_isSkipper, _name, _typeId| Constructor and Description | +
|---|
StringDefaults(String name,
+ String v) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.JsonToken |
+readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
skipValueconstruct, constructSkipper, getName, getTypeId, isSkipperpublic com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, + AvroParserImpl parser)+
readValue in class ScalarDefaults.DefaultsBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.html new file mode 100644 index 000000000..319af8639 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/ScalarDefaults.html @@ -0,0 +1,292 @@ + + + + + + +public class ScalarDefaults +extends Object+
ScalarDecoder implementations that are
+ used for providing default values for scalar-valued record properties.| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+ScalarDefaults.BooleanDefaults |
+
protected static class |
+ScalarDefaults.BytesDefaults |
+
protected static class |
+ScalarDefaults.DefaultsBase |
+
protected static class |
+ScalarDefaults.DoubleDefaults |
+
protected static class |
+ScalarDefaults.FloatDefaults |
+
protected static class |
+ScalarDefaults.IntDefaults |
+
protected static class |
+ScalarDefaults.LongDefaults |
+
protected static class |
+ScalarDefaults.NullDefaults |
+
protected static class |
+ScalarDefaults.StringDefaults |
+
| Constructor and Description | +
|---|
ScalarDefaults() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.ArrayDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.ArrayDefaults.html new file mode 100644 index 000000000..af4fe00da --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.ArrayDefaults.html @@ -0,0 +1,451 @@ + + + + + + +protected static class StructDefaults.ArrayDefaults +extends ArrayReader+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroFieldReader[] |
+_valueReaders |
+
_count, _currentName, _elementTypeId, _parser, _state, STATE_DONE, STATE_ELEMENTS, STATE_END, STATE_START_currToken_currentValue, _parent, _typeId_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
ArrayDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] valueReaders) |
+
| Modifier and Type | +Method and Description | +
|---|---|
ArrayReader |
+newReader(AvroReadContext parent,
+ AvroParserImpl parser)
+Method for creating actual instance to use for reading (initial
+ instance constructed is so-called blue print).
+ |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+skipValue(AvroParserImpl parser)
+Alternative to
+AvroStructureReader.nextToken() which will simply skip the full
+ value. |
+
appendDesc, construct, construct, getCurrentName, getRemainingElements, getTypeId, nextFieldName_throwUnsupported, consumesNoContent, getCurrentToken, throwIllegalState_reportError, getCurrentValue, getParent, setCurrentValue, toStringgetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final AvroFieldReader[] _valueReaders+
public ArrayDefaults(AvroReadContext parent, + AvroParserImpl parser, + AvroFieldReader[] valueReaders)+
public ArrayReader newReader(AvroReadContext parent, + AvroParserImpl parser)+
AvroStructureReadernewReader in class AvroStructureReaderpublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class AvroStructureReaderIOExceptionpublic void skipValue(AvroParserImpl parser) + throws IOException+
AvroStructureReaderAvroStructureReader.nextToken() which will simply skip the full
+ value.skipValue in class AvroStructureReaderIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.ObjectDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.ObjectDefaults.html new file mode 100644 index 000000000..d9b9fb9a5 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.ObjectDefaults.html @@ -0,0 +1,468 @@ + + + + + + +protected static class StructDefaults.ObjectDefaults +extends MapReader+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroFieldReader[] |
+_fieldReaders |
+
_currentName, _keyTypeId, _parser, _state, _valueTypeId, STATE_DONE, STATE_END, STATE_NAME, STATE_START, STATE_VALUE_currToken_currentValue, _parent, _typeId_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
ObjectDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] fieldReaders) |
+
| Modifier and Type | +Method and Description | +
|---|---|
long |
+getRemainingElements() |
+
MapReader |
+newReader(AvroReadContext parent,
+ AvroParserImpl parser)
+Method for creating actual instance to use for reading (initial
+ instance constructed is so-called blue print).
+ |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+skipValue(AvroParserImpl parser)
+Alternative to
+AvroStructureReader.nextToken() which will simply skip the full
+ value. |
+
appendDesc, construct, construct, getCurrentName, getTypeId, nextFieldName_throwUnsupported, consumesNoContent, getCurrentToken, throwIllegalState_reportError, getCurrentValue, getParent, setCurrentValue, toStringgetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final AvroFieldReader[] _fieldReaders+
public ObjectDefaults(AvroReadContext parent, + AvroParserImpl parser, + AvroFieldReader[] fieldReaders)+
public long getRemainingElements()+
getRemainingElements in class MapReaderpublic MapReader newReader(AvroReadContext parent, + AvroParserImpl parser)+
AvroStructureReaderpublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class MapReaderIOExceptionpublic void skipValue(AvroParserImpl parser) + throws IOException+
AvroStructureReaderAvroStructureReader.nextToken() which will simply skip the full
+ value.skipValue in class MapReaderIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.html new file mode 100644 index 000000000..20f45fec1 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/StructDefaults.html @@ -0,0 +1,317 @@ + + + + + + +public class StructDefaults +extends Object+
AvroFieldReader implementations for
+ structured types. Built solely based on JSON default values,
+ for now, so only two variants needed. In future may need to
+ tie to Avro type hierarchy more closely.| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+StructDefaults.ArrayDefaults |
+
protected static class |
+StructDefaults.ObjectDefaults |
+
| Constructor and Description | +
|---|
StructDefaults() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static AvroFieldReader |
+createArrayDefaults(String name,
+ List<AvroFieldReader> fieldReaders) |
+
static AvroFieldReader |
+createObjectDefaults(String name,
+ List<AvroFieldReader> fieldReaders) |
+
public static AvroFieldReader createObjectDefaults(String name, + List<AvroFieldReader> fieldReaders)+
public static AvroFieldReader createArrayDefaults(String name, + List<AvroFieldReader> fieldReaders)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ArrayReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ArrayReader.html new file mode 100644 index 000000000..9498021f0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ArrayReader.html @@ -0,0 +1,192 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+StructDefaults.ArrayDefaults |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ArrayReader |
+ArrayReader.construct(AvroStructureReader reader,
+ String typeId,
+ String elementTypeId) |
+
static ArrayReader |
+ArrayReader.construct(ScalarDecoder reader,
+ String typeId,
+ String elementTypeId) |
+
ArrayReader |
+StructDefaults.ArrayDefaults.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroFieldDefaulters.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroFieldDefaulters.html new file mode 100644 index 000000000..6914e7eec --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroFieldDefaulters.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroFieldReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroFieldReader.html new file mode 100644 index 000000000..59346db56 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroFieldReader.html @@ -0,0 +1,350 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+ScalarDefaults.BooleanDefaults |
+
protected static class |
+ScalarDefaults.BytesDefaults |
+
protected static class |
+ScalarDefaults.DefaultsBase |
+
protected static class |
+ScalarDefaults.DoubleDefaults |
+
protected static class |
+ScalarDefaults.FloatDefaults |
+
protected static class |
+ScalarDefaults.IntDefaults |
+
protected static class |
+ScalarDefaults.LongDefaults |
+
protected static class |
+ScalarDefaults.NullDefaults |
+
protected static class |
+ScalarDefaults.StringDefaults |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroFieldReader[] |
+StructDefaults.ObjectDefaults._fieldReaders |
+
protected AvroFieldReader[] |
+StructDefaults.ArrayDefaults._valueReaders |
+
| Modifier and Type | +Method and Description | +
|---|---|
abstract AvroFieldReader |
+ScalarDecoder.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.BooleanDecoder.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.DoubleReader.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.FloatReader.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.IntReader.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.LongReader.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.NullReader.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.StringReader.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.BytesDecoder.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.ScalarUnionDecoder.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.EnumDecoder.asFieldReader(String name,
+ boolean skipper) |
+
AvroFieldReader |
+ScalarDecoder.FixedDecoder.asFieldReader(String name,
+ boolean skipper) |
+
static AvroFieldReader |
+AvroFieldReader.construct(String name,
+ AvroStructureReader structureReader) |
+
static AvroFieldReader |
+AvroFieldReader.constructSkipper(String name,
+ AvroStructureReader structureReader) |
+
static AvroFieldReader |
+StructDefaults.createArrayDefaults(String name,
+ List<AvroFieldReader> fieldReaders) |
+
static AvroFieldReader |
+AvroFieldDefaulters.createDefaulter(String name,
+ com.fasterxml.jackson.databind.JsonNode defaultAsNode) |
+
protected AvroFieldReader |
+AvroReaderFactory.createFieldReader(org.apache.avro.Schema.Field field) |
+
static AvroFieldReader |
+StructDefaults.createObjectDefaults(String name,
+ List<AvroFieldReader> fieldReaders) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static AvroFieldReader |
+StructDefaults.createArrayDefaults(String name,
+ List<AvroFieldReader> fieldReaders) |
+
static AvroFieldReader |
+StructDefaults.createObjectDefaults(String name,
+ List<AvroFieldReader> fieldReaders) |
+
| Constructor and Description | +
|---|
ArrayDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] valueReaders) |
+
ObjectDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] fieldReaders) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroParserImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroParserImpl.html new file mode 100644 index 000000000..a57412ae5 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroParserImpl.html @@ -0,0 +1,490 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ApacheAvroParserImpl
+Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroParserImpl |
+DecoderOverAvroParser._parser |
+
| Constructor and Description | +
|---|
DecoderOverAvroParser(AvroParserImpl parser) |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+JacksonAvroParserImpl
+Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroParserImpl |
+ArrayReader._parser |
+
protected AvroParserImpl |
+MapReader._parser |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected abstract com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.decodeValue(AvroParserImpl parser) |
+
protected com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.BooleanDecoder.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.DoubleReader.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.FloatReader.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.IntReader.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.LongReader.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.NullReader.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.StringReader.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.BytesDecoder.decodeValue(AvroParserImpl parser) |
+
protected com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.ScalarUnionDecoder.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.EnumDecoder.decodeValue(AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDecoder.FixedDecoder.decodeValue(AvroParserImpl parser) |
+
MapReader |
+StructDefaults.ObjectDefaults.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
ArrayReader |
+StructDefaults.ArrayDefaults.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract MapReader |
+MapReader.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract AvroStructureReader |
+AvroStructureReader.newReader(AvroReadContext parent,
+ AvroParserImpl parser)
+Method for creating actual instance to use for reading (initial
+ instance constructed is so-called blue print).
+ |
+
abstract com.fasterxml.jackson.core.JsonToken |
+AvroFieldReader.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.DefaultsBase.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.BooleanDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.StringDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.BytesDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.DoubleDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.FloatDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.IntDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.LongDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.NullDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
void |
+StructDefaults.ObjectDefaults.skipValue(AvroParserImpl parser) |
+
void |
+StructDefaults.ArrayDefaults.skipValue(AvroParserImpl parser) |
+
abstract void |
+MapReader.skipValue(AvroParserImpl parser) |
+
void |
+RootReader.skipValue(AvroParserImpl parser) |
+
abstract void |
+AvroReadContext.skipValue(AvroParserImpl parser) |
+
protected abstract void |
+ScalarDecoder.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.BooleanDecoder.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.DoubleReader.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.FloatReader.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.IntReader.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.LongReader.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.NullReader.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.StringReader.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.BytesDecoder.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.ScalarUnionDecoder.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.EnumDecoder.skipValue(AvroParserImpl parser) |
+
protected void |
+ScalarDecoder.FixedDecoder.skipValue(AvroParserImpl parser) |
+
void |
+MissingReader.skipValue(AvroParserImpl parser) |
+
abstract void |
+AvroFieldReader.skipValue(AvroParserImpl parser) |
+
void |
+ScalarDefaults.DefaultsBase.skipValue(AvroParserImpl parser) |
+
abstract void |
+AvroStructureReader.skipValue(AvroParserImpl parser)
+Alternative to
+AvroStructureReader.nextToken() which will simply skip the full
+ value. |
+
| Constructor and Description | +
|---|
ArrayDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] valueReaders) |
+
ArrayReader(AvroReadContext parent,
+ AvroParserImpl parser,
+ String typeId,
+ String elementTypeId) |
+
MapReader(AvroReadContext parent,
+ AvroParserImpl parser,
+ String typeId,
+ String keyTypeId,
+ String valueTypeId) |
+
ObjectDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] fieldReaders) |
+
RootReader(AvroParserImpl parser,
+ AvroStructureReader valueReader) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroReadContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroReadContext.html new file mode 100644 index 000000000..5fb47f8c5 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroReadContext.html @@ -0,0 +1,382 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroReadContext |
+AvroParser._avroContext |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ArrayReader |
+
class |
+AvroStructureReader
+Base class for handlers for Avro structured types (or in some cases,
+ scalar types that need to be exposed in unified way similar to
+ structured types).
+ |
+
class |
+MapReader |
+
class |
+MissingReader
+Bogus
+AvroReadContext implementation used in two cases:
+
+ Parser has not yet been configured by an Avro Schema
+
+ Parser has been closed (explicitly or implicitly)
+
+
+ In former case, attempts to read will result in a JsonParseException;
+ in latter case, results will simply indicate unavailability of content
+ (return `null` in most cases) |
+
class |
+RootReader
+Context used at root level; basically just a container
+ over actual
+AvroStructureReader. |
+
protected static class |
+StructDefaults.ArrayDefaults |
+
protected static class |
+StructDefaults.ObjectDefaults |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroReadContext |
+AvroReadContext._parent |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroReadContext |
+AvroReadContext.getParent() |
+
| Modifier and Type | +Method and Description | +
|---|---|
MapReader |
+StructDefaults.ObjectDefaults.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
ArrayReader |
+StructDefaults.ArrayDefaults.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract MapReader |
+MapReader.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract AvroStructureReader |
+AvroStructureReader.newReader(AvroReadContext parent,
+ AvroParserImpl parser)
+Method for creating actual instance to use for reading (initial
+ instance constructed is so-called blue print).
+ |
+
abstract com.fasterxml.jackson.core.JsonToken |
+AvroFieldReader.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.DefaultsBase.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.BooleanDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.StringDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.BytesDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.DoubleDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.FloatDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.IntDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.LongDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
com.fasterxml.jackson.core.JsonToken |
+ScalarDefaults.NullDefaults.readValue(AvroReadContext parent,
+ AvroParserImpl parser) |
+
void |
+AvroParserImpl.setAvroContext(AvroReadContext ctxt) |
+
| Constructor and Description | +
|---|
ArrayDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] valueReaders) |
+
ArrayReader(AvroReadContext parent,
+ AvroParserImpl parser,
+ String typeId,
+ String elementTypeId) |
+
AvroReadContext(AvroReadContext parent,
+ String typeId) |
+
AvroStructureReader(AvroReadContext parent,
+ int type,
+ String typeId) |
+
MapReader(AvroReadContext parent,
+ AvroParserImpl parser,
+ String typeId,
+ String keyTypeId,
+ String valueTypeId) |
+
ObjectDefaults(AvroReadContext parent,
+ AvroParserImpl parser,
+ AvroFieldReader[] fieldReaders) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroReaderFactory.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroReaderFactory.html new file mode 100644 index 000000000..0997a8573 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroReaderFactory.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroStructureReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroStructureReader.html new file mode 100644 index 000000000..b41687a76 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroStructureReader.html @@ -0,0 +1,328 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected AtomicReference<AvroStructureReader> |
+AvroSchema._reader
+Lazily instantiated value reader for this schema.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroStructureReader |
+AvroSchema._constructReader() |
+
AvroStructureReader |
+AvroSchema.getReader() |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ArrayReader |
+
class |
+MapReader |
+
protected static class |
+StructDefaults.ArrayDefaults |
+
protected static class |
+StructDefaults.ObjectDefaults |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected TreeMap<String,AvroStructureReader> |
+AvroReaderFactory._knownReaders
+To resolve cyclic types, need to keep track of resolved named
+ types.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroStructureReader |
+AvroReaderFactory.createArrayReader(org.apache.avro.Schema schema) |
+
static AvroStructureReader |
+AvroReaderFactory.createFor(org.apache.avro.Schema schema) |
+
static AvroStructureReader |
+AvroReaderFactory.createFor(org.apache.avro.Schema writerSchema,
+ org.apache.avro.Schema readerSchema) |
+
protected AvroStructureReader |
+AvroReaderFactory.createMapReader(org.apache.avro.Schema schema) |
+
AvroStructureReader |
+AvroReaderFactory.createReader(org.apache.avro.Schema schema)
+Method for creating a reader instance for specified type,
+ only using specific schema that was used to encoded data
+ ("writer schema").
+ |
+
protected AvroStructureReader |
+AvroReaderFactory.createRecordReader(org.apache.avro.Schema schema) |
+
protected AvroStructureReader |
+AvroReaderFactory.createUnionReader(org.apache.avro.Schema schema) |
+
abstract AvroStructureReader |
+AvroStructureReader.newReader(AvroReadContext parent,
+ AvroParserImpl parser)
+Method for creating actual instance to use for reading (initial
+ instance constructed is so-called blue print).
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ArrayReader |
+ArrayReader.construct(AvroStructureReader reader,
+ String typeId,
+ String elementTypeId) |
+
static MapReader |
+MapReader.construct(AvroStructureReader reader,
+ String typeId,
+ String keyTypeId) |
+
static AvroFieldReader |
+AvroFieldReader.construct(String name,
+ AvroStructureReader structureReader) |
+
static AvroFieldReader |
+AvroFieldReader.constructSkipper(String name,
+ AvroStructureReader structureReader) |
+
| Constructor and Description | +
|---|
RootReader(AvroParserImpl parser,
+ AvroStructureReader valueReader) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroUntypedDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroUntypedDeserializer.html new file mode 100644 index 000000000..1265a726f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/AvroUntypedDeserializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/JacksonAvroParserImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/JacksonAvroParserImpl.html new file mode 100644 index 000000000..d5aa8ee37 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/JacksonAvroParserImpl.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/MapReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/MapReader.html new file mode 100644 index 000000000..0e512ef8b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/MapReader.html @@ -0,0 +1,198 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+StructDefaults.ObjectDefaults |
+
| Modifier and Type | +Method and Description | +
|---|---|
static MapReader |
+MapReader.construct(AvroStructureReader reader,
+ String typeId,
+ String keyTypeId) |
+
static MapReader |
+MapReader.construct(ScalarDecoder dec,
+ String typeId,
+ String keyTypeId,
+ String valueTypeId) |
+
MapReader |
+StructDefaults.ObjectDefaults.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
abstract MapReader |
+MapReader.newReader(AvroReadContext parent,
+ AvroParserImpl parser) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/MissingReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/MissingReader.html new file mode 100644 index 000000000..e528ba27f --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/MissingReader.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static MissingReader |
+MissingReader.closedInstance |
+
static MissingReader |
+MissingReader.instance |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/RootReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/RootReader.html new file mode 100644 index 000000000..9e05874dd --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/RootReader.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.BooleanDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.BooleanDecoder.html new file mode 100644 index 000000000..48c8c772d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.BooleanDecoder.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.BytesDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.BytesDecoder.html new file mode 100644 index 000000000..ff56608db --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.BytesDecoder.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.DoubleReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.DoubleReader.html new file mode 100644 index 000000000..e490f05bb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.DoubleReader.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.EnumDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.EnumDecoder.html new file mode 100644 index 000000000..a9e51af66 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.EnumDecoder.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.FixedDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.FixedDecoder.html new file mode 100644 index 000000000..31cf9b953 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.FixedDecoder.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.FloatReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.FloatReader.html new file mode 100644 index 000000000..bcfcbe71e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.FloatReader.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.IntReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.IntReader.html new file mode 100644 index 000000000..e61182fdf --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.IntReader.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.LongReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.LongReader.html new file mode 100644 index 000000000..085843d9b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.LongReader.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.NullReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.NullReader.html new file mode 100644 index 000000000..4949ef116 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.NullReader.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.ScalarUnionDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.ScalarUnionDecoder.html new file mode 100644 index 000000000..b97085385 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.ScalarUnionDecoder.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.StringReader.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.StringReader.html new file mode 100644 index 000000000..73258a53b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.StringReader.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.html new file mode 100644 index 000000000..23931e5c0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDecoder.html @@ -0,0 +1,297 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+ScalarDecoder.BooleanDecoder |
+
protected static class |
+ScalarDecoder.BytesDecoder |
+
protected static class |
+ScalarDecoder.DoubleReader |
+
protected static class |
+ScalarDecoder.EnumDecoder |
+
protected static class |
+ScalarDecoder.FixedDecoder |
+
protected static class |
+ScalarDecoder.FloatReader |
+
protected static class |
+ScalarDecoder.IntReader |
+
protected static class |
+ScalarDecoder.LongReader |
+
protected static class |
+ScalarDecoder.NullReader |
+
protected static class |
+ScalarDecoder.ScalarUnionDecoder |
+
protected static class |
+ScalarDecoder.StringReader |
+
| Modifier and Type | +Field and Description | +
|---|---|
ScalarDecoder[] |
+ScalarDecoder.ScalarUnionDecoder._readers |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_BOOLEAN |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_BYTES |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_DOUBLE |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_FLOAT |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_INT |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_LONG |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_NULL |
+
protected static ScalarDecoder |
+AvroReaderFactory.READER_STRING |
+
| Modifier and Type | +Method and Description | +
|---|---|
ScalarDecoder |
+AvroReaderFactory.createScalarValueDecoder(org.apache.avro.Schema type) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ArrayReader |
+ArrayReader.construct(ScalarDecoder reader,
+ String typeId,
+ String elementTypeId) |
+
static MapReader |
+MapReader.construct(ScalarDecoder dec,
+ String typeId,
+ String keyTypeId,
+ String valueTypeId) |
+
| Constructor and Description | +
|---|
ScalarUnionDecoder(ScalarDecoder[] readers) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.BooleanDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.BooleanDefaults.html new file mode 100644 index 000000000..4e6651530 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.BooleanDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.BytesDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.BytesDefaults.html new file mode 100644 index 000000000..3d0c880fb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.BytesDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.DefaultsBase.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.DefaultsBase.html new file mode 100644 index 000000000..8e8815fe3 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.DefaultsBase.html @@ -0,0 +1,194 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
protected static class |
+ScalarDefaults.BooleanDefaults |
+
protected static class |
+ScalarDefaults.BytesDefaults |
+
protected static class |
+ScalarDefaults.DoubleDefaults |
+
protected static class |
+ScalarDefaults.FloatDefaults |
+
protected static class |
+ScalarDefaults.IntDefaults |
+
protected static class |
+ScalarDefaults.LongDefaults |
+
protected static class |
+ScalarDefaults.NullDefaults |
+
protected static class |
+ScalarDefaults.StringDefaults |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.DoubleDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.DoubleDefaults.html new file mode 100644 index 000000000..4f7ea4f15 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.DoubleDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.FloatDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.FloatDefaults.html new file mode 100644 index 000000000..d21c209f5 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.FloatDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.IntDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.IntDefaults.html new file mode 100644 index 000000000..ff76d8d3a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.IntDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.LongDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.LongDefaults.html new file mode 100644 index 000000000..aeb90b68e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.LongDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.NullDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.NullDefaults.html new file mode 100644 index 000000000..1a461c4ba --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.NullDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.StringDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.StringDefaults.html new file mode 100644 index 000000000..dc7c85e44 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.StringDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.html new file mode 100644 index 000000000..9d069056b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/ScalarDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.ArrayDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.ArrayDefaults.html new file mode 100644 index 000000000..8fde10f21 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.ArrayDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.ObjectDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.ObjectDefaults.html new file mode 100644 index 000000000..89d9eeadd --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.ObjectDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.html new file mode 100644 index 000000000..28aff0cd0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/class-use/StructDefaults.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-frame.html new file mode 100644 index 000000000..bf7d6fa6e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-frame.html @@ -0,0 +1,57 @@ + + + + + + +| Class | +Description | +
|---|---|
| ArrayReader | ++ |
| AvroFieldDefaulters | +
+ Factory class for various default providers
+ |
+
| AvroFieldReader | +
+ Entity that encapsulates details of accessing value of a single field
+ of a "Record" (Avro term, corresponding roughly to JSON Object).
+ |
+
| AvroParserImpl | +
+ Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| AvroReadContext | +
+ We need to use a custom context to be able to carry along
+ Object and array records.
+ |
+
| AvroReaderFactory | +
+ Helper class used for constructing a hierarchic reader for given
+ (reader-) schema.
+ |
+
| AvroStructureReader | +
+ Base class for handlers for Avro structured types (or in some cases,
+ scalar types that need to be exposed in unified way similar to
+ structured types).
+ |
+
| AvroUntypedDeserializer | +
+ Deserializer for handling when we have no target type, just schema type.
+ |
+
| JacksonAvroParserImpl | +
+ Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| MapReader | ++ |
| MissingReader | +
+ Bogus
+AvroReadContext implementation used in two cases:
+
+ Parser has not yet been configured by an Avro Schema
+
+ Parser has been closed (explicitly or implicitly)
+
+
+ In former case, attempts to read will result in a JsonParseException;
+ in latter case, results will simply indicate unavailability of content
+ (return `null` in most cases) |
+
| RootReader | +
+ Context used at root level; basically just a container
+ over actual
+AvroStructureReader. |
+
| ScalarDecoder | +
+ Helper classes for reading non-structured values, and can thereby usually
+ be accessed using simpler interface (although sometimes not: if so,
+ instances are wrapped in
+ScalarDecoderWrappers). |
+
| ScalarDecoder.BooleanDecoder | ++ |
| ScalarDecoder.BytesDecoder | ++ |
| ScalarDecoder.DoubleReader | ++ |
| ScalarDecoder.EnumDecoder | ++ |
| ScalarDecoder.FixedDecoder | ++ |
| ScalarDecoder.FloatReader | ++ |
| ScalarDecoder.IntReader | ++ |
| ScalarDecoder.LongReader | ++ |
| ScalarDecoder.NullReader | ++ |
| ScalarDecoder.ScalarUnionDecoder | ++ |
| ScalarDecoder.StringReader | ++ |
| ScalarDefaults | +
+ Container for various
+ScalarDecoder implementations that are
+ used for providing default values for scalar-valued record properties. |
+
| ScalarDefaults.BooleanDefaults | ++ |
| ScalarDefaults.BytesDefaults | ++ |
| ScalarDefaults.DefaultsBase | ++ |
| ScalarDefaults.DoubleDefaults | ++ |
| ScalarDefaults.FloatDefaults | ++ |
| ScalarDefaults.IntDefaults | ++ |
| ScalarDefaults.LongDefaults | ++ |
| ScalarDefaults.NullDefaults | ++ |
| ScalarDefaults.StringDefaults | ++ |
| StructDefaults | +
+ Default-providing
+AvroFieldReader implementations for
+ structured types. |
+
| StructDefaults.ArrayDefaults | ++ |
| StructDefaults.ObjectDefaults | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-tree.html new file mode 100644 index 000000000..d760dbd07 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-tree.html @@ -0,0 +1,231 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-use.html new file mode 100644 index 000000000..548fd1cab --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/deser/package-use.html @@ -0,0 +1,265 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| Class and Description | +
|---|
| AvroReadContext
+ We need to use a custom context to be able to carry along
+ Object and array records.
+ |
+
| AvroStructureReader
+ Base class for handlers for Avro structured types (or in some cases,
+ scalar types that need to be exposed in unified way similar to
+ structured types).
+ |
+
| Class and Description | +
|---|
| AvroParserImpl
+ Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| Class and Description | +
|---|
| ArrayReader | +
| AvroFieldReader
+ Entity that encapsulates details of accessing value of a single field
+ of a "Record" (Avro term, corresponding roughly to JSON Object).
+ |
+
| AvroParserImpl
+ Implementation class that exposes additional internal API
+ to be used as callbacks by
+AvroReadContext implementations. |
+
| AvroReadContext
+ We need to use a custom context to be able to carry along
+ Object and array records.
+ |
+
| AvroStructureReader
+ Base class for handlers for Avro structured types (or in some cases,
+ scalar types that need to be exposed in unified way similar to
+ structured types).
+ |
+
| MapReader | +
| MissingReader
+ Bogus
+AvroReadContext implementation used in two cases:
+
+ Parser has not yet been configured by an Avro Schema
+
+ Parser has been closed (explicitly or implicitly)
+
+
+ In former case, attempts to read will result in a JsonParseException;
+ in latter case, results will simply indicate unavailability of content
+ (return `null` in most cases) |
+
| ScalarDecoder
+ Helper classes for reading non-structured values, and can thereby usually
+ be accessed using simpler interface (although sometimes not: if so,
+ instances are wrapped in
+ScalarDecoderWrappers). |
+
| ScalarDefaults.DefaultsBase | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/AvroJavaTimeModule.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/AvroJavaTimeModule.html new file mode 100644 index 000000000..04f4477ce --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/AvroJavaTimeModule.html @@ -0,0 +1,306 @@ + + + + + + +public class AvroJavaTimeModule
+extends com.fasterxml.jackson.databind.module.SimpleModule
+com.fasterxml.jackson.databind.Module.SetupContext_abstractTypes, _deserializerModifier, _deserializers, _hasExplicitName, _keyDeserializers, _keySerializers, _mixins, _name, _namingStrategy, _serializerModifier, _serializers, _subtypes, _valueInstantiators, _version| Constructor and Description | +
|---|
AvroJavaTimeModule() |
+
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, versiongetDependenciesCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/class-use/AvroJavaTimeModule.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/class-use/AvroJavaTimeModule.html new file mode 100644 index 000000000..3b20aeffb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/class-use/AvroJavaTimeModule.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroInstantDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroInstantDeserializer.html new file mode 100644 index 000000000..8333447b6 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroInstantDeserializer.html @@ -0,0 +1,447 @@ + + + + + + +T - The type of a instant class that can be deserialized.public class AvroInstantDeserializer<T extends Temporal> +extends AvroJavaTimeDeserializerBase<T>+
com.fasterxml.jackson.databind.JsonDeserializer.None| Modifier and Type | +Field and Description | +
|---|---|
protected BiFunction<Instant,ZoneId,T> |
+fromInstant |
+
static AvroInstantDeserializer<Instant> |
+INSTANT |
+
static AvroInstantDeserializer<OffsetDateTime> |
+OFFSET_DATE_TIME |
+
static AvroInstantDeserializer<ZonedDateTime> |
+ZONED_DATE_TIME |
+
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroInstantDeserializer(Class<T> supportedType,
+ BiFunction<Instant,ZoneId,T> fromInstant) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected T |
+fromLong(long longValue,
+ ZoneId defaultZoneId) |
+
deserialize, logicalTypedeserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic static final AvroInstantDeserializer<Instant> INSTANT+
public static final AvroInstantDeserializer<OffsetDateTime> OFFSET_DATE_TIME+
public static final AvroInstantDeserializer<ZonedDateTime> ZONED_DATE_TIME+
protected final BiFunction<Instant,ZoneId,T extends Temporal> fromInstant+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroJavaTimeDeserializerBase.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroJavaTimeDeserializerBase.html new file mode 100644 index 000000000..998aa6364 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroJavaTimeDeserializerBase.html @@ -0,0 +1,394 @@ + + + + + + +public abstract class AvroJavaTimeDeserializerBase<T>
+extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
+com.fasterxml.jackson.databind.JsonDeserializer.None_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroJavaTimeDeserializerBase(Class<T> supportedType) |
+
| Modifier and Type | +Method and Description | +
|---|---|
T |
+deserialize(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext context) |
+
protected abstract T |
+fromLong(long longValue,
+ ZoneId defaultZoneId) |
+
com.fasterxml.jackson.databind.type.LogicalType |
+logicalType() |
+
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic com.fasterxml.jackson.databind.type.LogicalType logicalType()+
logicalType in class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>public T deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext context) + throws IOException+
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalDateDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalDateDeserializer.html new file mode 100644 index 000000000..88dcea85d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalDateDeserializer.html @@ -0,0 +1,400 @@ + + + + + + +public class AvroLocalDateDeserializer +extends AvroJavaTimeDeserializerBase<LocalDate>+
LocalDate from and integer value.
+
+ Deserialized value represents number of days from the unix epoch, 1 January 1970.
+
+ Deserialization from string is not supported.com.fasterxml.jackson.databind.JsonDeserializer.None| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateDeserializer |
+INSTANCE |
+
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroLocalDateDeserializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected LocalDate |
+fromLong(long longValue,
+ ZoneId defaultZoneId) |
+
deserialize, logicalTypedeserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic static final AvroLocalDateDeserializer INSTANCE+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalDateTimeDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalDateTimeDeserializer.html new file mode 100644 index 000000000..d38aebc61 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalDateTimeDeserializer.html @@ -0,0 +1,401 @@ + + + + + + +public class AvroLocalDateTimeDeserializer +extends AvroJavaTimeDeserializerBase<LocalDateTime>+
LocalDateTime from an integer value.
+
+ Deserialized value represents timestamp in a local timezone, regardless of what specific time zone
+ is considered local, with a precision of one millisecond from 1 January 1970 00:00:00.000.
+
+ Deserialization from string is not supported.com.fasterxml.jackson.databind.JsonDeserializer.None| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateTimeDeserializer |
+INSTANCE |
+
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroLocalDateTimeDeserializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected LocalDateTime |
+fromLong(long longValue,
+ ZoneId defaultZoneId) |
+
deserialize, logicalTypedeserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic static final AvroLocalDateTimeDeserializer INSTANCE+
protected AvroLocalDateTimeDeserializer()+
protected LocalDateTime fromLong(long longValue, + ZoneId defaultZoneId)+
fromLong in class AvroJavaTimeDeserializerBase<LocalDateTime>Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalTimeDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalTimeDeserializer.html new file mode 100644 index 000000000..4a2ee5f0e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/AvroLocalTimeDeserializer.html @@ -0,0 +1,401 @@ + + + + + + +public class AvroLocalTimeDeserializer +extends AvroJavaTimeDeserializerBase<LocalTime>+
LocalTime from an integer value.
+
+ Deserialized value represents time of day, with no reference to a particular calendar,
+ time zone or date, where the int stores the number of milliseconds after midnight, 00:00:00.000.
+
+ Deserialization from string is not supported.com.fasterxml.jackson.databind.JsonDeserializer.None| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalTimeDeserializer |
+INSTANCE |
+
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroLocalTimeDeserializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected LocalTime |
+fromLong(long longValue,
+ ZoneId defaultZoneId) |
+
deserialize, logicalTypedeserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic static final AvroLocalTimeDeserializer INSTANCE+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroInstantDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroInstantDeserializer.html new file mode 100644 index 000000000..cc21a9920 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroInstantDeserializer.html @@ -0,0 +1,174 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.deser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroInstantDeserializer<Instant> |
+AvroInstantDeserializer.INSTANT |
+
static AvroInstantDeserializer<OffsetDateTime> |
+AvroInstantDeserializer.OFFSET_DATE_TIME |
+
static AvroInstantDeserializer<ZonedDateTime> |
+AvroInstantDeserializer.ZONED_DATE_TIME |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroJavaTimeDeserializerBase.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroJavaTimeDeserializerBase.html new file mode 100644 index 000000000..187ae2e59 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroJavaTimeDeserializerBase.html @@ -0,0 +1,186 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.deser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+AvroInstantDeserializer<T extends Temporal>
+Deserializer for variants of java.time classes (Instant, OffsetDateTime, ZonedDateTime) from an integer value.
+ |
+
class |
+AvroLocalDateDeserializer
+Deserializer for
+LocalDate from and integer value. |
+
class |
+AvroLocalDateTimeDeserializer
+Deserializer for
+LocalDateTime from an integer value. |
+
class |
+AvroLocalTimeDeserializer
+Deserializer for
+LocalTime from an integer value. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalDateDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalDateDeserializer.html new file mode 100644 index 000000000..6c065311c --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalDateDeserializer.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.deser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateDeserializer |
+AvroLocalDateDeserializer.INSTANCE |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalDateTimeDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalDateTimeDeserializer.html new file mode 100644 index 000000000..f2dc2330e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalDateTimeDeserializer.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.deser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateTimeDeserializer |
+AvroLocalDateTimeDeserializer.INSTANCE |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalTimeDeserializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalTimeDeserializer.html new file mode 100644 index 000000000..26fc404c0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/class-use/AvroLocalTimeDeserializer.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.deser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalTimeDeserializer |
+AvroLocalTimeDeserializer.INSTANCE |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-frame.html new file mode 100644 index 000000000..a055b0117 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +| Class | +Description | +
|---|---|
| AvroInstantDeserializer<T extends Temporal> | +
+ Deserializer for variants of java.time classes (Instant, OffsetDateTime, ZonedDateTime) from an integer value.
+ |
+
| AvroJavaTimeDeserializerBase<T> | ++ |
| AvroLocalDateDeserializer | +
+ Deserializer for
+LocalDate from and integer value. |
+
| AvroLocalDateTimeDeserializer | +
+ Deserializer for
+LocalDateTime from an integer value. |
+
| AvroLocalTimeDeserializer | +
+ Deserializer for
+LocalTime from an integer value. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-tree.html new file mode 100644 index 000000000..d2b29264e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-use.html new file mode 100644 index 000000000..4b9a647d3 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/deser/package-use.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.deser | ++ |
| Class and Description | +
|---|
| AvroInstantDeserializer
+ Deserializer for variants of java.time classes (Instant, OffsetDateTime, ZonedDateTime) from an integer value.
+ |
+
| AvroJavaTimeDeserializerBase | +
| AvroLocalDateDeserializer
+ Deserializer for
+LocalDate from and integer value. |
+
| AvroLocalDateTimeDeserializer
+ Deserializer for
+LocalDateTime from an integer value. |
+
| AvroLocalTimeDeserializer
+ Deserializer for
+LocalTime from an integer value. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-frame.html new file mode 100644 index 000000000..4a50ee269 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +| Class | +Description | +
|---|---|
| AvroJavaTimeModule | +
+ A module that installs a collection of serializers and deserializers for java.time classes.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-tree.html new file mode 100644 index 000000000..f3afdb588 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-use.html new file mode 100644 index 000000000..4888eef3a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroInstantSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroInstantSerializer.html new file mode 100644 index 000000000..398d6653c --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroInstantSerializer.html @@ -0,0 +1,461 @@ + + + + + + +T - The type of a instant class that can be serialized.public class AvroInstantSerializer<T extends Temporal>
+extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<T>
+AvroSchemaGenerator.enableLogicalTypes()
+ it aims to produce Avro schema with type long and logicalType timestamp-millis:
+ {
+ "type" : "long",
+ "logicalType" : "timestamp-millis"
+ }
+
+ AvroInstantSerializer does not support serialization to string.com.fasterxml.jackson.databind.JsonSerializer.None| Modifier and Type | +Field and Description | +
|---|---|
static AvroInstantSerializer<Instant> |
+INSTANT |
+
static AvroInstantSerializer<OffsetDateTime> |
+OFFSET_DATE_TIME |
+
static AvroInstantSerializer<ZonedDateTime> |
+ZONED_DATE_TIME |
+
_handledType| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroInstantSerializer(Class<T> t,
+ Function<T,Instant> getInstant) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
+ com.fasterxml.jackson.databind.JavaType typeHint) |
+
void |
+serialize(T value,
+ com.fasterxml.jackson.core.JsonGenerator gen,
+ com.fasterxml.jackson.databind.SerializerProvider provider) |
+
getSchema, serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic static final AvroInstantSerializer<Instant> INSTANT+
public static final AvroInstantSerializer<OffsetDateTime> OFFSET_DATE_TIME+
public static final AvroInstantSerializer<ZonedDateTime> ZONED_DATE_TIME+
public void serialize(T value, + com.fasterxml.jackson.core.JsonGenerator gen, + com.fasterxml.jackson.databind.SerializerProvider provider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<T extends Temporal>IOExceptionpublic void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, + com.fasterxml.jackson.databind.JavaType typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<T extends Temporal>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalDateSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalDateSerializer.html new file mode 100644 index 000000000..49e39da8d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalDateSerializer.html @@ -0,0 +1,425 @@ + + + + + + +public class AvroLocalDateSerializer +extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<LocalDate>+
LocalDate into int value.
+
+ Serialized value represents number of days from the unix epoch, 1 January 1970 with no reference
+ to a particular time zone or time of day.
+
+ Note: In combination with AvroSchemaGenerator.enableLogicalTypes()
+ it aims to produce Avro schema with type int and logicalType date:
+ {
+ "type" : "int",
+ "logicalType" : "date"
+ }
+
+ Serialization to string is not supported.com.fasterxml.jackson.databind.JsonSerializer.None| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateSerializer |
+INSTANCE |
+
_handledType| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroLocalDateSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
+ com.fasterxml.jackson.databind.JavaType typeHint) |
+
void |
+serialize(LocalDate value,
+ com.fasterxml.jackson.core.JsonGenerator gen,
+ com.fasterxml.jackson.databind.SerializerProvider provider) |
+
getSchema, serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic static final AvroLocalDateSerializer INSTANCE+
protected AvroLocalDateSerializer()+
public void serialize(LocalDate value, + com.fasterxml.jackson.core.JsonGenerator gen, + com.fasterxml.jackson.databind.SerializerProvider provider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<LocalDate>IOExceptionpublic void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, + com.fasterxml.jackson.databind.JavaType typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<LocalDate>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalDateTimeSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalDateTimeSerializer.html new file mode 100644 index 000000000..87c509da0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalDateTimeSerializer.html @@ -0,0 +1,425 @@ + + + + + + +public class AvroLocalDateTimeSerializer +extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<LocalDateTime>+
LocalDateTime into long value
+
+ Serialized value represents timestamp in a local timezone, regardless of what specific time zone
+ is considered local, with a precision of one millisecond from 1 January 1970 00:00:00.000.
+
+ Note: In combination with AvroSchemaGenerator.enableLogicalTypes()
+ it aims to produce Avro schema with type long and logicalType local-timestamp-millis:
+ {
+ "type" : "long",
+ "logicalType" : "local-timestamp-millis"
+ }
+
+ Serialization to string is not supported.com.fasterxml.jackson.databind.JsonSerializer.None| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateTimeSerializer |
+INSTANCE |
+
_handledType| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroLocalDateTimeSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
+ com.fasterxml.jackson.databind.JavaType typeHint) |
+
void |
+serialize(LocalDateTime value,
+ com.fasterxml.jackson.core.JsonGenerator gen,
+ com.fasterxml.jackson.databind.SerializerProvider provider) |
+
getSchema, serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic static final AvroLocalDateTimeSerializer INSTANCE+
protected AvroLocalDateTimeSerializer()+
public void serialize(LocalDateTime value, + com.fasterxml.jackson.core.JsonGenerator gen, + com.fasterxml.jackson.databind.SerializerProvider provider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<LocalDateTime>IOExceptionpublic void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, + com.fasterxml.jackson.databind.JavaType typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<LocalDateTime>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalTimeSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalTimeSerializer.html new file mode 100644 index 000000000..0e3df118a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/AvroLocalTimeSerializer.html @@ -0,0 +1,425 @@ + + + + + + +public class AvroLocalTimeSerializer +extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<LocalTime>+
LocalTime into int value.
+
+ Serialized value represents time of day, with no reference to a particular calendar,
+ time zone or date, where the int stores the number of milliseconds after midnight, 00:00:00.000.
+
+ Note: In combination with AvroSchemaGenerator.enableLogicalTypes()
+ it aims to produce Avro schema with type int and logicalType time-millis:
+ {
+ "type" : "int",
+ "logicalType" : "time-millis"
+ }
+
+ Serialization to string is not supported.com.fasterxml.jackson.databind.JsonSerializer.None| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalTimeSerializer |
+INSTANCE |
+
_handledType| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroLocalTimeSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
+ com.fasterxml.jackson.databind.JavaType typeHint) |
+
void |
+serialize(LocalTime value,
+ com.fasterxml.jackson.core.JsonGenerator gen,
+ com.fasterxml.jackson.databind.SerializerProvider provider) |
+
getSchema, serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic static final AvroLocalTimeSerializer INSTANCE+
protected AvroLocalTimeSerializer()+
public void serialize(LocalTime value, + com.fasterxml.jackson.core.JsonGenerator gen, + com.fasterxml.jackson.databind.SerializerProvider provider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<LocalTime>IOExceptionpublic void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, + com.fasterxml.jackson.databind.JavaType typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<LocalTime>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroInstantSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroInstantSerializer.html new file mode 100644 index 000000000..cae9dd921 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroInstantSerializer.html @@ -0,0 +1,174 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.ser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroInstantSerializer<Instant> |
+AvroInstantSerializer.INSTANT |
+
static AvroInstantSerializer<OffsetDateTime> |
+AvroInstantSerializer.OFFSET_DATE_TIME |
+
static AvroInstantSerializer<ZonedDateTime> |
+AvroInstantSerializer.ZONED_DATE_TIME |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalDateSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalDateSerializer.html new file mode 100644 index 000000000..476d91911 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalDateSerializer.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.ser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateSerializer |
+AvroLocalDateSerializer.INSTANCE |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalDateTimeSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalDateTimeSerializer.html new file mode 100644 index 000000000..a7c55010c --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalDateTimeSerializer.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.ser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalDateTimeSerializer |
+AvroLocalDateTimeSerializer.INSTANCE |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalTimeSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalTimeSerializer.html new file mode 100644 index 000000000..f7edf5a7a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/class-use/AvroLocalTimeSerializer.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.ser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static AvroLocalTimeSerializer |
+AvroLocalTimeSerializer.INSTANCE |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-frame.html new file mode 100644 index 000000000..81a45088b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +| Class | +Description | +
|---|---|
| AvroInstantSerializer<T extends Temporal> | +
+ Serializer for variants of java.time classes (Instant, OffsetDateTime, ZonedDateTime) into long value.
+ |
+
| AvroLocalDateSerializer | +
+ Serializer for
+LocalDate into int value. |
+
| AvroLocalDateTimeSerializer | +
+ Serializer for
+LocalDateTime into long value
+
+ Serialized value represents timestamp in a local timezone, regardless of what specific time zone
+ is considered local, with a precision of one millisecond from 1 January 1970 00:00:00.000. |
+
| AvroLocalTimeSerializer | +
+ Serializer for
+LocalTime into int value. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-tree.html new file mode 100644 index 000000000..7dcb0408e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-tree.html @@ -0,0 +1,154 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-use.html new file mode 100644 index 000000000..11ae20d6d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/jsr310/ser/package-use.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.jsr310.ser | ++ |
| Class and Description | +
|---|
| AvroInstantSerializer
+ Serializer for variants of java.time classes (Instant, OffsetDateTime, ZonedDateTime) into long value.
+ |
+
| AvroLocalDateSerializer
+ Serializer for
+LocalDate into int value. |
+
| AvroLocalDateTimeSerializer
+ Serializer for
+LocalDateTime into long value
+
+ Serialized value represents timestamp in a local timezone, regardless of what specific time zone
+ is considered local, with a precision of one millisecond from 1 January 1970 00:00:00.000. |
+
| AvroLocalTimeSerializer
+ Serializer for
+LocalTime into int value. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-frame.html new file mode 100644 index 000000000..f4ad2d451 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-frame.html @@ -0,0 +1,45 @@ + + + + + + +| Class | +Description | +
|---|---|
| AvroAnnotationIntrospector | +
+ Adds support for the following annotations from the Apache Avro implementation:
+
+
+@AvroIgnore - Alias for JsonIgnore
+ @AvroName("custom Name") - Alias for JsonProperty("custom name")
+ @AvroDefault("default value") - Alias for JsonProperty.defaultValue, to
+ define default value for generated Schemas
+
+ @Nullable - Alias for JsonProperty(required = false)
+ @Stringable - Alias for JsonCreator on the constructor and JsonValue on
+ the Object.toString() method. |
+
| AvroFactory | +
+ Default
+JsonFactory implementation for encoding/decoding Avro
+ content, uses native Jackson encoder/decoder. |
+
| AvroFactoryBuilder | +
+TSFBuilder
+ implementation for constructing AvroFactory
+ instances. |
+
| AvroGenerator | ++ |
| AvroMapper | +
+ Convenience
+AvroMapper, which is mostly similar to simply
+ constructing a mapper with AvroFactory, but also adds little
+ bit of convenience around AvroSchema generation. |
+
| AvroMapper.Builder | +
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ Avro backend. |
+
| AvroModule | +
+ Module that adds support for handling datatypes specific to the standard
+ Java Avro library:
+
+ Support handling of
+Schema: remove from Avro lib generated types;
+ serialize as (JSON) String for others
+
+ Add special AnnotationIntrospector that supports Apache Avro lib
+ annotations
+
+ Support limited polymorphic handling of properties with nominal type
+ of Object. |
+
| AvroModule.SchemaSerializer | ++ |
| AvroParser | +
+JsonParser implementation for decoding Avro content and
+ exposing at as a stream of JsonTokens, to be used
+ for data binding. |
+
| AvroSchema | +
+ Wrapper for Schema information needed to encode and decode Avro-format
+ data.
+ |
+
| AvroSerializerModifier | +
+ Serializer modifier used to suppress serialization of "schema"
+ property for Avro-generated types.
+ |
+
| AvroTypeDeserializer | ++ |
| AvroTypeIdResolver | +
+TypeIdResolver for Avro type IDs embedded in schemas. |
+
| AvroTypeResolverBuilder | ++ |
| CustomEncodingWrapper<T> | +
+ Wrapper that makes the methods on a
+CustomEncoding accessible since they are otherwise package-private. |
+
| PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
| Enum | +Description | +
|---|---|
| AvroGenerator.Feature | +
+ Enumeration that defines all togglable features for Avro generators
+ |
+
| AvroParser.Feature | +
+ Enumeration that defines all togglable features for Avro parsers.
+ |
+
| Annotation Type | +Description | +
|---|---|
| AvroFixedSize | +
+ Only used during Avro schema generation; has no effect on data (de)serialization.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-tree.html new file mode 100644 index 000000000..206ca45f3 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-tree.html @@ -0,0 +1,259 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-use.html new file mode 100644 index 000000000..8dbf62993 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/package-use.html @@ -0,0 +1,348 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| com.fasterxml.jackson.dataformat.avro.ser | ++ |
| Class and Description | +
|---|
| AvroAnnotationIntrospector
+ Adds support for the following annotations from the Apache Avro implementation:
+
+
+@AvroIgnore - Alias for JsonIgnore
+ @AvroName("custom Name") - Alias for JsonProperty("custom name")
+ @AvroDefault("default value") - Alias for JsonProperty.defaultValue, to
+ define default value for generated Schemas
+
+ @Nullable - Alias for JsonProperty(required = false)
+ @Stringable - Alias for JsonCreator on the constructor and JsonValue on
+ the Object.toString() method. |
+
| AvroFactory
+ Default
+JsonFactory implementation for encoding/decoding Avro
+ content, uses native Jackson encoder/decoder. |
+
AvroFactoryBuilder
+TSFBuilder
+ implementation for constructing AvroFactory
+ instances. |
+
| AvroGenerator | +
| AvroGenerator.Feature
+ Enumeration that defines all togglable features for Avro generators
+ |
+
| AvroMapper
+ Convenience
+AvroMapper, which is mostly similar to simply
+ constructing a mapper with AvroFactory, but also adds little
+ bit of convenience around AvroSchema generation. |
+
| AvroMapper.Builder
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ Avro backend. |
+
| AvroModule
+ Module that adds support for handling datatypes specific to the standard
+ Java Avro library:
+
+ Support handling of
+Schema: remove from Avro lib generated types;
+ serialize as (JSON) String for others
+
+ Add special AnnotationIntrospector that supports Apache Avro lib
+ annotations
+
+ Support limited polymorphic handling of properties with nominal type
+ of Object. |
+
AvroParser
+JsonParser implementation for decoding Avro content and
+ exposing at as a stream of JsonTokens, to be used
+ for data binding. |
+
| AvroParser.Feature
+ Enumeration that defines all togglable features for Avro parsers.
+ |
+
| AvroSchema
+ Wrapper for Schema information needed to encode and decode Avro-format
+ data.
+ |
+
| Class and Description | +
|---|
| AvroFactory
+ Default
+JsonFactory implementation for encoding/decoding Avro
+ content, uses native Jackson encoder/decoder. |
+
AvroParser
+JsonParser implementation for decoding Avro content and
+ exposing at as a stream of JsonTokens, to be used
+ for data binding. |
+
| Class and Description | +
|---|
AvroParser
+JsonParser implementation for decoding Avro content and
+ exposing at as a stream of JsonTokens, to be used
+ for data binding. |
+
| AvroSchema
+ Wrapper for Schema information needed to encode and decode Avro-format
+ data.
+ |
+
| Class and Description | +
|---|
| AvroSchema
+ Wrapper for Schema information needed to encode and decode Avro-format
+ data.
+ |
+
| Class and Description | +
|---|
| AvroGenerator | +
| CustomEncodingWrapper
+ Wrapper that makes the methods on a
+CustomEncoding accessible since they are otherwise package-private. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/ArrayVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/ArrayVisitor.html new file mode 100644 index 000000000..9d8f704c7 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/ArrayVisitor.html @@ -0,0 +1,428 @@ + + + + + + +public class ArrayVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.Base +implements SchemaBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected org.apache.avro.Schema |
+_elementSchema |
+
protected com.fasterxml.jackson.databind.JavaType |
+_type |
+
protected VisitorFormatWrapperImpl |
+_visitorWrapper |
+
_provider| Constructor and Description | +
|---|
ArrayVisitor(com.fasterxml.jackson.databind.SerializerProvider p,
+ com.fasterxml.jackson.databind.JavaType type,
+ VisitorFormatWrapperImpl visitorWrapper) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
void |
+itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type) |
+
void |
+itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable visitable,
+ com.fasterxml.jackson.databind.JavaType type) |
+
getProvider, setProviderprotected final com.fasterxml.jackson.databind.JavaType _type+
protected final VisitorFormatWrapperImpl _visitorWrapper+
protected org.apache.avro.Schema _elementSchema+
public ArrayVisitor(com.fasterxml.jackson.databind.SerializerProvider p, + com.fasterxml.jackson.databind.JavaType type, + VisitorFormatWrapperImpl visitorWrapper)+
public org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderpublic void itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable visitable, + com.fasterxml.jackson.databind.JavaType type) + throws com.fasterxml.jackson.databind.JsonMappingException+
itemsFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitoritemsFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionpublic void itemsFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type) + throws com.fasterxml.jackson.databind.JsonMappingException+
itemsFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitoritemsFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/AvroSchemaGenerator.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/AvroSchemaGenerator.html new file mode 100644 index 000000000..4e824d089 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/AvroSchemaGenerator.html @@ -0,0 +1,366 @@ + + + + + + +public class AvroSchemaGenerator +extends VisitorFormatWrapperImpl+
AvroSchema for a given Java POJO,
+ using definitions Jackson would use for serialization.
+ An instance is typically given to
+ ObjectMapper.acceptJsonFormatVisitor(java.lang.Class<?>, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)
+ which will invoke necessary callbacks.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base_builder, _logicalTypesEnabled, _provider, _schemas, _valueSchema| Constructor and Description | +
|---|
AvroSchemaGenerator() |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroSchemaGenerator |
+disableLogicalTypes()
+Disables Avro schema with Logical Types generation.
+ |
+
AvroSchemaGenerator |
+enableLogicalTypes()
+Enables Avro schema with Logical Types generation.
+ |
+
AvroSchema |
+getGeneratedSchema() |
+
_throwUnsupported, _throwUnsupported, createChildWrapper, expectAnyFormat, expectArrayFormat, expectAvroFormat, expectBooleanFormat, expectIntegerFormat, expectMapFormat, expectNullFormat, expectNumberFormat, expectObjectFormat, expectStringFormat, getAvroSchema, getProvider, getSchemas, isLogicalTypesEnabled, setProviderpublic AvroSchema getGeneratedSchema()+
public AvroSchemaGenerator enableLogicalTypes()+
VisitorFormatWrapperImplenableLogicalTypes in class VisitorFormatWrapperImplpublic AvroSchemaGenerator disableLogicalTypes()+
VisitorFormatWrapperImpldisableLogicalTypes in class VisitorFormatWrapperImplCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/AvroSchemaHelper.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/AvroSchemaHelper.html new file mode 100644 index 000000000..c036e9bb4 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/AvroSchemaHelper.html @@ -0,0 +1,833 @@ + + + + + + +public abstract class AvroSchemaHelper +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
static String |
+AVRO_SCHEMA_PROP_CLASS
+Constant used by native Avro Schemas for indicating more specific
+ physical class of a value; referenced indirectly to reduce direct
+ dependencies to the standard avro library.
+ |
+
static String |
+AVRO_SCHEMA_PROP_ELEMENT_CLASS
+Constant used by native Avro Schemas for indicating more specific
+ physical class of a array element; referenced indirectly to reduce direct
+ dependencies to the standard avro library.
+ |
+
static String |
+AVRO_SCHEMA_PROP_KEY_CLASS
+Constant used by native Avro Schemas for indicating more specific
+ physical class of a map key; referenced indirectly to reduce direct
+ dependencies to the standard avro library.
+ |
+
protected static Set<Class<?>> |
+STRINGABLE_CLASSES
+Default stringable classes
+ |
+
| Constructor and Description | +
|---|
AvroSchemaHelper() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static org.apache.avro.Schema |
+addAlias(org.apache.avro.Schema schema,
+ com.fasterxml.jackson.databind.BeanDescription bean)
+Looks for
+@AvroAlias on bean and adds it to schema if it exists |
+
static org.apache.avro.Schema |
+anyNumberSchema() |
+
static org.apache.avro.Schema |
+createEnumSchema(com.fasterxml.jackson.databind.BeanDescription bean,
+ List<String> values)
+Constructs a new enum schema
+ |
+
static org.apache.avro.Schema |
+createUUIDSchema()
+Helper method to enclose details of expressing best Avro Schema for
+
+UUID: 16-byte fixed-length binary (alternative would
+ be basic variable length "bytes"). |
+
static String |
+getFullName(org.apache.avro.Schema schema)
+Returns the full name of a schema; This is similar to
+Schema.getFullName(), except that it properly handles namespaces for
+ nested classes. |
+
protected static String |
+getName(Class<?> cls) |
+
protected static String |
+getName(com.fasterxml.jackson.databind.JavaType type) |
+
protected static String |
+getNamespace(Class<?> cls) |
+
protected static String |
+getNamespace(com.fasterxml.jackson.databind.JavaType type) |
+
static String |
+getTypeId(Class<?> type)
+Returns the Avro type ID for a given type
+ |
+
static String |
+getTypeId(com.fasterxml.jackson.databind.JavaType type) |
+
static String |
+getTypeId(org.apache.avro.Schema schema)
+Returns the type ID for this schema, or
+null if none is present. |
+
static org.apache.avro.Schema |
+initializeRecordSchema(com.fasterxml.jackson.databind.BeanDescription bean)
+Initializes a record schema with metadata from the given class; this schema is returned in a non-finalized state, and still
+ needs to have fields added to it.
+ |
+
static boolean |
+isStringable(com.fasterxml.jackson.databind.introspect.AnnotatedClass type)
+Checks if a given type is "Stringable", that is one of the default
+
+STRINGABLE_CLASSES, is an Enum,
+ or is annotated with
+ @Stringable and has a constructor that takes a single string argument capable of deserializing the output of its
+ toString() method. |
+
static Object |
+jsonNodeToObject(com.fasterxml.jackson.databind.JsonNode defaultJsonValue) |
+
static com.fasterxml.jackson.databind.JsonNode |
+nullNode() |
+
static org.apache.avro.Schema |
+numericAvroSchema(com.fasterxml.jackson.core.JsonParser.NumberType type) |
+
static org.apache.avro.Schema |
+numericAvroSchema(com.fasterxml.jackson.core.JsonParser.NumberType type,
+ com.fasterxml.jackson.databind.JavaType hint) |
+
static com.fasterxml.jackson.databind.JsonNode |
+objectToJsonNode(Object defaultValue) |
+
static com.fasterxml.jackson.databind.JsonNode |
+parseDefaultValue(String defaultValue)
+Converts a default value represented as a string (such as from a schema specification) into a JsonNode for further handling.
+ |
+
static org.apache.avro.Schema |
+parseJsonSchema(String json)
+Parses a JSON-formatted representation of a schema
+ |
+
static org.apache.avro.Schema |
+simpleSchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type,
+ com.fasterxml.jackson.databind.JavaType hint) |
+
static org.apache.avro.Schema |
+stringableKeyMapSchema(com.fasterxml.jackson.databind.JavaType mapType,
+ com.fasterxml.jackson.databind.JavaType keyType,
+ org.apache.avro.Schema valueSchema) |
+
protected static <T> T |
+throwUnsupported() |
+
static org.apache.avro.Schema |
+typedSchema(org.apache.avro.Schema.Type nativeType,
+ com.fasterxml.jackson.databind.JavaType javaType)
+Helper method for constructing type-tagged "native" Avro Schema instance.
+ |
+
protected static org.apache.avro.Schema |
+unionWithNull(org.apache.avro.Schema otherSchema) |
+
public static final String AVRO_SCHEMA_PROP_CLASS+
public static final String AVRO_SCHEMA_PROP_KEY_CLASS+
public static final String AVRO_SCHEMA_PROP_ELEMENT_CLASS+
public static boolean isStringable(com.fasterxml.jackson.databind.introspect.AnnotatedClass type)+
STRINGABLE_CLASSES, is an Enum,
+ or is annotated with
+ @Stringable and has a constructor that takes a single string argument capable of deserializing the output of its
+ toString() method.type - Type to check if it can be serialized to a Avro string schematrue if it can be stored in a string schema, otherwise falseprotected static String getNamespace(com.fasterxml.jackson.databind.JavaType type)+
protected static String getName(com.fasterxml.jackson.databind.JavaType type)+
protected static org.apache.avro.Schema unionWithNull(org.apache.avro.Schema otherSchema)+
public static org.apache.avro.Schema simpleSchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes type, + com.fasterxml.jackson.databind.JavaType hint)+
public static org.apache.avro.Schema numericAvroSchema(com.fasterxml.jackson.core.JsonParser.NumberType type)+
public static org.apache.avro.Schema numericAvroSchema(com.fasterxml.jackson.core.JsonParser.NumberType type, + com.fasterxml.jackson.databind.JavaType hint)+
public static org.apache.avro.Schema typedSchema(org.apache.avro.Schema.Type nativeType, + com.fasterxml.jackson.databind.JavaType javaType)+
public static org.apache.avro.Schema anyNumberSchema()+
public static org.apache.avro.Schema stringableKeyMapSchema(com.fasterxml.jackson.databind.JavaType mapType, + com.fasterxml.jackson.databind.JavaType keyType, + org.apache.avro.Schema valueSchema)+
protected static <T> T throwUnsupported()+
public static org.apache.avro.Schema initializeRecordSchema(com.fasterxml.jackson.databind.BeanDescription bean)+
public static org.apache.avro.Schema parseJsonSchema(String json)+
public static org.apache.avro.Schema createEnumSchema(com.fasterxml.jackson.databind.BeanDescription bean, + List<String> values)+
bean - Enum type to use for name / description / namespacevalues - List of enum namesENUM schema.public static org.apache.avro.Schema createUUIDSchema()+
UUID: 16-byte fixed-length binary (alternative would
+ be basic variable length "bytes").public static org.apache.avro.Schema addAlias(org.apache.avro.Schema schema, + com.fasterxml.jackson.databind.BeanDescription bean)+
@AvroAlias on bean and adds it to schema if it existsschema - Schema to which the alias should be addedbean - Bean to inspect for type aliasesschema, possibly with an alias addedpublic static String getTypeId(com.fasterxml.jackson.databind.JavaType type)+
public static String getTypeId(Class<?> type)+
public static String getTypeId(org.apache.avro.Schema schema)+
null if none is present.public static String getFullName(org.apache.avro.Schema schema)+
Schema.getFullName(), except that it properly handles namespaces for
+ nested classes. (package.name.ClassName$NestedClassName instead of package.name.ClassName$.NestedClassName)
+ + WARNING! This method has to probe for nested classes in order to resolve whether or not a schema references a top-level + class or a nested class and return the corresponding name for each. +
public static com.fasterxml.jackson.databind.JsonNode nullNode()+
public static com.fasterxml.jackson.databind.JsonNode objectToJsonNode(Object defaultValue)+
public static Object jsonNodeToObject(com.fasterxml.jackson.databind.JsonNode defaultJsonValue)+
public static com.fasterxml.jackson.databind.JsonNode parseDefaultValue(String defaultValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
defaultValue - The default value to parse, in the form of a JSON stringcom.fasterxml.jackson.databind.JsonMappingException - If defaultValue is not valid JSONCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DateTimeVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DateTimeVisitor.html new file mode 100644 index 000000000..be2078d1a --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DateTimeVisitor.html @@ -0,0 +1,401 @@ + + + + + + +public class DateTimeVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor.Base +implements SchemaBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.JavaType |
+_hint |
+
protected com.fasterxml.jackson.core.JsonParser.NumberType |
+_type |
+
| Constructor and Description | +
|---|
DateTimeVisitor() |
+
DateTimeVisitor(com.fasterxml.jackson.databind.JavaType typeHint) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
void |
+numberType(com.fasterxml.jackson.core.JsonParser.NumberType type) |
+
enumTypes, formatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenumTypes, formatprotected com.fasterxml.jackson.core.JsonParser.NumberType _type+
protected com.fasterxml.jackson.databind.JavaType _hint+
public DateTimeVisitor()+
public DateTimeVisitor(com.fasterxml.jackson.databind.JavaType typeHint)+
public void numberType(com.fasterxml.jackson.core.JsonParser.NumberType type)+
numberType in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitornumberType in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor.Basepublic org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DefinedSchemas.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DefinedSchemas.html new file mode 100644 index 000000000..9160d80f3 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DefinedSchemas.html @@ -0,0 +1,365 @@ + + + + + + +public class DefinedSchemas +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.SerializerProvider |
+_provider |
+
protected Map<com.fasterxml.jackson.databind.JavaType,org.apache.avro.Schema> |
+_schemas |
+
| Constructor and Description | +
|---|
DefinedSchemas() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addSchema(com.fasterxml.jackson.databind.JavaType type,
+ org.apache.avro.Schema schema) |
+
org.apache.avro.Schema |
+findSchema(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.SerializerProvider |
+getProvider() |
+
void |
+setProvider(com.fasterxml.jackson.databind.SerializerProvider provider) |
+
protected final Map<com.fasterxml.jackson.databind.JavaType,org.apache.avro.Schema> _schemas+
protected com.fasterxml.jackson.databind.SerializerProvider _provider+
public void setProvider(com.fasterxml.jackson.databind.SerializerProvider provider)+
public com.fasterxml.jackson.databind.SerializerProvider getProvider()+
public org.apache.avro.Schema findSchema(com.fasterxml.jackson.databind.JavaType type)+
public void addSchema(com.fasterxml.jackson.databind.JavaType type, + org.apache.avro.Schema schema)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DoubleVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DoubleVisitor.html new file mode 100644 index 000000000..e282b4bb3 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/DoubleVisitor.html @@ -0,0 +1,389 @@ + + + + + + +public class DoubleVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor.Base +implements SchemaBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.JavaType |
+_hint |
+
protected com.fasterxml.jackson.core.JsonParser.NumberType |
+_type |
+
| Constructor and Description | +
|---|
DoubleVisitor(com.fasterxml.jackson.databind.JavaType typeHint) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
void |
+numberType(com.fasterxml.jackson.core.JsonParser.NumberType type) |
+
enumTypes, formatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenumTypes, formatprotected final com.fasterxml.jackson.databind.JavaType _hint+
protected com.fasterxml.jackson.core.JsonParser.NumberType _type+
public DoubleVisitor(com.fasterxml.jackson.databind.JavaType typeHint)+
public void numberType(com.fasterxml.jackson.core.JsonParser.NumberType type)+
numberType in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitornumberType in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor.Basepublic org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/IntegerVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/IntegerVisitor.html new file mode 100644 index 000000000..7caa63e52 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/IntegerVisitor.html @@ -0,0 +1,401 @@ + + + + + + +public class IntegerVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor.Base +implements SchemaBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.JavaType |
+_hint |
+
protected com.fasterxml.jackson.core.JsonParser.NumberType |
+_type |
+
| Constructor and Description | +
|---|
IntegerVisitor() |
+
IntegerVisitor(com.fasterxml.jackson.databind.JavaType typeHint) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
void |
+numberType(com.fasterxml.jackson.core.JsonParser.NumberType type) |
+
enumTypes, formatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenumTypes, formatprotected com.fasterxml.jackson.core.JsonParser.NumberType _type+
protected com.fasterxml.jackson.databind.JavaType _hint+
public IntegerVisitor()+
public IntegerVisitor(com.fasterxml.jackson.databind.JavaType typeHint)+
public void numberType(com.fasterxml.jackson.core.JsonParser.NumberType type)+
numberType in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitornumberType in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor.Basepublic org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/MapVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/MapVisitor.html new file mode 100644 index 000000000..b9eb8f9bd --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/MapVisitor.html @@ -0,0 +1,443 @@ + + + + + + +public class MapVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base +implements SchemaBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.JavaType |
+_keyType |
+
protected com.fasterxml.jackson.databind.JavaType |
+_type |
+
protected org.apache.avro.Schema |
+_valueSchema |
+
protected VisitorFormatWrapperImpl |
+_visitorWrapper |
+
_provider| Constructor and Description | +
|---|
MapVisitor(com.fasterxml.jackson.databind.SerializerProvider p,
+ com.fasterxml.jackson.databind.JavaType type,
+ VisitorFormatWrapperImpl visitorWrapper) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
void |
+keyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
+ com.fasterxml.jackson.databind.JavaType keyType) |
+
void |
+valueFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
+ com.fasterxml.jackson.databind.JavaType valueType) |
+
getProvider, setProviderprotected final com.fasterxml.jackson.databind.JavaType _type+
protected final VisitorFormatWrapperImpl _visitorWrapper+
protected org.apache.avro.Schema _valueSchema+
protected com.fasterxml.jackson.databind.JavaType _keyType+
public MapVisitor(com.fasterxml.jackson.databind.SerializerProvider p, + com.fasterxml.jackson.databind.JavaType type, + VisitorFormatWrapperImpl visitorWrapper)+
public org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderpublic void keyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, + com.fasterxml.jackson.databind.JavaType keyType) + throws com.fasterxml.jackson.databind.JsonMappingException+
keyFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitorkeyFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionpublic void valueFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, + com.fasterxml.jackson.databind.JavaType valueType) + throws com.fasterxml.jackson.databind.JsonMappingException+
valueFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitorvalueFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/RecordVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/RecordVisitor.html new file mode 100644 index 000000000..e7ab2c21e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/RecordVisitor.html @@ -0,0 +1,558 @@ + + + + + + +public class RecordVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base +implements SchemaBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected org.apache.avro.Schema |
+_avroSchema |
+
protected List<org.apache.avro.Schema.Field> |
+_fields |
+
protected boolean |
+_overridden
+Tracks if the schema for this record has been overridden (by an annotation or other means), and calls to the
+property and
+ optionalProperty methods should be ignored. |
+
protected com.fasterxml.jackson.databind.JavaType |
+_type |
+
protected VisitorFormatWrapperImpl |
+_visitorWrapper |
+
_provider| Constructor and Description | +
|---|
RecordVisitor(com.fasterxml.jackson.databind.SerializerProvider p,
+ com.fasterxml.jackson.databind.JavaType type,
+ VisitorFormatWrapperImpl visitorWrapper) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
void |
+optionalProperty(com.fasterxml.jackson.databind.BeanProperty writer) |
+
void |
+optionalProperty(String name,
+ com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
+ com.fasterxml.jackson.databind.JavaType type) |
+
void |
+property(com.fasterxml.jackson.databind.BeanProperty writer) |
+
void |
+property(String name,
+ com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
+ com.fasterxml.jackson.databind.JavaType type) |
+
protected org.apache.avro.Schema |
+reorderUnionToMatchDefaultType(org.apache.avro.Schema schema,
+ com.fasterxml.jackson.databind.JsonNode defaultValue)
+A union schema with a default value must always have the schema branch corresponding to the default value first, or Avro will print a
+ warning complaining that the default value is not compatible.
+ |
+
protected org.apache.avro.Schema.Field |
+schemaFieldForWriter(com.fasterxml.jackson.databind.BeanProperty prop,
+ boolean optional) |
+
getProvider, setProviderprotected final com.fasterxml.jackson.databind.JavaType _type+
protected final VisitorFormatWrapperImpl _visitorWrapper+
protected final boolean _overridden+
property and
+ optionalProperty methods should be ignored.protected org.apache.avro.Schema _avroSchema+
protected List<org.apache.avro.Schema.Field> _fields+
public RecordVisitor(com.fasterxml.jackson.databind.SerializerProvider p, + com.fasterxml.jackson.databind.JavaType type, + VisitorFormatWrapperImpl visitorWrapper)+
public org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderpublic void property(com.fasterxml.jackson.databind.BeanProperty writer) + throws com.fasterxml.jackson.databind.JsonMappingException+
property in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitorproperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionpublic void property(String name, + com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, + com.fasterxml.jackson.databind.JavaType type) + throws com.fasterxml.jackson.databind.JsonMappingException+
property in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitorproperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionpublic void optionalProperty(com.fasterxml.jackson.databind.BeanProperty writer) + throws com.fasterxml.jackson.databind.JsonMappingException+
optionalProperty in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitoroptionalProperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionpublic void optionalProperty(String name, + com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, + com.fasterxml.jackson.databind.JavaType type) + throws com.fasterxml.jackson.databind.JsonMappingException+
optionalProperty in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitoroptionalProperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionprotected org.apache.avro.Schema.Field schemaFieldForWriter(com.fasterxml.jackson.databind.BeanProperty prop, + boolean optional) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionprotected org.apache.avro.Schema reorderUnionToMatchDefaultType(org.apache.avro.Schema schema, + com.fasterxml.jackson.databind.JsonNode defaultValue)+
schema is a UNION schema and
+ defaultValue is non-null, this finds the appropriate branch in the union and reorders the union so that it is first.schema - Schema to reorder; If null or not a UNION, then it is returned unmodified.defaultValue - Default value to match with the uniondefaultValue; otherwise, schema is returned
+ unmodified.Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/SchemaBuilder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/SchemaBuilder.html new file mode 100644 index 000000000..64b3c0195 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/SchemaBuilder.html @@ -0,0 +1,227 @@ + + + + + + +public interface SchemaBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/StringVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/StringVisitor.html new file mode 100644 index 000000000..b186bc1e2 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/StringVisitor.html @@ -0,0 +1,424 @@ + + + + + + +public class StringVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor.Base +implements SchemaBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected Set<String> |
+_enums |
+
protected com.fasterxml.jackson.databind.SerializerProvider |
+_provider |
+
protected DefinedSchemas |
+_schemas |
+
protected com.fasterxml.jackson.databind.JavaType |
+_type |
+
| Constructor and Description | +
|---|
StringVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ DefinedSchemas schemas,
+ com.fasterxml.jackson.databind.JavaType t) |
+
| Modifier and Type | +Method and Description | +
|---|---|
org.apache.avro.Schema |
+builtAvroSchema() |
+
void |
+enumTypes(Set<String> enums) |
+
void |
+format(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat format) |
+
protected final com.fasterxml.jackson.databind.SerializerProvider _provider+
protected final com.fasterxml.jackson.databind.JavaType _type+
protected final DefinedSchemas _schemas+
public StringVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, + DefinedSchemas schemas, + com.fasterxml.jackson.databind.JavaType t)+
public void format(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat format)+
format in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitorformat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Basepublic void enumTypes(Set<String> enums)+
enumTypes in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitorenumTypes in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Basepublic org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/VisitorBase.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/VisitorBase.html new file mode 100644 index 000000000..372f3db9b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/VisitorBase.html @@ -0,0 +1,352 @@ + + + + + + +public abstract class VisitorBase +extends Object +implements com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider, SchemaBuilder+
| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.SerializerProvider |
+_provider |
+
| Constructor and Description | +
|---|
VisitorBase() |
+
| Modifier and Type | +Method and Description | +
|---|---|
abstract org.apache.avro.Schema |
+builtAvroSchema() |
+
com.fasterxml.jackson.databind.SerializerProvider |
+getProvider() |
+
void |
+setProvider(com.fasterxml.jackson.databind.SerializerProvider provider) |
+
protected com.fasterxml.jackson.databind.SerializerProvider _provider+
public abstract org.apache.avro.Schema builtAvroSchema()+
builtAvroSchema in interface SchemaBuilderpublic com.fasterxml.jackson.databind.SerializerProvider getProvider()+
getProvider in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProviderpublic void setProvider(com.fasterxml.jackson.databind.SerializerProvider provider)+
setProvider in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProviderCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/VisitorFormatWrapperImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/VisitorFormatWrapperImpl.html new file mode 100644 index 000000000..b79396853 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/VisitorFormatWrapperImpl.html @@ -0,0 +1,723 @@ + + + + + + +public class VisitorFormatWrapperImpl +extends Object +implements com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base| Modifier and Type | +Field and Description | +
|---|---|
protected SchemaBuilder |
+_builder
+Visitor used for resolving actual Schema, if structured type
+ (or one with complex configuration)
+ |
+
protected boolean |
+_logicalTypesEnabled |
+
protected com.fasterxml.jackson.databind.SerializerProvider |
+_provider |
+
protected DefinedSchemas |
+_schemas |
+
protected org.apache.avro.Schema |
+_valueSchema
+Schema for simple types that do not need a visitor.
+ |
+
| Modifier | +Constructor and Description | +
|---|---|
|
+VisitorFormatWrapperImpl(DefinedSchemas schemas,
+ com.fasterxml.jackson.databind.SerializerProvider p) |
+
protected |
+VisitorFormatWrapperImpl(VisitorFormatWrapperImpl src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected <T> T |
+_throwUnsupported() |
+
protected <T> T |
+_throwUnsupported(String msg) |
+
protected VisitorFormatWrapperImpl |
+createChildWrapper()
+Creates new
+VisitorFormatWrapperImpl instance with shared schemas,
+ serialization provider and same configuration. |
+
VisitorFormatWrapperImpl |
+disableLogicalTypes()
+Disables Avro schema with Logical Types generation.
+ |
+
VisitorFormatWrapperImpl |
+enableLogicalTypes()
+Enables Avro schema with Logical Types generation.
+ |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonAnyFormatVisitor |
+expectAnyFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor |
+expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
void |
+expectAvroFormat(AvroSchema schema) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor |
+expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor |
+expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor |
+expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNullFormatVisitor |
+expectNullFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor |
+expectNumberFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor |
+expectObjectFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor |
+expectStringFormat(com.fasterxml.jackson.databind.JavaType type) |
+
org.apache.avro.Schema |
+getAvroSchema() |
+
com.fasterxml.jackson.databind.SerializerProvider |
+getProvider() |
+
protected DefinedSchemas |
+getSchemas() |
+
boolean |
+isLogicalTypesEnabled() |
+
void |
+setProvider(com.fasterxml.jackson.databind.SerializerProvider provider) |
+
protected com.fasterxml.jackson.databind.SerializerProvider _provider+
protected final DefinedSchemas _schemas+
protected boolean _logicalTypesEnabled+
protected SchemaBuilder _builder+
protected org.apache.avro.Schema _valueSchema+
public VisitorFormatWrapperImpl(DefinedSchemas schemas, + com.fasterxml.jackson.databind.SerializerProvider p)+
protected VisitorFormatWrapperImpl(VisitorFormatWrapperImpl src)+
protected VisitorFormatWrapperImpl createChildWrapper()+
VisitorFormatWrapperImpl instance with shared schemas,
+ serialization provider and same configuration.public com.fasterxml.jackson.databind.SerializerProvider getProvider()+
getProvider in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProviderpublic void setProvider(com.fasterxml.jackson.databind.SerializerProvider provider)+
setProvider in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProviderprotected DefinedSchemas getSchemas()+
public org.apache.avro.Schema getAvroSchema()+
public VisitorFormatWrapperImpl enableLogicalTypes()+
public VisitorFormatWrapperImpl disableLogicalTypes()+
public boolean isLogicalTypesEnabled()+
public void expectAvroFormat(AvroSchema schema)+
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType type)+
expectObjectFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType)+
expectMapFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectArrayFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor expectStringFormat(com.fasterxml.jackson.databind.JavaType type)+
expectStringFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor expectNumberFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectNumberFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type)+
expectIntegerFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectBooleanFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNullFormatVisitor expectNullFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectNullFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonAnyFormatVisitor expectAnyFormat(com.fasterxml.jackson.databind.JavaType convertedType) + throws com.fasterxml.jackson.databind.JsonMappingException+
expectAnyFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrappercom.fasterxml.jackson.databind.JsonMappingExceptionprotected <T> T _throwUnsupported()+
protected <T> T _throwUnsupported(String msg)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/ArrayVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/ArrayVisitor.html new file mode 100644 index 000000000..7b64483ad --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/ArrayVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/AvroSchemaGenerator.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/AvroSchemaGenerator.html new file mode 100644 index 000000000..1cdcbc81e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/AvroSchemaGenerator.html @@ -0,0 +1,174 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
AvroSchemaGenerator |
+AvroSchemaGenerator.disableLogicalTypes() |
+
AvroSchemaGenerator |
+AvroSchemaGenerator.enableLogicalTypes() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/AvroSchemaHelper.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/AvroSchemaHelper.html new file mode 100644 index 000000000..98fbefd7b --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/AvroSchemaHelper.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DateTimeVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DateTimeVisitor.html new file mode 100644 index 000000000..d854b7455 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DateTimeVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DefinedSchemas.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DefinedSchemas.html new file mode 100644 index 000000000..c97aef467 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DefinedSchemas.html @@ -0,0 +1,204 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected DefinedSchemas |
+VisitorFormatWrapperImpl._schemas |
+
protected DefinedSchemas |
+StringVisitor._schemas |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected DefinedSchemas |
+VisitorFormatWrapperImpl.getSchemas() |
+
| Constructor and Description | +
|---|
StringVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ DefinedSchemas schemas,
+ com.fasterxml.jackson.databind.JavaType t) |
+
VisitorFormatWrapperImpl(DefinedSchemas schemas,
+ com.fasterxml.jackson.databind.SerializerProvider p) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DoubleVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DoubleVisitor.html new file mode 100644 index 000000000..194fa9e80 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/DoubleVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/IntegerVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/IntegerVisitor.html new file mode 100644 index 000000000..e4b7a2a00 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/IntegerVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/MapVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/MapVisitor.html new file mode 100644 index 000000000..998bf8508 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/MapVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/RecordVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/RecordVisitor.html new file mode 100644 index 000000000..1bf210d75 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/RecordVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/SchemaBuilder.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/SchemaBuilder.html new file mode 100644 index 000000000..ac71e5c84 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/SchemaBuilder.html @@ -0,0 +1,214 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ArrayVisitor |
+
class |
+DateTimeVisitor |
+
class |
+DoubleVisitor |
+
class |
+IntegerVisitor |
+
class |
+MapVisitor |
+
class |
+RecordVisitor |
+
class |
+StringVisitor |
+
class |
+VisitorBase |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected SchemaBuilder |
+VisitorFormatWrapperImpl._builder
+Visitor used for resolving actual Schema, if structured type
+ (or one with complex configuration)
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/StringVisitor.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/StringVisitor.html new file mode 100644 index 000000000..a62a272a5 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/StringVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/VisitorBase.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/VisitorBase.html new file mode 100644 index 000000000..236d9c1bb --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/VisitorBase.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/VisitorFormatWrapperImpl.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/VisitorFormatWrapperImpl.html new file mode 100644 index 000000000..081628e49 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/class-use/VisitorFormatWrapperImpl.html @@ -0,0 +1,248 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+AvroSchemaGenerator
+Class that can generate an
+AvroSchema for a given Java POJO,
+ using definitions Jackson would use for serialization. |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected VisitorFormatWrapperImpl |
+MapVisitor._visitorWrapper |
+
protected VisitorFormatWrapperImpl |
+RecordVisitor._visitorWrapper |
+
protected VisitorFormatWrapperImpl |
+ArrayVisitor._visitorWrapper |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected VisitorFormatWrapperImpl |
+VisitorFormatWrapperImpl.createChildWrapper()
+Creates new
+VisitorFormatWrapperImpl instance with shared schemas,
+ serialization provider and same configuration. |
+
VisitorFormatWrapperImpl |
+VisitorFormatWrapperImpl.disableLogicalTypes()
+Disables Avro schema with Logical Types generation.
+ |
+
VisitorFormatWrapperImpl |
+VisitorFormatWrapperImpl.enableLogicalTypes()
+Enables Avro schema with Logical Types generation.
+ |
+
| Constructor and Description | +
|---|
ArrayVisitor(com.fasterxml.jackson.databind.SerializerProvider p,
+ com.fasterxml.jackson.databind.JavaType type,
+ VisitorFormatWrapperImpl visitorWrapper) |
+
MapVisitor(com.fasterxml.jackson.databind.SerializerProvider p,
+ com.fasterxml.jackson.databind.JavaType type,
+ VisitorFormatWrapperImpl visitorWrapper) |
+
RecordVisitor(com.fasterxml.jackson.databind.SerializerProvider p,
+ com.fasterxml.jackson.databind.JavaType type,
+ VisitorFormatWrapperImpl visitorWrapper) |
+
VisitorFormatWrapperImpl(VisitorFormatWrapperImpl src) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-frame.html new file mode 100644 index 000000000..082ae36a6 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-frame.html @@ -0,0 +1,36 @@ + + + + + + +See: Description
+| Interface | +Description | +
|---|---|
| SchemaBuilder | ++ |
| Class | +Description | +
|---|---|
| ArrayVisitor | ++ |
| AvroSchemaGenerator | +
+ Class that can generate an
+AvroSchema for a given Java POJO,
+ using definitions Jackson would use for serialization. |
+
| AvroSchemaHelper | ++ |
| DateTimeVisitor | ++ |
| DefinedSchemas | +
+ Simple container for Schemas that have already been generated during
+ generation process; used to share definitions.
+ |
+
| DoubleVisitor | ++ |
| IntegerVisitor | ++ |
| MapVisitor | ++ |
| RecordVisitor | ++ |
| StringVisitor | ++ |
| VisitorBase | ++ |
| VisitorFormatWrapperImpl | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-tree.html new file mode 100644 index 000000000..cd6bf317d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-tree.html @@ -0,0 +1,185 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-use.html new file mode 100644 index 000000000..b2792feda --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/schema/package-use.html @@ -0,0 +1,178 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| Class and Description | +
|---|
| AvroSchemaGenerator
+ Class that can generate an
+AvroSchema for a given Java POJO,
+ using definitions Jackson would use for serialization. |
+
| DefinedSchemas
+ Simple container for Schemas that have already been generated during
+ generation process; used to share definitions.
+ |
+
| SchemaBuilder | +
| VisitorFormatWrapperImpl | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/ArrayWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/ArrayWriteContext.html new file mode 100644 index 000000000..5f7e04834 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/ArrayWriteContext.html @@ -0,0 +1,472 @@ + + + + + + +public class ArrayWriteContext +extends AvroWriteContext+
| Modifier and Type | +Field and Description | +
|---|---|
protected org.apache.avro.generic.GenericArray<Object> |
+_array |
+
_currentValue, _generator, _parent, _schema_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
ArrayWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.generic.GenericArray<Object> array,
+ Object currValue) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+appendDesc(StringBuilder sb) |
+
AvroWriteContext |
+createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+createChildObjectContext(Object currValue) |
+
Object |
+rawValue()
+Accessor called to link data being built with resulting object.
+ |
+
void |
+writeNull() |
+
void |
+writeString(String value) |
+
void |
+writeValue(Object value) |
+
_createArray, _createObjectContext, _createRecord, _createRecord, _recordOrMapFromUnion, canClose, complete, createRootContext, getCurrentName, getCurrentValue, getParent, nullContext, resolveUnionIndex, resolveUnionSchema, resolveUnionType, setCurrentValue, toString, writeBinary, writeFieldNamegetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final org.apache.avro.generic.GenericArray<Object> _array+
public ArrayWriteContext(AvroWriteContext parent, + AvroGenerator generator, + org.apache.avro.generic.GenericArray<Object> array, + Object currValue)+
public Object rawValue()+
AvroWriteContextrawValue in class AvroWriteContextpublic final AvroWriteContext createChildArrayContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
createChildArrayContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic AvroWriteContext createChildObjectContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
createChildObjectContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic void writeValue(Object value)+
writeValue in class AvroWriteContextpublic void writeString(String value)+
writeString in class AvroWriteContextpublic void writeNull() + throws com.fasterxml.jackson.databind.JsonMappingException+
writeNull in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic void appendDesc(StringBuilder sb)+
appendDesc in class AvroWriteContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/AvroWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/AvroWriteContext.html new file mode 100644 index 000000000..0a5c7c865 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/AvroWriteContext.html @@ -0,0 +1,854 @@ + + + + + + +public abstract class AvroWriteContext
+extends com.fasterxml.jackson.core.JsonStreamContext
+| Modifier and Type | +Field and Description | +
|---|---|
protected Object |
+_currentValue |
+
protected AvroGenerator |
+_generator |
+
protected AvroWriteContext |
+_parent |
+
protected org.apache.avro.Schema |
+_schema |
+
_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+AvroWriteContext(int type,
+ AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ Object currValue) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected org.apache.avro.generic.GenericArray<Object> |
+_createArray(org.apache.avro.Schema schema) |
+
protected AvroWriteContext |
+_createObjectContext(org.apache.avro.Schema schema,
+ Object currValue) |
+
protected org.apache.avro.generic.GenericRecord |
+_createRecord(org.apache.avro.Schema schema) |
+
protected org.apache.avro.generic.GenericRecord |
+_createRecord(org.apache.avro.Schema schema,
+ Object currValue) |
+
protected org.apache.avro.Schema |
+_recordOrMapFromUnion(org.apache.avro.Schema unionSchema) |
+
protected abstract void |
+appendDesc(StringBuilder sb) |
+
boolean |
+canClose() |
+
void |
+complete() |
+
abstract AvroWriteContext |
+createChildArrayContext(Object currValue) |
+
abstract AvroWriteContext |
+createChildObjectContext(Object currValue) |
+
static AvroWriteContext |
+createRootContext(AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ org.apache.avro.io.BinaryEncoder encoder) |
+
String |
+getCurrentName() |
+
Object |
+getCurrentValue() |
+
AvroWriteContext |
+getParent() |
+
static AvroWriteContext |
+nullContext()
+Factory method called to get a placeholder context that is only
+ in place until actual schema is handed.
+ |
+
abstract Object |
+rawValue()
+Accessor called to link data being built with resulting object.
+ |
+
static int |
+resolveUnionIndex(org.apache.avro.Schema unionSchema,
+ Object datum)
+Resolves the sub-schema from a union that should correspond to the
+datum. |
+
static org.apache.avro.Schema |
+resolveUnionSchema(org.apache.avro.Schema unionSchema,
+ Object datum)
+Resolves the sub-schema from a union that should correspond to the
+datum. |
+
static org.apache.avro.Schema |
+resolveUnionType(org.apache.avro.Schema unionSchema,
+ Object datum) |
+
void |
+setCurrentValue(Object v) |
+
String |
+toString()
+Overridden to provide developer writeable "JsonPath" representation
+ of the context.
+ |
+
void |
+writeBinary(byte[] data,
+ int offset,
+ int len) |
+
boolean |
+writeFieldName(String name)
+Method that writer is to call before it writes a field name.
+ |
+
abstract void |
+writeNull() |
+
abstract void |
+writeString(String value) |
+
abstract void |
+writeValue(Object value) |
+
getCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final AvroWriteContext _parent+
protected final AvroGenerator _generator+
protected final org.apache.avro.Schema _schema+
protected Object _currentValue+
protected AvroWriteContext(int type, + AvroWriteContext parent, + AvroGenerator generator, + org.apache.avro.Schema schema, + Object currValue)+
public static AvroWriteContext createRootContext(AvroGenerator generator, + org.apache.avro.Schema schema, + org.apache.avro.io.BinaryEncoder encoder)+
public static AvroWriteContext nullContext()+
public abstract AvroWriteContext createChildArrayContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionpublic abstract AvroWriteContext createChildObjectContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionpublic void complete() + throws IOException+
IOExceptionpublic Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic final AvroWriteContext getParent()+
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic String getCurrentName()+
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic boolean writeFieldName(String name) + throws IOException+
ObjectWriteContext,
+ iff column was recognized)IOExceptionpublic abstract void writeValue(Object value) + throws IOException+
IOExceptionpublic void writeBinary(byte[] data, + int offset, + int len) + throws IOException+
IOExceptionpublic abstract void writeString(String value) + throws IOException+
IOExceptionpublic abstract void writeNull() + throws IOException+
IOExceptionpublic abstract Object rawValue()+
public boolean canClose()+
protected abstract void appendDesc(StringBuilder sb)+
public final String toString()+
toString in class com.fasterxml.jackson.core.JsonStreamContextprotected org.apache.avro.generic.GenericRecord _createRecord(org.apache.avro.Schema schema, + Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionprotected org.apache.avro.generic.GenericRecord _createRecord(org.apache.avro.Schema schema) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionprotected org.apache.avro.generic.GenericArray<Object> _createArray(org.apache.avro.Schema schema)+
protected AvroWriteContext _createObjectContext(org.apache.avro.Schema schema, + Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionprotected org.apache.avro.Schema _recordOrMapFromUnion(org.apache.avro.Schema unionSchema)+
public static int resolveUnionIndex(org.apache.avro.Schema unionSchema, + Object datum)+
datum.unionSchema - Union of schemas from which to choosedatum - Object that needs to map to one of the schemas in unionSchemaunionSchema.getTypes() that matches datumorg.apache.avro.UnresolvedUnionException - if unionSchema does not have a schema that can encode datumresolveUnionSchema(Schema, Object)public static org.apache.avro.Schema resolveUnionType(org.apache.avro.Schema unionSchema, + Object datum)+
public static org.apache.avro.Schema resolveUnionSchema(org.apache.avro.Schema unionSchema, + Object datum)+
datum.unionSchema - Union of schemas from which to choosedatum - Object that needs to map to one of the schemas in unionSchemadatumorg.apache.avro.UnresolvedUnionException - if unionSchema does not have a schema that can encode datumresolveUnionIndex(Schema, Object)Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/CustomEncodingDatum.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/CustomEncodingDatum.html new file mode 100644 index 000000000..5e2a6c60d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/CustomEncodingDatum.html @@ -0,0 +1,300 @@ + + + + + + +T - Type of data supported by this EncodedDatumpublic class CustomEncodingDatum<T> +extends Object +implements EncodedDatum+
CustomEncoding| Constructor and Description | +
|---|
CustomEncodingDatum(CustomEncodingWrapper<T> encoding,
+ T datum) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+write(org.apache.avro.io.Encoder encoder)
+Callback invoked when it is time to write this datum to the output
+ |
+
public CustomEncodingDatum(CustomEncodingWrapper<T> encoding, + T datum)+
public void write(org.apache.avro.io.Encoder encoder) + throws IOException+
EncodedDatumwrite in interface EncodedDatumencoder - Encoder to which the datum should be writtenIOException - if there was an error writing out the datumCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/CustomEncodingSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/CustomEncodingSerializer.html new file mode 100644 index 000000000..77cae8930 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/CustomEncodingSerializer.html @@ -0,0 +1,348 @@ + + + + + + +public class CustomEncodingSerializer<T>
+extends com.fasterxml.jackson.databind.JsonSerializer<T>
+CustomEncodingAvroAnnotationIntrospectorcom.fasterxml.jackson.databind.JsonSerializer.None| Constructor and Description | +
|---|
CustomEncodingSerializer(org.apache.avro.reflect.CustomEncoding<T> encoding) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
+ com.fasterxml.jackson.databind.JavaType type) |
+
void |
+serialize(T t,
+ com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
+ com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
+
getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterIdpublic CustomEncodingSerializer(org.apache.avro.reflect.CustomEncoding<T> encoding)+
public void serialize(T t, + com.fasterxml.jackson.core.JsonGenerator jsonGenerator, + com.fasterxml.jackson.databind.SerializerProvider serializerProvider) + throws IOException, + com.fasterxml.jackson.core.JsonProcessingException+
serialize in class com.fasterxml.jackson.databind.JsonSerializer<T>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, + com.fasterxml.jackson.databind.JavaType type) + throws com.fasterxml.jackson.databind.JsonMappingException+
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.JsonSerializer<T>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/EncodedDatum.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/EncodedDatum.html new file mode 100644 index 000000000..70facf200 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/EncodedDatum.html @@ -0,0 +1,239 @@ + + + + + + +public interface EncodedDatum
+AvroGenerator.writeEmbeddedObject(Object) and will
+ be written directly to the encoder.| Modifier and Type | +Method and Description | +
|---|---|
void |
+write(org.apache.avro.io.Encoder encoder)
+Callback invoked when it is time to write this datum to the output
+ |
+
void write(org.apache.avro.io.Encoder encoder) + throws IOException+
encoder - Encoder to which the datum should be writtenIOException - if there was an error writing out the datumCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/MapWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/MapWriteContext.html new file mode 100644 index 000000000..b32c34035 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/MapWriteContext.html @@ -0,0 +1,565 @@ + + + + + + +public final class MapWriteContext +extends AvroWriteContext+
ObjectWriteContext that needs to be used with
+ Avro Map datatype.| Modifier and Type | +Field and Description | +
|---|---|
protected String |
+_currentName |
+
protected Map<String,Object> |
+_data |
+
protected boolean |
+_expectValue |
+
_currentValue, _generator, _parent, _schema_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
MapWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ Object currValue) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_verifyValueWrite() |
+
void |
+appendDesc(StringBuilder sb) |
+
boolean |
+canClose() |
+
AvroWriteContext |
+createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+createChildObjectContext(Object currValue) |
+
String |
+getCurrentName() |
+
Object |
+rawValue()
+Accessor called to link data being built with resulting object.
+ |
+
boolean |
+writeFieldName(String name)
+Method that writer is to call before it writes a field name.
+ |
+
void |
+writeNull() |
+
void |
+writeString(String value) |
+
void |
+writeValue(Object value) |
+
_createArray, _createObjectContext, _createRecord, _createRecord, _recordOrMapFromUnion, complete, createRootContext, getCurrentValue, getParent, nullContext, resolveUnionIndex, resolveUnionSchema, resolveUnionType, setCurrentValue, toString, writeBinarygetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected String _currentName+
protected boolean _expectValue+
public MapWriteContext(AvroWriteContext parent, + AvroGenerator generator, + org.apache.avro.Schema schema, + Object currValue)+
public Object rawValue()+
AvroWriteContextrawValue in class AvroWriteContextpublic final boolean writeFieldName(String name)+
AvroWriteContextwriteFieldName in class AvroWriteContextObjectWriteContext,
+ iff column was recognized)public final AvroWriteContext createChildArrayContext(Object currValue)+
createChildArrayContext in class AvroWriteContextpublic final AvroWriteContext createChildObjectContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
createChildObjectContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic void writeValue(Object value)+
writeValue in class AvroWriteContextpublic void writeString(String value)+
writeString in class AvroWriteContextpublic void writeNull()+
writeNull in class AvroWriteContextprotected final void _verifyValueWrite()+
public final String getCurrentName()+
getCurrentName in class AvroWriteContextpublic boolean canClose()+
canClose in class AvroWriteContextpublic final void appendDesc(StringBuilder sb)+
appendDesc in class AvroWriteContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/NonBSGenericDatumWriter.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/NonBSGenericDatumWriter.html new file mode 100644 index 000000000..20ef9c5b4 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/NonBSGenericDatumWriter.html @@ -0,0 +1,325 @@ + + + + + + +public class NonBSGenericDatumWriter<D>
+extends org.apache.avro.generic.GenericDatumWriter<D>
+| Constructor and Description | +
|---|
NonBSGenericDatumWriter(org.apache.avro.Schema root) |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+resolveUnion(org.apache.avro.Schema union,
+ Object datum) |
+
protected void |
+write(org.apache.avro.Schema schema,
+ Object datum,
+ org.apache.avro.io.Encoder out) |
+
convert, getArrayElements, getArraySize, getData, getMapEntries, getMapSize, npe, setSchema, write, writeArray, writeBytes, writeEnum, writeField, writeFixed, writeMap, writeRecord, writeString, writeString, writeWithoutConversionpublic NonBSGenericDatumWriter(org.apache.avro.Schema root)+
public int resolveUnion(org.apache.avro.Schema union, + Object datum)+
resolveUnion in class org.apache.avro.generic.GenericDatumWriter<D>protected void write(org.apache.avro.Schema schema, + Object datum, + org.apache.avro.io.Encoder out) + throws IOException+
write in class org.apache.avro.generic.GenericDatumWriter<D>IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/NopWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/NopWriteContext.html new file mode 100644 index 000000000..02454553c --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/NopWriteContext.html @@ -0,0 +1,442 @@ + + + + + + +public class NopWriteContext +extends AvroWriteContext+
AvroWriteContext used when ignoring structured output._currentValue, _generator, _parent, _schema_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
NopWriteContext(int type,
+ AvroWriteContext parent,
+ AvroGenerator generator,
+ Object currValue) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+appendDesc(StringBuilder sb) |
+
AvroWriteContext |
+createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+createChildObjectContext(Object currValue) |
+
Object |
+rawValue()
+Accessor called to link data being built with resulting object.
+ |
+
void |
+writeNull() |
+
void |
+writeString(String value) |
+
void |
+writeValue(Object value) |
+
_createArray, _createObjectContext, _createRecord, _createRecord, _recordOrMapFromUnion, canClose, complete, createRootContext, getCurrentName, getCurrentValue, getParent, nullContext, resolveUnionIndex, resolveUnionSchema, resolveUnionType, setCurrentValue, toString, writeBinary, writeFieldNamegetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescpublic NopWriteContext(int type, + AvroWriteContext parent, + AvroGenerator generator, + Object currValue)+
public Object rawValue()+
AvroWriteContextrawValue in class AvroWriteContextpublic final AvroWriteContext createChildArrayContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
createChildArrayContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic final AvroWriteContext createChildObjectContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
createChildObjectContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic void writeValue(Object value)+
writeValue in class AvroWriteContextpublic void writeString(String value)+
writeString in class AvroWriteContextpublic void writeNull()+
writeNull in class AvroWriteContextpublic void appendDesc(StringBuilder sb)+
appendDesc in class AvroWriteContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/ObjectWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/ObjectWriteContext.html new file mode 100644 index 000000000..c97fc39c3 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/ObjectWriteContext.html @@ -0,0 +1,610 @@ + + + + + + +public final class ObjectWriteContext +extends AvroWriteContext+
| Modifier and Type | +Field and Description | +
|---|---|
protected String |
+_currentName |
+
protected boolean |
+_expectValue |
+
protected org.apache.avro.Schema.Field |
+_nextField
+Definition of property that is to be written next, if any;
+ null if property is to be skipped.
+ |
+
protected org.apache.avro.generic.GenericRecord |
+_record |
+
_currentValue, _generator, _parent, _schema_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
ObjectWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.generic.GenericRecord record,
+ Object currValue) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected org.apache.avro.Schema.Field |
+_findField() |
+
protected void |
+_reportUnknownField(String name) |
+
protected void |
+_verifyValueWrite() |
+
void |
+appendDesc(StringBuilder sb) |
+
boolean |
+canClose() |
+
AvroWriteContext |
+createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+createChildObjectContext(Object currValue) |
+
String |
+getCurrentName() |
+
Object |
+rawValue()
+Accessor called to link data being built with resulting object.
+ |
+
boolean |
+writeFieldName(String name)
+Method that writer is to call before it writes a field name.
+ |
+
void |
+writeNull() |
+
void |
+writeString(String value) |
+
void |
+writeValue(Object value) |
+
_createArray, _createObjectContext, _createRecord, _createRecord, _recordOrMapFromUnion, complete, createRootContext, getCurrentValue, getParent, nullContext, resolveUnionIndex, resolveUnionSchema, resolveUnionType, setCurrentValue, toString, writeBinarygetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final org.apache.avro.generic.GenericRecord _record+
protected org.apache.avro.Schema.Field _nextField+
protected String _currentName+
protected boolean _expectValue+
public ObjectWriteContext(AvroWriteContext parent, + AvroGenerator generator, + org.apache.avro.generic.GenericRecord record, + Object currValue)+
public Object rawValue()+
AvroWriteContextrawValue in class AvroWriteContextpublic final AvroWriteContext createChildArrayContext(Object currValue)+
createChildArrayContext in class AvroWriteContextpublic AvroWriteContext createChildObjectContext(Object currValue) + throws com.fasterxml.jackson.databind.JsonMappingException+
createChildObjectContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic final boolean writeFieldName(String name)+
AvroWriteContextwriteFieldName in class AvroWriteContextObjectWriteContext,
+ iff column was recognized)public void writeValue(Object value) + throws com.fasterxml.jackson.databind.JsonMappingException+
writeValue in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic void writeString(String value)+
writeString in class AvroWriteContextpublic void writeNull()+
writeNull in class AvroWriteContextprotected final void _verifyValueWrite()+
protected org.apache.avro.Schema.Field _findField()+
protected void _reportUnknownField(String name)+
public final String getCurrentName()+
getCurrentName in class AvroWriteContextpublic boolean canClose()+
canClose in class AvroWriteContextpublic final void appendDesc(StringBuilder sb)+
appendDesc in class AvroWriteContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/ArrayWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/ArrayWriteContext.html new file mode 100644 index 000000000..76c20dd1e --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/ArrayWriteContext.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/AvroWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/AvroWriteContext.html new file mode 100644 index 000000000..08990c4d0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/AvroWriteContext.html @@ -0,0 +1,336 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.ser | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroWriteContext |
+AvroGenerator._avroContext
+Current context
+ |
+
protected AvroWriteContext |
+AvroGenerator._rootContext
+Reference to the root context since that is needed for serialization
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ArrayWriteContext |
+
class |
+MapWriteContext
+Alternative to
+ObjectWriteContext that needs to be used with
+ Avro Map datatype. |
+
class |
+NopWriteContext
+Bogus
+AvroWriteContext used when ignoring structured output. |
+
class |
+ObjectWriteContext |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected AvroWriteContext |
+AvroWriteContext._parent |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected AvroWriteContext |
+AvroWriteContext._createObjectContext(org.apache.avro.Schema schema,
+ Object currValue) |
+
AvroWriteContext |
+NopWriteContext.createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+ObjectWriteContext.createChildArrayContext(Object currValue) |
+
abstract AvroWriteContext |
+AvroWriteContext.createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+MapWriteContext.createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+ArrayWriteContext.createChildArrayContext(Object currValue) |
+
AvroWriteContext |
+NopWriteContext.createChildObjectContext(Object currValue) |
+
AvroWriteContext |
+ObjectWriteContext.createChildObjectContext(Object currValue) |
+
abstract AvroWriteContext |
+AvroWriteContext.createChildObjectContext(Object currValue) |
+
AvroWriteContext |
+MapWriteContext.createChildObjectContext(Object currValue) |
+
AvroWriteContext |
+ArrayWriteContext.createChildObjectContext(Object currValue) |
+
static AvroWriteContext |
+AvroWriteContext.createRootContext(AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ org.apache.avro.io.BinaryEncoder encoder) |
+
AvroWriteContext |
+AvroWriteContext.getParent() |
+
static AvroWriteContext |
+AvroWriteContext.nullContext()
+Factory method called to get a placeholder context that is only
+ in place until actual schema is handed.
+ |
+
| Constructor and Description | +
|---|
ArrayWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.generic.GenericArray<Object> array,
+ Object currValue) |
+
AvroWriteContext(int type,
+ AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ Object currValue) |
+
MapWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.Schema schema,
+ Object currValue) |
+
NopWriteContext(int type,
+ AvroWriteContext parent,
+ AvroGenerator generator,
+ Object currValue) |
+
ObjectWriteContext(AvroWriteContext parent,
+ AvroGenerator generator,
+ org.apache.avro.generic.GenericRecord record,
+ Object currValue) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/CustomEncodingDatum.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/CustomEncodingDatum.html new file mode 100644 index 000000000..5883a77fe --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/CustomEncodingDatum.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/CustomEncodingSerializer.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/CustomEncodingSerializer.html new file mode 100644 index 000000000..366a4a089 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/CustomEncodingSerializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/EncodedDatum.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/EncodedDatum.html new file mode 100644 index 000000000..bc34b216d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/EncodedDatum.html @@ -0,0 +1,168 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro.ser | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+CustomEncodingDatum<T>
+Writes out an object using a
+CustomEncoding |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/MapWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/MapWriteContext.html new file mode 100644 index 000000000..ef7ac4ede --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/MapWriteContext.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/NonBSGenericDatumWriter.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/NonBSGenericDatumWriter.html new file mode 100644 index 000000000..91e973aa0 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/NonBSGenericDatumWriter.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/NopWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/NopWriteContext.html new file mode 100644 index 000000000..3b1b600aa --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/NopWriteContext.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/ObjectWriteContext.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/ObjectWriteContext.html new file mode 100644 index 000000000..0c997ad72 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/class-use/ObjectWriteContext.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-frame.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-frame.html new file mode 100644 index 000000000..61fd42252 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +| Interface | +Description | +
|---|---|
| EncodedDatum | +
+ Interface for handling opaque avro-encoded objects.
+ |
+
| Class | +Description | +
|---|---|
| ArrayWriteContext | ++ |
| AvroWriteContext | ++ |
| CustomEncodingDatum<T> | +
+ Writes out an object using a
+CustomEncoding |
+
| CustomEncodingSerializer<T> | +
+ Serializes an object using a avro
+CustomEncoding |
+
| MapWriteContext | +
+ Alternative to
+ObjectWriteContext that needs to be used with
+ Avro Map datatype. |
+
| NonBSGenericDatumWriter<D> | +
+ Need to sub-class to prevent encoder from crapping on writing an optional
+ Enum value (see [dataformat-avro#12])
+ |
+
| NopWriteContext | +
+ Bogus
+AvroWriteContext used when ignoring structured output. |
+
| ObjectWriteContext | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-tree.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-tree.html new file mode 100644 index 000000000..df32e5f39 --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-tree.html @@ -0,0 +1,165 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-use.html b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-use.html new file mode 100644 index 000000000..80e2d424d --- /dev/null +++ b/docs/javadoc/avro/2.13/com/fasterxml/jackson/dataformat/avro/ser/package-use.html @@ -0,0 +1,183 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.ser | ++ |
| Class and Description | +
|---|
| AvroWriteContext | +
| Class and Description | +
|---|
| AvroWriteContext | +
| EncodedDatum
+ Interface for handling opaque avro-encoded objects.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/constant-values.html b/docs/javadoc/avro/2.13/constant-values.html new file mode 100644 index 000000000..5f82f491e --- /dev/null +++ b/docs/javadoc/avro/2.13/constant-values.html @@ -0,0 +1,298 @@ + + + + + + +| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+FORMAT_NAME_AVRO |
+"avro" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+TYPE_ID |
+"avro" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final int |
+STATE_DONE |
+3 |
+
+
+protected static final int |
+STATE_ELEMENTS |
+1 |
+
+
+protected static final int |
+STATE_END |
+2 |
+
+
+protected static final int |
+STATE_START |
+0 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final int |
+STATE_DONE |
+4 |
+
+
+protected static final int |
+STATE_END |
+3 |
+
+
+protected static final int |
+STATE_NAME |
+1 |
+
+
+protected static final int |
+STATE_START |
+0 |
+
+
+protected static final int |
+STATE_VALUE |
+2 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+AVRO_SCHEMA_PROP_CLASS |
+"java-class" |
+
+
+public static final String |
+AVRO_SCHEMA_PROP_ELEMENT_CLASS |
+"java-element-class" |
+
+
+public static final String |
+AVRO_SCHEMA_PROP_KEY_CLASS |
+"java-key-class" |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/deprecated-list.html b/docs/javadoc/avro/2.13/deprecated-list.html new file mode 100644 index 000000000..890810c08 --- /dev/null +++ b/docs/javadoc/avro/2.13/deprecated-list.html @@ -0,0 +1,148 @@ + + + + + + +| Constructor and Description | +
|---|
| com.fasterxml.jackson.dataformat.avro.deser.MissingReader() | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/help-doc.html b/docs/javadoc/avro/2.13/help-doc.html new file mode 100644 index 000000000..41efdf72b --- /dev/null +++ b/docs/javadoc/avro/2.13/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/index-all.html b/docs/javadoc/avro/2.13/index-all.html new file mode 100644 index 000000000..2dd91d8ca --- /dev/null +++ b/docs/javadoc/avro/2.13/index-all.html @@ -0,0 +1,2864 @@ + + + + + + +@AvroAlias on bean and adds it to schema if it existsAvroFactory implementation that uses
+ codecs from Apache Avro library instead of Jackson "native"
+ codecs.AvroReadContext implementations.@AvroIgnore - Alias for JsonIgnore
+ @AvroName("custom Name") - Alias for JsonProperty("custom name")
+ @AvroDefault("default value") - Alias for JsonProperty.defaultValue, to
+ define default value for generated Schemas
+
+ @Nullable - Alias for JsonProperty(required = false)
+ @Stringable - Alias for JsonCreator on the constructor and JsonValue on
+ the Object.toString() method.JsonFactory implementation for encoding/decoding Avro
+ content, uses native Jackson encoder/decoder.AvroFactoryBuilder for instantiation.TSFBuilder
+ implementation for constructing AvroFactory
+ instances.LocalDate from and integer value.LocalDate into int value.LocalDateTime from an integer value.LocalDateTime into long value
+
+ Serialized value represents timestamp in a local timezone, regardless of what specific time zone
+ is considered local, with a precision of one millisecond from 1 January 1970 00:00:00.000.LocalTime from an integer value.LocalTime into int value.AvroMapper, which is mostly similar to simply
+ constructing a mapper with AvroFactory, but also adds little
+ bit of convenience around AvroSchema generation.AvroFactory
+ as codec, and will also register AvroModule.AvroFactory,
+ as well as register standard AvroModule (with default settings).AvroFactory
+ as codec, and register given modules but nothing else (that is, will
+ only register AvroModule if it's included as argument.AvroFactory
+ as codec, and register given modules but nothing else (that is, will
+ only register AvroModule if it's included as argument.ObjectMapper, used with
+ Avro backend.Schema: remove from Avro lib generated types;
+ serialize as (JSON) String for others
+
+ Add special AnnotationIntrospector that supports Apache Avro lib
+ annotations
+
+ Support limited polymorphic handling of properties with nominal type
+ of Object.JsonParser implementation for decoding Avro content and
+ exposing at as a stream of JsonTokens, to be used
+ for data binding.AvroReadContext implementations.AvroSchema for a given Java POJO,
+ using definitions Jackson would use for serialization.TypeIdResolver for Avro type IDs embedded in schemas.AvroFactory instances with different configuration.AvroFactory instances with different configuration,
+ initialized to use Apache Avro library codec for decoding content
+ (instead of Jackson native decoder).AvroFactory instances with different configuration,
+ initialized to use Jackson antive codec for decoding content
+ (instead of Apache Avro library decoder).AvroParser.Feature for list of features)AvroGenerator.Feature for list of features)AvroParser.Feature for list of features)VisitorFormatWrapperImpl instance with shared schemas,
+ serialization provider and same configuration.UUID: 16-byte fixed-length binary (alternative would
+ be basic variable length "bytes").CustomEncodingCustomEncodingCustomEncodingCustomEncoding accessible since they are otherwise package-private.DecoderAvroParser.Feature for list of features)AvroGenerator.Feature for list of features)AvroParser.Feature for list of features)AvroParser.Feature for list of features)AvroGenerator.Feature for list of features)AvroParser.Feature for list of features)Schema.getFullName(), except that it properly handles namespaces for
+ nested classes.-1 to reflect that lack of knowledge.null if none is present.AvroParser.Feature
+ is enabled.STRINGABLE_CLASSES, is an Enum,
+ or is annotated with
+ @Stringable and has a constructor that takes a single string argument capable of deserializing the output of its
+ toString() method.AvroReadContext implementations.ObjectWriteContext that needs to be used with
+ Avro Map datatype.AvroReadContext implementation used in two cases:
+
+ Parser has not yet been configured by an Avro Schema
+
+ Parser has been closed (explicitly or implicitly)
+
+
+ In former case, attempts to read will result in a JsonParseException;
+ in latter case, results will simply indicate unavailability of content
+ (return `null` in most cases)END_OBJECT, START_ARRAY, etc.START_OBJECT, END_OBJECT, START_ARRAY, etc.AvroWriteContext used when ignoring structured output.datum.datum.AvroStructureReader.ScalarDecoderWrappers).ScalarDecoder implementations that are
+ used for providing default values for scalar-valued record properties.AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties.AvroSchema by introspecting given
+ POJO type and building schema that contains specified properties.InputStream,
+ and once done (successfully or not), closing the stream.AvroSchema from given
+ encoded JSON representation.AvroSchema from given
+ encoded JSON representation.AvroParserImpl.skipMap() and AvroParserImpl.skipArray() because it operates at the parser
+ level instead of at the decoder level and advances the parsing context in addition
+ to consuming the data from the input.AvroStructureReader.nextToken() which will simply skip the full
+ value.AvroFieldReader implementations for
+ structured types.AvroSchema.withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema) but will NOT verify compatibility of schemas:
+ this means that certain problems (such as missing default value for a newly added
+ field) that would be caught at construction may be surfaced later when using
+ schema._rootDecoder, but
+ not necessarily, in case of different reader/writer schema in use.AvroGenerator.Features
+ are enabled.AvroGenerator.Features enabled, as bitmask.AvroParser.Features enabled, as bitmask.property and
+ optionalProperty methods should be ignored.Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/index.html b/docs/javadoc/avro/2.13/index.html new file mode 100644 index 000000000..cb7dae1cc --- /dev/null +++ b/docs/javadoc/avro/2.13/index.html @@ -0,0 +1,76 @@ + + + + + + ++ + diff --git a/docs/javadoc/avro/2.13/overview-summary.html b/docs/javadoc/avro/2.13/overview-summary.html new file mode 100644 index 000000000..4a21ec0b0 --- /dev/null +++ b/docs/javadoc/avro/2.13/overview-summary.html @@ -0,0 +1,175 @@ + + + + + + +
| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.avro | ++ |
| com.fasterxml.jackson.dataformat.avro.apacheimpl | +
+ Package that contains codec implementations (and support pieces)
+that build on Apache avro library.
+ |
+
| com.fasterxml.jackson.dataformat.avro.deser | ++ |
| com.fasterxml.jackson.dataformat.avro.jsr310 | ++ |
| com.fasterxml.jackson.dataformat.avro.jsr310.deser | ++ |
| com.fasterxml.jackson.dataformat.avro.jsr310.ser | ++ |
| com.fasterxml.jackson.dataformat.avro.schema | +
+ Package that contains functionality for generating Avro Schemas
+out of POJOs as seen by Jackson databind; similar to how Jackson's
+JSON Schema generation works but producing different output.
+ |
+
| com.fasterxml.jackson.dataformat.avro.ser | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/overview-tree.html b/docs/javadoc/avro/2.13/overview-tree.html new file mode 100644 index 000000000..45f15f4db --- /dev/null +++ b/docs/javadoc/avro/2.13/overview-tree.html @@ -0,0 +1,467 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/package-list b/docs/javadoc/avro/2.13/package-list new file mode 100644 index 000000000..5d4407ab1 --- /dev/null +++ b/docs/javadoc/avro/2.13/package-list @@ -0,0 +1,8 @@ +com.fasterxml.jackson.dataformat.avro +com.fasterxml.jackson.dataformat.avro.apacheimpl +com.fasterxml.jackson.dataformat.avro.deser +com.fasterxml.jackson.dataformat.avro.jsr310 +com.fasterxml.jackson.dataformat.avro.jsr310.deser +com.fasterxml.jackson.dataformat.avro.jsr310.ser +com.fasterxml.jackson.dataformat.avro.schema +com.fasterxml.jackson.dataformat.avro.ser diff --git a/docs/javadoc/avro/2.13/script.js b/docs/javadoc/avro/2.13/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/docs/javadoc/avro/2.13/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/avro/2.13/serialized-form.html b/docs/javadoc/avro/2.13/serialized-form.html new file mode 100644 index 000000000..2d101719b --- /dev/null +++ b/docs/javadoc/avro/2.13/serialized-form.html @@ -0,0 +1,391 @@ + + + + + + +protected Object readResolve()+
int _avroParserFeatures+
int _avroGeneratorFeatures+
boolean _useApacheLibDecoder+
com.fasterxml.jackson.databind.JavaType _typeObject+
com.fasterxml.jackson.databind.jsontype.TypeDeserializer _typeDeserializer+
BiFunction<T,U,R> fromInstant+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/avro/2.13/stylesheet.css b/docs/javadoc/avro/2.13/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/docs/javadoc/avro/2.13/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/cbor/2.13/allclasses-frame.html b/docs/javadoc/cbor/2.13/allclasses-frame.html new file mode 100644 index 000000000..32100e95f --- /dev/null +++ b/docs/javadoc/cbor/2.13/allclasses-frame.html @@ -0,0 +1,33 @@ + + + + + + +public final class CBORConstants +extends Object+
CBORGenerator and CBORParser| Modifier and Type | +Field and Description | +
|---|---|
static byte |
+BYTE_ARRAY_2_ELEMENTS |
+
static byte |
+BYTE_ARRAY_INDEFINITE |
+
static byte |
+BYTE_BREAK |
+
static byte |
+BYTE_EMPTY_STRING |
+
static byte |
+BYTE_FALSE |
+
static byte |
+BYTE_FLOAT16 |
+
static byte |
+BYTE_FLOAT32 |
+
static byte |
+BYTE_FLOAT64 |
+
static byte |
+BYTE_NULL |
+
static byte |
+BYTE_OBJECT_INDEFINITE |
+
static byte |
+BYTE_STRING_1BYTE_LEN |
+
static byte |
+BYTE_STRING_2BYTE_LEN |
+
static byte |
+BYTE_STRING_INDEFINITE
+String that is chunked
+ |
+
static byte |
+BYTE_TAG_BIGFLOAT |
+
static byte |
+BYTE_TAG_BIGNUM_NEG |
+
static byte |
+BYTE_TAG_BIGNUM_POS |
+
static byte |
+BYTE_TAG_DECIMAL_FRACTION |
+
static byte |
+BYTE_TRUE |
+
static int |
+INT_BREAK |
+
static int |
+MAJOR_TYPE_ARRAY |
+
static int |
+MAJOR_TYPE_BYTES |
+
static int |
+MAJOR_TYPE_INT_NEG |
+
static int |
+MAJOR_TYPE_INT_POS |
+
static int |
+MAJOR_TYPE_MISC |
+
static int |
+MAJOR_TYPE_OBJECT |
+
static int |
+MAJOR_TYPE_TAG |
+
static int |
+MAJOR_TYPE_TEXT |
+
static int |
+MASK_MAJOR_TYPE |
+
static int |
+PREFIX_TYPE_ARRAY |
+
static int |
+PREFIX_TYPE_BYTES |
+
static int |
+PREFIX_TYPE_INT_NEG |
+
static int |
+PREFIX_TYPE_INT_POS |
+
static int |
+PREFIX_TYPE_MISC |
+
static int |
+PREFIX_TYPE_OBJECT |
+
static int |
+PREFIX_TYPE_TAG |
+
static int |
+PREFIX_TYPE_TEXT |
+
static int |
+SUFFIX_INDEFINITE |
+
static int |
+SUFFIX_UINT16_ELEMENTS |
+
static int |
+SUFFIX_UINT32_ELEMENTS |
+
static int |
+SUFFIX_UINT64_ELEMENTS |
+
static int |
+SUFFIX_UINT8_ELEMENTS |
+
static int[] |
+sUtf8UnitLengths
+Additionally we can combine UTF-8 decoding info into similar
+ data table.
+ |
+
static int |
+TAG_BIGFLOAT |
+
static int |
+TAG_BIGNUM_NEG |
+
static int |
+TAG_BIGNUM_POS |
+
static int |
+TAG_DECIMAL_FRACTION |
+
static int |
+TAG_ID_SELF_DESCRIBE
+As per spec, this is a sort of "nop" tag, useful as marker
+ for the very first root-level data item.
+ |
+
| Constructor and Description | +
|---|
CBORConstants() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static boolean |
+hasMajorType(int expType,
+ byte encoded) |
+
public static final int MAJOR_TYPE_INT_POS+
public static final int MAJOR_TYPE_INT_NEG+
public static final int MAJOR_TYPE_BYTES+
public static final int MAJOR_TYPE_TEXT+
public static final int MAJOR_TYPE_ARRAY+
public static final int MAJOR_TYPE_OBJECT+
public static final int MAJOR_TYPE_TAG+
public static final int MAJOR_TYPE_MISC+
public static final int PREFIX_TYPE_INT_POS+
public static final int PREFIX_TYPE_INT_NEG+
public static final int PREFIX_TYPE_BYTES+
public static final int PREFIX_TYPE_TEXT+
public static final int PREFIX_TYPE_ARRAY+
public static final int PREFIX_TYPE_OBJECT+
public static final int PREFIX_TYPE_TAG+
public static final int PREFIX_TYPE_MISC+
public static final int SUFFIX_INDEFINITE+
public static final int SUFFIX_UINT8_ELEMENTS+
public static final int SUFFIX_UINT16_ELEMENTS+
public static final int SUFFIX_UINT32_ELEMENTS+
public static final int SUFFIX_UINT64_ELEMENTS+
public static final int MASK_MAJOR_TYPE+
public static final int TAG_ID_SELF_DESCRIBE+
public static final byte BYTE_ARRAY_INDEFINITE+
public static final byte BYTE_ARRAY_2_ELEMENTS+
public static final byte BYTE_OBJECT_INDEFINITE+
public static final byte BYTE_FALSE+
public static final byte BYTE_TRUE+
public static final byte BYTE_NULL+
public static final byte BYTE_EMPTY_STRING+
public static final byte BYTE_STRING_INDEFINITE+
public static final byte BYTE_STRING_1BYTE_LEN+
public static final byte BYTE_STRING_2BYTE_LEN+
public static final byte BYTE_FLOAT16+
public static final byte BYTE_FLOAT32+
public static final byte BYTE_FLOAT64+
public static final int TAG_BIGNUM_POS+
public static final int TAG_BIGNUM_NEG+
public static final int TAG_DECIMAL_FRACTION+
public static final int TAG_BIGFLOAT+
public static final byte BYTE_TAG_BIGNUM_POS+
public static final byte BYTE_TAG_BIGNUM_NEG+
public static final byte BYTE_TAG_DECIMAL_FRACTION+
public static final byte BYTE_TAG_BIGFLOAT+
public static final byte BYTE_BREAK+
public static final int INT_BREAK+
public static final int[] sUtf8UnitLengths+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORFactory.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORFactory.html new file mode 100644 index 000000000..0dadd565d --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORFactory.html @@ -0,0 +1,1231 @@ + + + + + + +public class CBORFactory
+extends com.fasterxml.jackson.core.JsonFactory
+CBORParser and CBORGenerator
+ instances; both of which handle
+ CBOR
+ encoded data.
+
+ Extends JsonFactory mostly so that users can actually use it in place
+ of regular non-CBOR factory instances.
+
+ Note on using non-byte-based sources/targets (char based, like
+ Reader and Writer): these can not be
+ used for CBOR documents; attempt will throw exception.
com.fasterxml.jackson.core.JsonFactory.Feature| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_formatGeneratorFeatures |
+
protected int |
+_formatParserFeatures |
+
static String |
+FORMAT_NAME
+Name used to identify CBOR format.
+ |
+
_byteSymbolCanonicalizer, _characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON| Modifier | +Constructor and Description | +
|---|---|
|
+CBORFactory()
+Default constructor used to create factory instances.
+ |
+
protected |
+CBORFactory(CBORFactoryBuilder b)
+Constructors used by
+CBORFactoryBuilder for instantiation. |
+
|
+CBORFactory(CBORFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc)
+Note: REQUIRES at least 2.2.1 -- unfortunate intra-patch dep but seems
+ preferable to just leaving bug be as is
+ |
+
|
+CBORFactory(com.fasterxml.jackson.core.ObjectCodec oc) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.fasterxml.jackson.core.io.IOContext |
+_createContext(com.fasterxml.jackson.core.io.ContentReference contentRef,
+ boolean resourceManaged) |
+
protected CBORGenerator |
+_createGenerator(Writer out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected CBORParser |
+_createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(char[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ boolean recyclable) |
+
protected CBORParser |
+_createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(Reader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
protected CBORGenerator |
+_createUTF8Generator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected Writer |
+_createWriter(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected <T> T |
+_nonByteSource() |
+
protected <T> T |
+_nonByteTarget() |
+
static CBORFactoryBuilder |
+builder()
+Main factory method to use for constructing
+CBORFactory instances with
+ different configuration. |
+
boolean |
+canHandleBinaryNatively() |
+
boolean |
+canUseCharArrays() |
+
CBORFactory |
+configure(CBORGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactory |
+configure(CBORParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+CBORParser.Feature for list of features) |
+
CBORFactory |
+copy() |
+
CBORGenerator |
+createGenerator(OutputStream out)
+Method for constructing
+JsonGenerator for generating
+ CBOR-encoded output. |
+
CBORGenerator |
+createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc)
+Method for constructing
+JsonGenerator for generating
+ CBOR-encoded output. |
+
CBORParser |
+createParser(byte[] data) |
+
CBORParser |
+createParser(byte[] data,
+ int offset,
+ int len) |
+
CBORParser |
+createParser(File f) |
+
CBORParser |
+createParser(InputStream in) |
+
CBORParser |
+createParser(URL url) |
+
CBORFactory |
+disable(CBORGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactory |
+disable(CBORParser.Feature f)
+Method for disabling specified parser features
+ (check
+CBORParser.Feature for list of features) |
+
CBORFactory |
+enable(CBORGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactory |
+enable(CBORParser.Feature f)
+Method for enabling specified parser feature
+ (check
+CBORParser.Feature for list of features) |
+
int |
+getFormatGeneratorFeatures() |
+
String |
+getFormatName() |
+
int |
+getFormatParserFeatures() |
+
Class<CBORParser.Feature> |
+getFormatReadFeatureType() |
+
Class<CBORGenerator.Feature> |
+getFormatWriteFeatureType() |
+
com.fasterxml.jackson.core.format.MatchStrength |
+hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc) |
+
boolean |
+isEnabled(CBORGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
boolean |
+isEnabled(CBORParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
protected Object |
+readResolve()
+Method that we need to override to actually make restoration go
+ through constructors etc.
+ |
+
CBORFactoryBuilder |
+rebuild() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_checkInvalidCopy, _createContentReference, _createContentReference, _createContext, _createNonBlockingContext, _createParser, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, canParseAsync, canUseSchema, configure, configure, configure, createGenerator, createGenerator, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createNonBlockingByteArrayParser, createParser, createParser, createParser, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, requiresCustomCodec, requiresPropertyOrdering, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator_createDataOutputWrapper, _optimizedStreamFromURLpublic static final String FORMAT_NAME+
getFormatName()protected int _formatParserFeatures+
protected int _formatGeneratorFeatures+
public CBORFactory()+
public CBORFactory(com.fasterxml.jackson.core.ObjectCodec oc)+
public CBORFactory(CBORFactory src, + com.fasterxml.jackson.core.ObjectCodec oc)+
protected CBORFactory(CBORFactoryBuilder b)+
CBORFactoryBuilder for instantiation.public CBORFactoryBuilder rebuild()+
rebuild in class com.fasterxml.jackson.core.JsonFactorypublic static CBORFactoryBuilder builder()+
CBORFactory instances with
+ different configuration.public CBORFactory copy()+
copy in class com.fasterxml.jackson.core.JsonFactoryprotected Object readResolve()+
readResolve in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonFactorypublic String getFormatName()+
getFormatName in class com.fasterxml.jackson.core.JsonFactorypublic boolean canUseCharArrays()+
canUseCharArrays in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.format.MatchStrength hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + throws IOException+
hasFormat in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic boolean canHandleBinaryNatively()+
canHandleBinaryNatively in class com.fasterxml.jackson.core.JsonFactorypublic Class<CBORParser.Feature> getFormatReadFeatureType()+
getFormatReadFeatureType in class com.fasterxml.jackson.core.JsonFactorypublic Class<CBORGenerator.Feature> getFormatWriteFeatureType()+
getFormatWriteFeatureType in class com.fasterxml.jackson.core.JsonFactorypublic final CBORFactory configure(CBORParser.Feature f, + boolean state)+
CBORParser.Feature for list of features)public CBORFactory enable(CBORParser.Feature f)+
CBORParser.Feature for list of features)public CBORFactory disable(CBORParser.Feature f)+
CBORParser.Feature for list of features)public final boolean isEnabled(CBORParser.Feature f)+
public int getFormatParserFeatures()+
getFormatParserFeatures in class com.fasterxml.jackson.core.JsonFactorypublic final CBORFactory configure(CBORGenerator.Feature f, + boolean state)+
CBORGenerator.Feature for list of features)public CBORFactory enable(CBORGenerator.Feature f)+
CBORGenerator.Feature for list of features)public CBORFactory disable(CBORGenerator.Feature f)+
CBORGenerator.Feature for list of features)public final boolean isEnabled(CBORGenerator.Feature f)+
public int getFormatGeneratorFeatures()+
getFormatGeneratorFeatures in class com.fasterxml.jackson.core.JsonFactorypublic CBORParser createParser(File f) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic CBORParser createParser(URL url) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic CBORParser createParser(InputStream in) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic CBORParser createParser(byte[] data) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic CBORParser createParser(byte[] data, + int offset, + int len) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic CBORGenerator createGenerator(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc) + throws IOException+
JsonGenerator for generating
+ CBOR-encoded output.
+
+ Since CBOR format always uses UTF-8 internally, enc
+ argument is ignored.
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic CBORGenerator createGenerator(OutputStream out) + throws IOException+
JsonGenerator for generating
+ CBOR-encoded output.
++ Since CBOR format always uses UTF-8 internally, no encoding need + to be passed to this method.
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.io.IOContext _createContext(com.fasterxml.jackson.core.io.ContentReference contentRef, + boolean resourceManaged)+
_createContext in class com.fasterxml.jackson.core.JsonFactoryprotected CBORParser _createParser(InputStream in, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(Reader r, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(char[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt, + boolean recyclable) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected CBORParser _createParser(byte[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected CBORGenerator _createGenerator(Writer out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected CBORGenerator _createUTF8Generator(OutputStream out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createUTF8Generator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected Writer _createWriter(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createWriter in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected <T> T _nonByteSource()+
protected <T> T _nonByteTarget()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORFactoryBuilder.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORFactoryBuilder.html new file mode 100644 index 000000000..5aa93d591 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORFactoryBuilder.html @@ -0,0 +1,541 @@ + + + + + + +public class CBORFactoryBuilder +extends com.fasterxml.jackson.core.TSFBuilder<CBORFactory,CBORFactoryBuilder>+
TSFBuilder
+ implementation for constructing CBORFactory
+ instances.| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_formatGeneratorFeatures
+Set of
+CBORGenerator.Features enabled, as bitmask. |
+
protected int |
+_formatParserFeatures
+Set of
+CBORParser.Features enabled, as bitmask. |
+
_factoryFeatures, _inputDecorator, _outputDecorator, _streamReadFeatures, _streamWriteFeatures, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS| Modifier | +Constructor and Description | +
|---|---|
protected |
+CBORFactoryBuilder() |
+
|
+CBORFactoryBuilder(CBORFactory base) |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORFactory |
+build() |
+
CBORFactoryBuilder |
+configure(CBORGenerator.Feature f,
+ boolean state) |
+
CBORFactoryBuilder |
+configure(CBORParser.Feature f,
+ boolean state) |
+
CBORFactoryBuilder |
+disable(CBORGenerator.Feature f) |
+
CBORFactoryBuilder |
+disable(CBORGenerator.Feature first,
+ CBORGenerator.Feature... other) |
+
CBORFactoryBuilder |
+disable(CBORParser.Feature f) |
+
CBORFactoryBuilder |
+disable(CBORParser.Feature first,
+ CBORParser.Feature... other) |
+
CBORFactoryBuilder |
+enable(CBORGenerator.Feature f) |
+
CBORFactoryBuilder |
+enable(CBORGenerator.Feature first,
+ CBORGenerator.Feature... other) |
+
CBORFactoryBuilder |
+enable(CBORParser.Feature f) |
+
CBORFactoryBuilder |
+enable(CBORParser.Feature first,
+ CBORParser.Feature... other) |
+
int |
+formatGeneratorFeaturesMask() |
+
int |
+formatParserFeaturesMask() |
+
_legacyDisable, _legacyDisable, _legacyEnable, _legacyEnable, _this, configure, configure, configure, configure, configure, disable, disable, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, enable, enable, factoryFeaturesMask, inputDecorator, inputDecorator, outputDecorator, outputDecorator, streamReadFeatures, streamWriteFeaturesprotected int _formatParserFeatures+
CBORParser.Features enabled, as bitmask.protected int _formatGeneratorFeatures+
CBORGenerator.Features enabled, as bitmask.protected CBORFactoryBuilder()+
public CBORFactoryBuilder(CBORFactory base)+
public CBORFactoryBuilder enable(CBORParser.Feature f)+
public CBORFactoryBuilder enable(CBORParser.Feature first, + CBORParser.Feature... other)+
public CBORFactoryBuilder disable(CBORParser.Feature f)+
public CBORFactoryBuilder disable(CBORParser.Feature first, + CBORParser.Feature... other)+
public CBORFactoryBuilder configure(CBORParser.Feature f, + boolean state)+
public CBORFactoryBuilder enable(CBORGenerator.Feature f)+
public CBORFactoryBuilder enable(CBORGenerator.Feature first, + CBORGenerator.Feature... other)+
public CBORFactoryBuilder disable(CBORGenerator.Feature f)+
public CBORFactoryBuilder disable(CBORGenerator.Feature first, + CBORGenerator.Feature... other)+
public CBORFactoryBuilder configure(CBORGenerator.Feature f, + boolean state)+
public int formatParserFeaturesMask()+
public int formatGeneratorFeaturesMask()+
public CBORFactory build()+
build in class com.fasterxml.jackson.core.TSFBuilder<CBORFactory,CBORFactoryBuilder>Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORGenerator.Feature.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORGenerator.Feature.html new file mode 100644 index 000000000..c2227a6b9 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORGenerator.Feature.html @@ -0,0 +1,526 @@ + + + + + + +public static enum CBORGenerator.Feature +extends Enum<CBORGenerator.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Enum Constant and Description | +
|---|
LENIENT_UTF_ENCODING
+Feature that determines if an invalid surrogate encoding found in the
+ incoming String should fail with an exception or silently be output
+ as the Unicode 'REPLACEMENT CHARACTER' (U+FFFD) or not; if not,
+ an exception will be thrown to indicate invalid content.
+ |
+
WRITE_MINIMAL_INTS
+Feature that determines whether generator should try to use smallest
+ (size-wise) integer representation: if true, will use smallest
+ representation that is enough to retain value; if false, will use
+ length indicated by argument type (4-byte for
+int,
+ 8-byte for long and so on). |
+
WRITE_TYPE_HEADER
+Feature that determines whether CBOR "Self-Describe Tag" (value
+ 55799, encoded as 3-byte sequence of
+0xD9, 0xD9, 0xF7)
+ should be written at the beginning of document or not. |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_defaultState |
+
protected int |
+_mask |
+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that are
+ enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static CBORGenerator.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static CBORGenerator.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final CBORGenerator.Feature WRITE_MINIMAL_INTS+
int,
+ 8-byte for long and so on).public static final CBORGenerator.Feature WRITE_TYPE_HEADER+
0xD9, 0xD9, 0xF7)
+ should be written at the beginning of document or not.
+
+ Default value is false meaning that type tag will not be
+ written at the beginning of a new document.
public static final CBORGenerator.Feature LENIENT_UTF_ENCODING+
+ Default value is false (for backwards compatibility) meaning that
+ an invalid surrogate will result in exception (IllegalArgumentException
protected final boolean _defaultState+
protected final int _mask+
public static CBORGenerator.Feature[] values()+
+for (CBORGenerator.Feature c : CBORGenerator.Feature.values()) + System.out.println(c); +
public static CBORGenerator.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORGenerator.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORGenerator.html new file mode 100644 index 000000000..64cc353f0 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORGenerator.html @@ -0,0 +1,2193 @@ + + + + + + +public class CBORGenerator
+extends com.fasterxml.jackson.core.base.GeneratorBase
+JsonGenerator implementation that writes CBOR encoded content.| Modifier and Type | +Class and Description | +
|---|---|
static class |
+CBORGenerator.Feature
+Enumeration that defines all togglable features for CBOR generator.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_bufferRecyclable
+Flag that indicates whether the output buffer is recycable (and needs to
+ be returned to recycler once we are done) or not.
+ |
+
protected int |
+_bytesWritten
+Let's keep track of how many bytes have been output, may prove useful
+ when debugging.
+ |
+
protected boolean |
+_cfgMinimalInts |
+
protected char[] |
+_charBuffer
+Intermediate buffer in which characters of a String are copied before
+ being encoded.
+ |
+
protected int |
+_charBufferLength |
+
protected int |
+_currentRemainingElements
+Number of elements remaining in the current complex structure (if any),
+ when writing defined-length Arrays, Objects; marker {code INDEFINITE_LENGTH}
+ otherwise.
+ |
+
protected int[] |
+_elementCounts |
+
protected int |
+_elementCountsPtr |
+
protected int |
+_formatFeatures
+Bit flag composed of bits that indicate which
+
+CBORGenerator.Features are enabled. |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext |
+
protected OutputStream |
+_out |
+
protected byte[] |
+_outputBuffer
+Intermediate buffer in which contents are buffered before being written
+ using
+_out. |
+
protected int |
+_outputEnd
+Offset to index after the last valid index in
+_outputBuffer. |
+
protected int |
+_outputTail
+Pointer to the next available byte in
+_outputBuffer |
+
protected CBORWriteContext |
+_streamWriteContext |
+
protected static int |
+BYTE_BUFFER_FOR_OUTPUT
+Let's ensure that we have big enough output buffer because of safety
+ margins we need for UTF-8 encoding.
+ |
+
protected static int |
+REPLACEMENT_CHAR
+The replacement character to use to fix invalid Unicode sequences
+ (mismatched surrogate pair).
+ |
+
_cfgNumbersAsStrings, _closed, _features, _objectCodec, _writeContext, DERIVED_FEATURES_MASK, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING_cfgPrettyPrinter, DEFAULT_BINARY_WRITE_CAPABILITIES, DEFAULT_TEXTUAL_WRITE_CAPABILITIES, DEFAULT_WRITE_CAPABILITIES| Constructor and Description | +
|---|
CBORGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int stdFeatures,
+ int formatFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ OutputStream out) |
+
CBORGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int stdFeatures,
+ int formatFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ OutputStream out,
+ byte[] outputBuffer,
+ int offset,
+ boolean bufferRecyclable)
+Alternative constructor that may be used to feed partially initialized content.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_ensureSpace(int needed) |
+
protected void |
+_flushBuffer() |
+
protected UnsupportedOperationException |
+_notSupported() |
+
protected void |
+_releaseBuffers() |
+
protected void |
+_verifyValueWrite(String typeMsg) |
+
protected void |
+_write(BigInteger v) |
+
protected void |
+_writeChunkedString(char[] text,
+ int offset,
+ int len) |
+
protected void |
+_writeString(char[] text,
+ int offset,
+ int len) |
+
protected void |
+_writeString(String name) |
+
void |
+assignCurrentValue(Object v) |
+
boolean |
+canWriteBinaryNatively() |
+
void |
+close() |
+
CBORGenerator |
+configure(CBORGenerator.Feature f,
+ boolean state) |
+
void |
+copyCurrentEvent(com.fasterxml.jackson.core.JsonParser p)
+Specialize
+JsonGenerator.copyCurrentEvent(com.fasterxml.jackson.core.JsonParser) to handle tags. |
+
void |
+copyCurrentStructure(com.fasterxml.jackson.core.JsonParser p)
+Specialize
+JsonGenerator.copyCurrentStructure(com.fasterxml.jackson.core.JsonParser) to handle tags. |
+
Object |
+currentValue() |
+
CBORGenerator |
+disable(CBORGenerator.Feature f) |
+
CBORGenerator |
+enable(CBORGenerator.Feature f) |
+
void |
+flush() |
+
Object |
+getCurrentValue() |
+
int |
+getFormatFeatures() |
+
int |
+getOutputBuffered() |
+
com.fasterxml.jackson.core.JsonStreamContext |
+getOutputContext() |
+
Object |
+getOutputTarget() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> |
+getWriteCapabilities() |
+
boolean |
+isEnabled(CBORGenerator.Feature f) |
+
protected void |
+maybeCopyTag(com.fasterxml.jackson.core.JsonParser p) |
+
com.fasterxml.jackson.core.JsonGenerator |
+overrideFormatFeatures(int values,
+ int mask) |
+
com.fasterxml.jackson.core.JsonGenerator |
+overrideStdFeatures(int values,
+ int mask) |
+
void |
+setCurrentValue(Object v) |
+
com.fasterxml.jackson.core.JsonGenerator |
+setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)
+No way (or need) to indent anything, so let's block any attempts.
+ |
+
com.fasterxml.jackson.core.JsonGenerator |
+useDefaultPrettyPrinter()
+No way (or need) to indent anything, so let's block any attempts.
+ |
+
com.fasterxml.jackson.core.Version |
+version() |
+
void |
+writeArray(double[] array,
+ int offset,
+ int length) |
+
void |
+writeArray(int[] array,
+ int offset,
+ int length) |
+
void |
+writeArray(long[] array,
+ int offset,
+ int length) |
+
void |
+writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
+ byte[] data,
+ int offset,
+ int len) |
+
int |
+writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
+ InputStream data,
+ int dataLength) |
+
int |
+writeBinary(InputStream data,
+ int dataLength) |
+
void |
+writeBoolean(boolean state) |
+
void |
+writeBytes(byte[] data,
+ int offset,
+ int len)
+Method for directly inserting specified bytes in output at current
+ position.
+ |
+
void |
+writeEndArray() |
+
void |
+writeEndObject() |
+
void |
+writeFieldId(long id) |
+
void |
+writeFieldName(com.fasterxml.jackson.core.SerializableString name) |
+
void |
+writeFieldName(String name) |
+
void |
+writeNull() |
+
void |
+writeNumber(BigDecimal dec) |
+
void |
+writeNumber(BigInteger v) |
+
void |
+writeNumber(double d) |
+
void |
+writeNumber(float f) |
+
void |
+writeNumber(int i) |
+
void |
+writeNumber(long l) |
+
void |
+writeNumber(String encodedValue) |
+
void |
+writeRaw(byte b)
+Method for directly inserting specified byte in output at current
+ position.
+ |
+
void |
+writeRaw(char c) |
+
void |
+writeRaw(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRaw(String text) |
+
void |
+writeRaw(String text,
+ int offset,
+ int len) |
+
void |
+writeRawUTF8String(byte[] raw,
+ int offset,
+ int len) |
+
void |
+writeRawValue(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRawValue(String text) |
+
void |
+writeRawValue(String text,
+ int offset,
+ int len) |
+
void |
+writeStartArray() |
+
void |
+writeStartArray(int elementsToWrite)
+Deprecated.
+ |
+
void |
+writeStartArray(Object forValue) |
+
void |
+writeStartArray(Object forValue,
+ int elementsToWrite) |
+
void |
+writeStartObject() |
+
void |
+writeStartObject(int elementsToWrite) |
+
void |
+writeStartObject(Object forValue) |
+
void |
+writeString(char[] text,
+ int offset,
+ int len) |
+
void |
+writeString(com.fasterxml.jackson.core.SerializableString sstr) |
+
void |
+writeString(String text) |
+
void |
+writeTag(int tagId)
+Method for writing out an explicit CBOR Tag.
+ |
+
void |
+writeUTF8String(byte[] text,
+ int offset,
+ int len) |
+
_asString, _checkStdFeatureChanges, _constructDefaultPrettyPrinter, _decodeSurrogate, disable, enable, getCodec, getFeatureMask, isClosed, isEnabled, setCodec, setFeatureMask, writeObject, writeRawValue, writeTree_copyCurrentContents, _reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, canOmitFields, canUseSchema, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, configure, getCharacterEscapes, getHighestEscapedChar, getPrettyPrinter, getSchema, isEnabled, setCharacterEscapes, setHighestNonEscapedChar, setRootValueSeparator, setSchema, writeArray, writeArrayFieldStart, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeNullField, writeNumber, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writePOJO, writePOJOField, writeRaw, writeStartObject, writeString, writeStringField, writeTypeId, writeTypePrefix, writeTypeSuffixprotected static final int BYTE_BUFFER_FOR_OUTPUT+
protected static final int REPLACEMENT_CHAR+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected final OutputStream _out+
protected int _formatFeatures+
CBORGenerator.Features are enabled.protected boolean _cfgMinimalInts+
protected CBORWriteContext _streamWriteContext+
protected byte[] _outputBuffer+
_out.protected int _outputTail+
_outputBufferprotected final int _outputEnd+
_outputBuffer.
+ Typically same as length of the buffer.protected char[] _charBuffer+
protected final int _charBufferLength+
protected int _bytesWritten+
protected int[] _elementCounts+
protected int _elementCountsPtr+
protected int _currentRemainingElements+
protected boolean _bufferRecyclable+
public CBORGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, + int stdFeatures, + int formatFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + OutputStream out)+
public CBORGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, + int stdFeatures, + int formatFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + OutputStream out, + byte[] outputBuffer, + int offset, + boolean bufferRecyclable)+
outputBuffer - Buffer to use for output before flushing to the underlying streamoffset - Offset pointing past already buffered content; that is, number
+ of bytes of valid content to output, within buffer.public com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.base.GeneratorBasepublic boolean canWriteBinaryNatively()+
canWriteBinaryNatively in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> getWriteCapabilities()+
getWriteCapabilities in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator useDefaultPrettyPrinter()+
useDefaultPrettyPrinter in class com.fasterxml.jackson.core.base.GeneratorBasepublic com.fasterxml.jackson.core.JsonGenerator setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)+
setPrettyPrinter in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getOutputTarget()+
getOutputTarget in class com.fasterxml.jackson.core.JsonGeneratorpublic int getOutputBuffered()+
getOutputBuffered in class com.fasterxml.jackson.core.JsonGeneratorpublic int getFormatFeatures()+
getFormatFeatures in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator overrideStdFeatures(int values, + int mask)+
overrideStdFeatures in class com.fasterxml.jackson.core.base.GeneratorBasepublic com.fasterxml.jackson.core.JsonGenerator overrideFormatFeatures(int values, + int mask)+
overrideFormatFeatures in class com.fasterxml.jackson.core.JsonGeneratorpublic Object currentValue()+
currentValue in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.base.GeneratorBasepublic void assignCurrentValue(Object v)+
assignCurrentValue in class com.fasterxml.jackson.core.JsonGeneratorpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.base.GeneratorBasepublic com.fasterxml.jackson.core.JsonStreamContext getOutputContext()+
getOutputContext in class com.fasterxml.jackson.core.base.GeneratorBasepublic CBORGenerator enable(CBORGenerator.Feature f)+
public CBORGenerator disable(CBORGenerator.Feature f)+
public final boolean isEnabled(CBORGenerator.Feature f)+
public CBORGenerator configure(CBORGenerator.Feature f, + boolean state)+
public final void writeFieldName(String name) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeFieldName(com.fasterxml.jackson.core.SerializableString name) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void writeFieldId(long id) + throws IOException+
writeFieldId in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void copyCurrentEvent(com.fasterxml.jackson.core.JsonParser p) + throws IOException+
JsonGenerator.copyCurrentEvent(com.fasterxml.jackson.core.JsonParser) to handle tags.copyCurrentEvent in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void copyCurrentStructure(com.fasterxml.jackson.core.JsonParser p) + throws IOException+
JsonGenerator.copyCurrentStructure(com.fasterxml.jackson.core.JsonParser) to handle tags.copyCurrentStructure in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected void maybeCopyTag(com.fasterxml.jackson.core.JsonParser p) + throws IOException+
IOExceptionpublic final void writeStartArray() + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeStartArray(Object forValue) + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeStartArray(Object forValue, + int elementsToWrite) + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOException@Deprecated +public void writeStartArray(int elementsToWrite) + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeEndArray() + throws IOException+
writeEndArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartObject() + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartObject(Object forValue) + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void writeStartObject(int elementsToWrite) + throws IOException+
IOExceptionpublic final void writeEndObject() + throws IOException+
writeEndObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(int[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(long[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(double[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(String text) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeString(com.fasterxml.jackson.core.SerializableString sstr) + throws IOException+
writeString in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeString(char[] text, + int offset, + int len) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawUTF8String(byte[] raw, + int offset, + int len) + throws IOException+
writeRawUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeUTF8String(byte[] text, + int offset, + int len) + throws IOException+
writeUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String text) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char[] text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char c) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(String text) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(String text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(char[] text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, + byte[] data, + int offset, + int len) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic int writeBinary(InputStream data, + int dataLength) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic int writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, + InputStream data, + int dataLength) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeBoolean(boolean state) + throws IOException+
writeBoolean in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNull() + throws IOException+
writeNull in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(int i) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(long l) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigInteger v) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected void _write(BigInteger v) + throws IOException+
IOExceptionpublic void writeNumber(double d) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(float f) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigDecimal dec) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(String encodedValue) + throws IOException, + com.fasterxml.jackson.core.JsonGenerationException, + UnsupportedOperationException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionUnsupportedOperationExceptionprotected final void _verifyValueWrite(String typeMsg) + throws IOException+
_verifyValueWrite in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void flush() + throws IOException+
flush in interface Flushableflush in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeTag(int tagId) + throws IOException+
tagId - Positive integer (0 or higher)IOExceptionpublic void writeRaw(byte b) + throws IOException+
+ NOTE: only use this method if you really know what you are doing.
IOExceptionpublic void writeBytes(byte[] data, + int offset, + int len) + throws IOException+
+ NOTE: only use this method if you really know what you are doing.
IOExceptionprotected final void _writeString(String name) + throws IOException+
IOExceptionprotected final void _ensureSpace(int needed) + throws IOException+
IOExceptionprotected final void _writeString(char[] text, + int offset, + int len) + throws IOException+
IOExceptionprotected final void _writeChunkedString(char[] text, + int offset, + int len) + throws IOException+
IOExceptionprotected void _releaseBuffers()+
_releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBaseprotected final void _flushBuffer() + throws IOException+
IOExceptionprotected UnsupportedOperationException _notSupported()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParser.Feature.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParser.Feature.html new file mode 100644 index 000000000..82c714e0d --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParser.Feature.html @@ -0,0 +1,378 @@ + + + + + + +public static enum CBORParser.Feature +extends Enum<CBORParser.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that
+ are enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static CBORParser.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static CBORParser.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static CBORParser.Feature[] values()+
+for (CBORParser.Feature c : CBORParser.Feature.values()) + System.out.println(c); +
public static CBORParser.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParser.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParser.html new file mode 100644 index 000000000..e1066aa56 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParser.html @@ -0,0 +1,2709 @@ + + + + + + +public class CBORParser
+extends com.fasterxml.jackson.core.base.ParserMinimalBase
+| Modifier and Type | +Class and Description | +
|---|---|
static class |
+CBORParser.Feature
+Enumeration that defines all togglable features for CBOR generators.
+ |
+
com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected byte[] |
+_binaryValue
+We will hold on to decoded binary data, for duration of
+ current event, so that multiple calls to
+
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once. |
+
protected boolean |
+_bufferRecyclable
+Flag that indicates whether the input buffer is recycable (and
+ needs to be returned to recycler once we are done) or not.
+ |
+
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
+_byteArrayBuilder
+ByteArrayBuilder is needed if 'getBinaryValue' is called.
+ |
+
protected boolean |
+_closed
+Flag that indicates whether parser is closed or not.
+ |
+
protected long |
+_currInputProcessed
+Number of characters/bytes that were contained in previous blocks
+ (blocks that were already processed prior to the current buffer).
+ |
+
protected int |
+_currInputRow
+Current row location of current point in input buffer, starting
+ from 1, if available.
+ |
+
protected int |
+_currInputRowStart
+Current index of the first character of the current row in input
+ buffer.
+ |
+
protected byte[] |
+_inputBuffer
+Current buffer from which data is read; generally data is read into
+ buffer from input source, but in some cases pre-loaded buffer
+ is handed to the parser.
+ |
+
protected int |
+_inputEnd
+Index of character after last available one in the buffer.
+ |
+
protected int |
+_inputPtr
+Pointer to next available character in buffer
+ |
+
protected InputStream |
+_inputStream
+Input stream that can be used for reading more content, if one
+ in use.
+ |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext
+I/O context for this reader.
+ |
+
protected boolean |
+_nameCopied
+Flag set to indicate whether the field name is available
+ from the name copy buffer or not (in addition to its String
+ representation being available via read context)
+ |
+
protected char[] |
+_nameCopyBuffer
+Temporary buffer that is needed if field name is accessed
+ using
+getTextCharacters() method (instead of String
+ returning alternatives) |
+
protected BigDecimal |
+_numberBigDecimal |
+
protected BigInteger |
+_numberBigInt |
+
protected double |
+_numberDouble |
+
protected float |
+_numberFloat |
+
protected int |
+_numberInt |
+
protected long |
+_numberLong |
+
protected int |
+_numTypesValid
+Bitfield that indicates which numeric representations
+ have been calculated for the current type
+ |
+
protected com.fasterxml.jackson.core.ObjectCodec |
+_objectCodec
+Codec used for data binding when (if) requested.
+ |
+
protected int |
+_quad1
+Quads used for hash calculation
+ |
+
protected int |
+_quad2
+Quads used for hash calculation
+ |
+
protected int |
+_quad3
+Quads used for hash calculation
+ |
+
protected int[] |
+_quadBuffer
+Temporary buffer used for name parsing.
+ |
+
protected CBORReadContext |
+_streamReadContext
+Information about parser context, context in which
+ the next token is to be parsed (root, array, object).
+ |
+
protected com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer |
+_symbols
+Symbol table that contains field names encountered so far
+ |
+
protected boolean |
+_symbolsCanonical
+Marker flag to indicate that standard symbol handling is used
+ (one with symbol table assisted canonicalization.
+ |
+
protected int |
+_tagValue
+We will keep track of tag value for possible future use.
+ |
+
protected com.fasterxml.jackson.core.util.TextBuffer |
+_textBuffer
+Buffer that contains contents of String values, including
+ field names if necessary (name split across boundary,
+ contains escape sequence, or access needed to char array)
+ |
+
protected boolean |
+_tokenIncomplete
+Flag that indicates that the current token has not yet
+ been fully processed, and needs to be finished for
+ some access (or skipped to obtain the next token)
+ |
+
protected int |
+_tokenInputCol
+Column on input row that current token starts; 0-based (although
+ in the end it'll be converted to 1-based)
+ |
+
protected int |
+_tokenInputRow
+Input row on which current token starts, 1-based
+ |
+
protected long |
+_tokenInputTotal
+Total number of bytes/characters read before start of current token.
+ |
+
protected int |
+_typeByte
+Type byte of the current token
+ |
+
protected static int |
+LONGEST_NON_CHUNKED_BINARY |
+
_currToken, _lastClearedToken, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
CBORParser(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int cborFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym,
+ InputStream in,
+ byte[] inputBuffer,
+ int start,
+ int end,
+ boolean bufferRecyclable) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected boolean |
+_checkNextIsEndArray() |
+
protected boolean |
+_checkNextIsIntInArray(String typeDesc)
+Heavily simplified method that does a subset of what
+nextToken() does to basically
+ only (1) determine that we are getting JsonToken.VALUE_NUMBER_INT (if not,
+ return with no processing) and (2) if so, prepare state so that number accessor
+ method will work). |
+
protected void |
+_checkNumericValue(int expType) |
+
protected void |
+_closeInput() |
+
protected void |
+_decodeNonStringName(int ch)
+Method that handles initial token type recognition for token
+ that has to be either FIELD_NAME or END_OBJECT.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_decodePropertyName() |
+
com.fasterxml.jackson.core.JsonToken |
+_decodeSimpleValue(int lowBits,
+ int ch)
+Helper method that deals with details of decoding unallocated "simple values"
+ and exposing them as expected token.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_decodeUndefinedValue()
+Helper method to encapsulate details of handling of mysterious `undefined` value
+ that is allowed to be used as something encoder could not handle (as per spec),
+ whatever the heck that should be.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_eofAsNextToken() |
+
protected byte[] |
+_finishBytes(int len)
+Helper called to complete reading of binary data ("byte string") in
+ case contents are needed.
+ |
+
protected byte[] |
+_finishChunkedBytes() |
+
protected byte[] |
+_finishLongContiguousBytes(int expLen) |
+
protected String |
+_finishTextToken(int ch) |
+
protected void |
+_finishToken()
+Method called to finish parsing of a token so that token contents
+ are retriable
+ |
+
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
+_getByteArrayBuilder() |
+
protected void |
+_handleEOF() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_handleTaggedArray(int tag,
+ int len) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_handleTaggedBinary(int tag) |
+
protected void |
+_invalidToken(int ch) |
+
protected void |
+_loadToHaveAtLeast(int minAvailable)
+Helper method that will try to load at least specified number bytes in
+ input buffer, possible moving existing data around if necessary
+ |
+
protected String |
+_numberToName(int ch,
+ boolean neg) |
+
protected void |
+_releaseBuffers()
+Method called to release internal buffers owned by the base
+ reader.
+ |
+
protected void |
+_reportIncompleteBinaryRead(int expLen,
+ int actLen) |
+
protected void |
+_reportInvalidChar(int c) |
+
protected void |
+_reportInvalidInitial(int mask) |
+
protected void |
+_reportInvalidOther(int mask) |
+
protected void |
+_reportInvalidOther(int mask,
+ int ptr) |
+
protected void |
+_reportUnexpectedBreak() |
+
protected void |
+_skipBytes(int len) |
+
protected void |
+_skipBytesL(long llen) |
+
protected void |
+_skipChunked(int expectedType) |
+
protected void |
+_skipIncomplete()
+Method called to skip remainders of an incomplete token, when
+ contents themselves will not be needed any more.
+ |
+
protected boolean |
+_tryToLoadToHaveAtLeast(int minAvailable) |
+
void |
+close() |
+
protected void |
+convertNumberToBigDecimal() |
+
protected void |
+convertNumberToBigInteger() |
+
protected void |
+convertNumberToDouble() |
+
protected void |
+convertNumberToFloat() |
+
protected void |
+convertNumberToInt() |
+
protected void |
+convertNumberToLong() |
+
void |
+finishToken()
+Method for forcing full read of current token, even if it might otherwise
+ only be read if data is accessed via
+getText() and similar methods. |
+
BigInteger |
+getBigIntegerValue() |
+
byte[] |
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) |
+
com.fasterxml.jackson.core.ObjectCodec |
+getCodec() |
+
com.fasterxml.jackson.core.JsonLocation |
+getCurrentLocation()
+Overridden since we do not really have character-based locations,
+ but we do have byte offset to specify.
+ |
+
String |
+getCurrentName()
+Method that can be called to get the name associated with
+ the current event.
+ |
+
int |
+getCurrentTag()
+Method that can be used to access tag id associated with
+ the most recently decoded value (whether completely, for
+ scalar values, or partially, for Objects/Arrays), if any.
+ |
+
BigDecimal |
+getDecimalValue() |
+
double |
+getDoubleValue() |
+
Object |
+getEmbeddedObject() |
+
float |
+getFloatValue() |
+
int |
+getFormatFeatures() |
+
Object |
+getInputSource() |
+
int |
+getIntValue() |
+
long |
+getLongValue() |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+getNumberType() |
+
Number |
+getNumberValue() |
+
Number |
+getNumberValueExact() |
+
CBORReadContext |
+getParsingContext() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> |
+getReadCapabilities() |
+
String |
+getText()
+Method for accessing textual representation of the current event;
+ if no current event (before first call to
+nextToken(), or
+ after encountering end-of-input), returns null. |
+
int |
+getText(Writer writer) |
+
char[] |
+getTextCharacters() |
+
int |
+getTextLength() |
+
int |
+getTextOffset() |
+
com.fasterxml.jackson.core.JsonLocation |
+getTokenLocation()
+Overridden since we do not really have character-based locations,
+ but we do have byte offset to specify.
+ |
+
String |
+getValueAsString() |
+
String |
+getValueAsString(String defaultValue) |
+
boolean |
+hasTextCharacters() |
+
boolean |
+isClosed() |
+
boolean |
+isNaN() |
+
protected boolean |
+loadMore() |
+
protected void |
+loadMoreGuaranteed() |
+
Boolean |
+nextBooleanValue() |
+
String |
+nextFieldName() |
+
boolean |
+nextFieldName(com.fasterxml.jackson.core.SerializableString str) |
+
int |
+nextIntValue(int defaultValue) |
+
long |
+nextLongValue(long defaultValue) |
+
String |
+nextTextValue() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+overrideCurrentName(String name) |
+
int |
+readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
+ OutputStream out) |
+
int |
+releaseBuffered(OutputStream out) |
+
void |
+setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getNonBlockingInputFeeder, getObjectId, getSchema, getShortValue, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected static final int LONGEST_NON_CHUNKED_BINARY+
protected com.fasterxml.jackson.core.ObjectCodec _objectCodec+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected boolean _closed+
close()) or when end-of-input is reached.protected int _inputPtr+
protected int _inputEnd+
protected long _currInputProcessed+
protected int _currInputRow+
protected int _currInputRowStart+
protected long _tokenInputTotal+
protected int _tokenInputRow+
protected int _tokenInputCol+
protected CBORReadContext _streamReadContext+
+ NOTE: before 2.13 was "_parsingContext"
protected final com.fasterxml.jackson.core.util.TextBuffer _textBuffer+
protected char[] _nameCopyBuffer+
getTextCharacters() method (instead of String
+ returning alternatives)protected boolean _nameCopied+
protected com.fasterxml.jackson.core.util.ByteArrayBuilder _byteArrayBuilder+
protected byte[] _binaryValue+
getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once.protected int _tagValue+
protected boolean _tokenIncomplete+
protected int _typeByte+
protected InputStream _inputStream+
protected byte[] _inputBuffer+
protected boolean _bufferRecyclable+
+ If it is not, it also means that parser can NOT modify underlying + buffer.
protected final com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer _symbols+
protected int[] _quadBuffer+
protected int _quad1+
protected int _quad2+
protected int _quad3+
protected final boolean _symbolsCanonical+
protected int _numTypesValid+
protected int _numberInt+
protected long _numberLong+
protected float _numberFloat+
protected double _numberDouble+
protected BigInteger _numberBigInt+
protected BigDecimal _numberBigDecimal+
public CBORParser(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int cborFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym, + InputStream in, + byte[] inputBuffer, + int start, + int end, + boolean bufferRecyclable)+
public com.fasterxml.jackson.core.ObjectCodec getCodec()+
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)+
setCodec in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonParserpublic int getFormatFeatures()+
getFormatFeatures in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> getReadCapabilities()+
getReadCapabilities in class com.fasterxml.jackson.core.JsonParserpublic int getCurrentTag()+
public int releaseBuffered(OutputStream out) + throws IOException+
releaseBuffered in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Object getInputSource()+
getInputSource in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonLocation getTokenLocation()+
getTokenLocation in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonLocation getCurrentLocation()+
getCurrentLocation in class com.fasterxml.jackson.core.JsonParserpublic String getCurrentName() + throws IOException+
getCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic void overrideCurrentName(String name)+
overrideCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic boolean isClosed()+
isClosed in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic CBORReadContext getParsingContext()+
getParsingContext in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic boolean hasTextCharacters()+
hasTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseprotected void _releaseBuffers() + throws IOException+
_closeInput() (for
+ example, when explicitly closing this reader instance), or
+ separately (if need be).IOExceptionpublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionprotected String _numberToName(int ch, + boolean neg) + throws IOException+
IOExceptionprotected com.fasterxml.jackson.core.JsonToken _handleTaggedBinary(int tag) + throws IOException+
IOExceptionprotected com.fasterxml.jackson.core.JsonToken _handleTaggedArray(int tag, + int len) + throws IOException+
IOExceptionprotected final boolean _checkNextIsIntInArray(String typeDesc) + throws IOException+
nextToken() does to basically
+ only (1) determine that we are getting JsonToken.VALUE_NUMBER_INT (if not,
+ return with no processing) and (2) if so, prepare state so that number accessor
+ method will work).
+
+ Note that in particular this method DOES NOT reset state that nextToken() would do,
+ but will change current token type to allow access.
IOExceptionprotected final boolean _checkNextIsEndArray() + throws IOException+
IOExceptionpublic void finishToken() + throws IOException+
getText() and similar methods.finishToken in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic boolean nextFieldName(com.fasterxml.jackson.core.SerializableString str) + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String nextFieldName() + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String nextTextValue() + throws IOException+
nextTextValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int nextIntValue(int defaultValue) + throws IOException+
nextIntValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic long nextLongValue(long defaultValue) + throws IOException+
nextLongValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Boolean nextBooleanValue() + throws IOException+
nextBooleanValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String getText() + throws IOException+
nextToken(), or
+ after encountering end-of-input), returns null.
+ Method can be called for any event.getText in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic char[] getTextCharacters() + throws IOException+
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextLength() + throws IOException+
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextOffset() + throws IOException+
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getValueAsString() + throws IOException+
getValueAsString in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getValueAsString(String defaultValue) + throws IOException+
getValueAsString in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getText(Writer writer) + throws IOException+
getText in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) + throws IOException+
getBinaryValue in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic Object getEmbeddedObject() + throws IOException+
getEmbeddedObject in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant, + OutputStream out) + throws IOException+
readBinaryValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic boolean isNaN()+
isNaN in class com.fasterxml.jackson.core.JsonParserpublic Number getNumberValue() + throws IOException+
getNumberValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final Number getNumberValueExact() + throws IOException+
getNumberValueExact in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() + throws IOException+
getNumberType in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int getIntValue() + throws IOException+
getIntValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic long getLongValue() + throws IOException+
getLongValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic BigInteger getBigIntegerValue() + throws IOException+
getBigIntegerValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic float getFloatValue() + throws IOException+
getFloatValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic double getDoubleValue() + throws IOException+
getDoubleValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic BigDecimal getDecimalValue() + throws IOException+
getDecimalValue in class com.fasterxml.jackson.core.JsonParserIOExceptionprotected void _checkNumericValue(int expType) + throws IOException+
IOExceptionprotected void convertNumberToInt() + throws IOException+
IOExceptionprotected void convertNumberToLong() + throws IOException+
IOExceptionprotected void convertNumberToBigInteger() + throws IOException+
IOExceptionprotected void convertNumberToFloat() + throws IOException+
IOExceptionprotected void convertNumberToDouble() + throws IOException+
IOExceptionprotected void convertNumberToBigDecimal() + throws IOException+
IOExceptionprotected void _finishToken() + throws IOException+
IOExceptionprotected String _finishTextToken(int ch) + throws IOException+
IOExceptionprotected byte[] _finishBytes(int len) + throws IOException+
IOExceptionprotected byte[] _finishChunkedBytes() + throws IOException+
IOExceptionprotected byte[] _finishLongContiguousBytes(int expLen) + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _decodePropertyName() + throws IOException+
IOExceptionprotected final void _decodeNonStringName(int ch) + throws IOException+
IOExceptionprotected void _skipIncomplete() + throws IOException+
IOExceptionprotected void _skipChunked(int expectedType) + throws IOException+
IOExceptionprotected void _skipBytesL(long llen) + throws IOException+
IOExceptionprotected void _skipBytes(int len) + throws IOException+
IOExceptionprotected com.fasterxml.jackson.core.JsonToken _decodeUndefinedValue() + throws IOException+
JsonToken.VALUE_NULL, but
+ for later versions it is likely that we will alternatively allow decoding as
+ JsonToken.VALUE_EMBEDDED_OBJECT with "embedded value" of `null`.IOExceptionpublic com.fasterxml.jackson.core.JsonToken _decodeSimpleValue(int lowBits, + int ch) + throws IOException+
+ As of Jackson 2.12, simple values are exposed as
+ JsonToken.VALUE_NUMBER_INTs,
+ but in later versions this is planned to be changed to separate value type.
IOExceptionprotected boolean loadMore() + throws IOException+
IOExceptionprotected void loadMoreGuaranteed() + throws IOException+
IOExceptionprotected final void _loadToHaveAtLeast(int minAvailable) + throws IOException+
IOExceptionprotected final boolean _tryToLoadToHaveAtLeast(int minAvailable) + throws IOException+
IOExceptionprotected com.fasterxml.jackson.core.util.ByteArrayBuilder _getByteArrayBuilder()+
protected void _closeInput() + throws IOException+
IOExceptionprotected void _handleEOF() + throws com.fasterxml.jackson.core.JsonParseException+
_handleEOF in class com.fasterxml.jackson.core.base.ParserMinimalBasecom.fasterxml.jackson.core.JsonParseExceptionprotected com.fasterxml.jackson.core.JsonToken _eofAsNextToken() + throws IOException+
IOExceptionprotected void _invalidToken(int ch) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportUnexpectedBreak() + throws IOException+
IOExceptionprotected void _reportInvalidChar(int c) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportInvalidInitial(int mask) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportInvalidOther(int mask) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportInvalidOther(int mask, + int ptr) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportIncompleteBinaryRead(int expLen, + int actLen) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParserBootstrapper.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParserBootstrapper.html new file mode 100644 index 000000000..259832275 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORParserBootstrapper.html @@ -0,0 +1,473 @@ + + + + + + +public class CBORParserBootstrapper +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_bufferRecyclable
+Flag that indicates whether buffer above is to be recycled
+ after being used or not.
+ |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_context |
+
protected InputStream |
+_in |
+
protected byte[] |
+_inputBuffer |
+
protected int |
+_inputEnd |
+
protected int |
+_inputProcessed
+Current number of input units (bytes or chars) that were processed in
+ previous blocks,
+ before contents of current input buffer.
+ |
+
protected int |
+_inputPtr |
+
| Constructor and Description | +
|---|
CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
+ byte[] inputBuffer,
+ int inputStart,
+ int inputLen) |
+
CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
+ InputStream in) |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORParser |
+constructParser(int factoryFeatures,
+ int generalParserFeatures,
+ int formatFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) |
+
protected boolean |
+ensureLoaded(int minimum) |
+
static com.fasterxml.jackson.core.format.MatchStrength |
+hasCBORFormat(com.fasterxml.jackson.core.format.InputAccessor acc) |
+
protected final com.fasterxml.jackson.core.io.IOContext _context+
protected final InputStream _in+
protected final byte[] _inputBuffer+
protected int _inputPtr+
protected int _inputEnd+
protected final boolean _bufferRecyclable+
protected int _inputProcessed+
+ Note: includes possible BOMs, if those were part of the input.
public CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, + InputStream in)+
public CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, + byte[] inputBuffer, + int inputStart, + int inputLen)+
public CBORParser constructParser(int factoryFeatures, + int generalParserFeatures, + int formatFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) + throws IOException, + com.fasterxml.jackson.core.JsonParseException+
IOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic static com.fasterxml.jackson.core.format.MatchStrength hasCBORFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + throws IOException+
IOExceptionprotected boolean ensureLoaded(int minimum) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORReadContext.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORReadContext.html new file mode 100644 index 000000000..3b6acc26d --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORReadContext.html @@ -0,0 +1,677 @@ + + + + + + +public final class CBORReadContext
+extends com.fasterxml.jackson.core.JsonStreamContext
+JsonReadContext
+ to support features needed by CBOR format.| Modifier and Type | +Field and Description | +
|---|---|
protected CBORReadContext |
+_child |
+
protected String |
+_currentName |
+
protected Object |
+_currentValue |
+
protected com.fasterxml.jackson.core.json.DupDetector |
+_dups |
+
protected int |
+_expEntryCount
+For fixed-size Arrays, Objects, this indicates expected number of entries.
+ |
+
protected CBORReadContext |
+_parent
+Parent context for this context; null for root context.
+ |
+
_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
CBORReadContext(CBORReadContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups,
+ int type,
+ int expEntryCount) |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+acceptsBreakMarker() |
+
CBORReadContext |
+createChildArrayContext(int expEntryCount) |
+
CBORReadContext |
+createChildObjectContext(int expEntryCount) |
+
static CBORReadContext |
+createRootContext(com.fasterxml.jackson.core.json.DupDetector dups) |
+
boolean |
+expectMoreValues()
+Method called to increment the current entry count (Object property, Array
+ element or Root value) for this context level
+ and then see if more entries are accepted.
+ |
+
String |
+getCurrentName() |
+
Object |
+getCurrentValue() |
+
int |
+getExpectedLength() |
+
CBORReadContext |
+getParent() |
+
int |
+getRemainingExpectedLength() |
+
com.fasterxml.jackson.core.JsonLocation |
+getStartLocation(Object rawSrc)
+Deprecated.
+ |
+
boolean |
+hasExpectedLength() |
+
protected void |
+reset(int type,
+ int expEntryCount) |
+
void |
+setCurrentName(String name) |
+
void |
+setCurrentValue(Object v) |
+
com.fasterxml.jackson.core.JsonLocation |
+startLocation(com.fasterxml.jackson.core.io.ContentReference srcRef) |
+
String |
+toString()
+Overridden to provide developer readable "JsonPath" representation
+ of the context.
+ |
+
getCurrentIndex, getEntryCount, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, typeDescprotected final CBORReadContext _parent+
protected final com.fasterxml.jackson.core.json.DupDetector _dups+
protected int _expEntryCount+
protected String _currentName+
protected Object _currentValue+
protected CBORReadContext _child+
public CBORReadContext(CBORReadContext parent, + com.fasterxml.jackson.core.json.DupDetector dups, + int type, + int expEntryCount)+
protected void reset(int type, + int expEntryCount)+
public Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic static CBORReadContext createRootContext(com.fasterxml.jackson.core.json.DupDetector dups)+
public CBORReadContext createChildArrayContext(int expEntryCount)+
public CBORReadContext createChildObjectContext(int expEntryCount)+
public String getCurrentName()+
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic CBORReadContext getParent()+
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic boolean hasExpectedLength()+
public int getExpectedLength()+
public int getRemainingExpectedLength()+
public boolean acceptsBreakMarker()+
public boolean expectMoreValues()+
+ Note that since the entry count is updated this is a state-changing method.
public com.fasterxml.jackson.core.JsonLocation startLocation(com.fasterxml.jackson.core.io.ContentReference srcRef)+
startLocation in class com.fasterxml.jackson.core.JsonStreamContext@Deprecated +public com.fasterxml.jackson.core.JsonLocation getStartLocation(Object rawSrc)+
getStartLocation in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentName(String name) + throws com.fasterxml.jackson.core.JsonProcessingException+
com.fasterxml.jackson.core.JsonProcessingExceptionpublic String toString()+
toString in class com.fasterxml.jackson.core.JsonStreamContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORSimpleValue.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORSimpleValue.html new file mode 100644 index 000000000..8fb91241d --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORSimpleValue.html @@ -0,0 +1,394 @@ + + + + + + +public class CBORSimpleValue +extends Object+
JsonToken.VALUE_NUMBER_INTs.
+
+ Simple values left undefined in
+ CBOR 1.0
+ specification contain values [0 - 19], [32, 255]: other
+ values are not used to represent general simple values.
+ Specifically, values below 0, above 255 or
+ in range [20, 31] (inclusive) are never exposed.
+
+ Values are not guaranteed to be canonicalized, but being immutable + may be reused (and in future possible canonicalized if that makes sense). +
+ Note that it is possible that some of above-mentioned values may be + defined to have specific meaning and get reported using some other + mechanism.
| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_value
+Actual numeric value represented.
+ |
+
| Constructor and Description | +
|---|
CBORSimpleValue(int value) |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(Object o) |
+
int |
+getValue()
+Accessor for the simple integer value represented
+ |
+
int |
+hashCode() |
+
String |
+toString() |
+
protected final int _value+
[0-19][32-255].Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORWriteContext.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORWriteContext.html new file mode 100644 index 000000000..07dcd694a --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/CBORWriteContext.html @@ -0,0 +1,651 @@ + + + + + + +public final class CBORWriteContext
+extends com.fasterxml.jackson.core.JsonStreamContext
+JsonWriteContext, needed to support alternative
+ numeric field id for Integer-valued Maps that CBOR allows.| Modifier and Type | +Field and Description | +
|---|---|
protected CBORWriteContext |
+_childToRecycle |
+
protected long |
+_currentFieldId
+Alternative to
+_currentName used for integer/long-valued Maps. |
+
protected String |
+_currentName
+Name of the field of which value is to be written; only
+ used for OBJECT contexts
+ |
+
protected Object |
+_currentValue |
+
protected com.fasterxml.jackson.core.json.DupDetector |
+_dups |
+
protected boolean |
+_gotFieldId
+Marker used to indicate that we just wrote a field name (or Map name / id)
+ and now expect a value to write
+ |
+
protected CBORWriteContext |
+_parent
+Parent context for this context; null for root context.
+ |
+
_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+CBORWriteContext(int type,
+ CBORWriteContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups,
+ Object currentValue) |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORWriteContext |
+clearAndGetParent()
+Method that can be used to both clear the accumulated references
+ (specifically value set with
+setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ getParent() do). |
+
CBORWriteContext |
+createChildArrayContext(Object currentValue) |
+
CBORWriteContext |
+createChildObjectContext(Object currentValue) |
+
static CBORWriteContext |
+createRootContext(com.fasterxml.jackson.core.json.DupDetector dd) |
+
String |
+getCurrentName() |
+
Object |
+getCurrentValue() |
+
com.fasterxml.jackson.core.json.DupDetector |
+getDupDetector() |
+
CBORWriteContext |
+getParent() |
+
boolean |
+hasCurrentName() |
+
void |
+setCurrentValue(Object v) |
+
CBORWriteContext |
+withDupDetector(com.fasterxml.jackson.core.json.DupDetector dups) |
+
boolean |
+writeFieldId(long fieldId) |
+
boolean |
+writeFieldName(String name)
+Method that writer is to call before it writes a field name.
+ |
+
boolean |
+writeValue() |
+
getCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, toString, typeDescprotected final CBORWriteContext _parent+
protected com.fasterxml.jackson.core.json.DupDetector _dups+
protected CBORWriteContext _childToRecycle+
protected String _currentName+
protected Object _currentValue+
protected long _currentFieldId+
_currentName used for integer/long-valued Maps.protected boolean _gotFieldId+
protected CBORWriteContext(int type, + CBORWriteContext parent, + com.fasterxml.jackson.core.json.DupDetector dups, + Object currentValue)+
public CBORWriteContext withDupDetector(com.fasterxml.jackson.core.json.DupDetector dups)+
public Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic static CBORWriteContext createRootContext(com.fasterxml.jackson.core.json.DupDetector dd)+
public CBORWriteContext createChildArrayContext(Object currentValue)+
public CBORWriteContext createChildObjectContext(Object currentValue)+
public final CBORWriteContext getParent()+
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic final String getCurrentName()+
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic boolean hasCurrentName()+
hasCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic CBORWriteContext clearAndGetParent()+
setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ getParent() do). Typically called when closing the active
+ context when encountering JsonToken.END_ARRAY or
+ JsonToken.END_OBJECT.public com.fasterxml.jackson.core.json.DupDetector getDupDetector()+
public boolean writeFieldName(String name) + throws com.fasterxml.jackson.core.JsonProcessingException+
com.fasterxml.jackson.core.JsonProcessingExceptionpublic boolean writeFieldId(long fieldId) + throws com.fasterxml.jackson.core.JsonProcessingException+
com.fasterxml.jackson.core.JsonProcessingExceptionpublic boolean writeValue()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/PackageVersion.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/PackageVersion.html new file mode 100644 index 000000000..75b13520e --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/PackageVersion.html @@ -0,0 +1,321 @@ + + + + + + +public final class PackageVersion +extends Object +implements com.fasterxml.jackson.core.Versioned+
| Modifier and Type | +Field and Description | +
|---|---|
static com.fasterxml.jackson.core.Version |
+VERSION |
+
| Constructor and Description | +
|---|
PackageVersion() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.Version |
+version() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORConstants.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORConstants.html new file mode 100644 index 000000000..ca11a744b --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORConstants.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORFactory.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORFactory.html new file mode 100644 index 000000000..16fc7c379 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORFactory.html @@ -0,0 +1,278 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| com.fasterxml.jackson.dataformat.cbor.databind | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
CBORFactory |
+CBORFactoryBuilder.build() |
+
CBORFactory |
+CBORFactory.configure(CBORGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactory |
+CBORFactory.configure(CBORParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+CBORParser.Feature for list of features) |
+
CBORFactory |
+CBORFactory.copy() |
+
CBORFactory |
+CBORFactory.disable(CBORGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactory |
+CBORFactory.disable(CBORParser.Feature f)
+Method for disabling specified parser features
+ (check
+CBORParser.Feature for list of features) |
+
CBORFactory |
+CBORFactory.enable(CBORGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactory |
+CBORFactory.enable(CBORParser.Feature f)
+Method for enabling specified parser feature
+ (check
+CBORParser.Feature for list of features) |
+
| Constructor and Description | +
|---|
CBORFactory(CBORFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc)
+Note: REQUIRES at least 2.2.1 -- unfortunate intra-patch dep but seems
+ preferable to just leaving bug be as is
+ |
+
CBORFactoryBuilder(CBORFactory base) |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORFactory |
+CBORMapper.getFactory() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static CBORMapper.Builder |
+CBORMapper.builder(CBORFactory streamFactory) |
+
| Constructor and Description | +
|---|
CBORMapper(CBORFactory f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORFactoryBuilder.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORFactoryBuilder.html new file mode 100644 index 000000000..0ba4b0955 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORFactoryBuilder.html @@ -0,0 +1,232 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| Constructor and Description | +
|---|
CBORFactory(CBORFactoryBuilder b)
+Constructors used by
+CBORFactoryBuilder for instantiation. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORGenerator.Feature.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORGenerator.Feature.html new file mode 100644 index 000000000..c2f7fe51f --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORGenerator.Feature.html @@ -0,0 +1,275 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static CBORGenerator.Feature |
+CBORGenerator.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static CBORGenerator.Feature[] |
+CBORGenerator.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Class<CBORGenerator.Feature> |
+CBORFactory.getFormatWriteFeatureType() |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORGenerator |
+CBORGenerator.configure(CBORGenerator.Feature f,
+ boolean state) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.configure(CBORGenerator.Feature f,
+ boolean state) |
+
CBORFactory |
+CBORFactory.configure(CBORGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORGenerator |
+CBORGenerator.disable(CBORGenerator.Feature f) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.disable(CBORGenerator.Feature f) |
+
CBORFactory |
+CBORFactory.disable(CBORGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.disable(CBORGenerator.Feature first,
+ CBORGenerator.Feature... other) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.disable(CBORGenerator.Feature first,
+ CBORGenerator.Feature... other) |
+
CBORGenerator |
+CBORGenerator.enable(CBORGenerator.Feature f) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.enable(CBORGenerator.Feature f) |
+
CBORFactory |
+CBORFactory.enable(CBORGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+CBORGenerator.Feature for list of features) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.enable(CBORGenerator.Feature first,
+ CBORGenerator.Feature... other) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.enable(CBORGenerator.Feature first,
+ CBORGenerator.Feature... other) |
+
boolean |
+CBORGenerator.isEnabled(CBORGenerator.Feature f) |
+
boolean |
+CBORFactory.isEnabled(CBORGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORGenerator.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORGenerator.html new file mode 100644 index 000000000..3ce9bd7ab --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORGenerator.html @@ -0,0 +1,200 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
protected CBORGenerator |
+CBORFactory._createGenerator(Writer out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected CBORGenerator |
+CBORFactory._createUTF8Generator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
CBORGenerator |
+CBORGenerator.configure(CBORGenerator.Feature f,
+ boolean state) |
+
CBORGenerator |
+CBORFactory.createGenerator(OutputStream out)
+Method for constructing
+JsonGenerator for generating
+ CBOR-encoded output. |
+
CBORGenerator |
+CBORFactory.createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc)
+Method for constructing
+JsonGenerator for generating
+ CBOR-encoded output. |
+
CBORGenerator |
+CBORGenerator.disable(CBORGenerator.Feature f) |
+
CBORGenerator |
+CBORGenerator.enable(CBORGenerator.Feature f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParser.Feature.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParser.Feature.html new file mode 100644 index 000000000..9a71fc4c5 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParser.Feature.html @@ -0,0 +1,258 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static CBORParser.Feature |
+CBORParser.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static CBORParser.Feature[] |
+CBORParser.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Class<CBORParser.Feature> |
+CBORFactory.getFormatReadFeatureType() |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORFactoryBuilder |
+CBORFactoryBuilder.configure(CBORParser.Feature f,
+ boolean state) |
+
CBORFactory |
+CBORFactory.configure(CBORParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+CBORParser.Feature for list of features) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.disable(CBORParser.Feature f) |
+
CBORFactory |
+CBORFactory.disable(CBORParser.Feature f)
+Method for disabling specified parser features
+ (check
+CBORParser.Feature for list of features) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.disable(CBORParser.Feature first,
+ CBORParser.Feature... other) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.disable(CBORParser.Feature first,
+ CBORParser.Feature... other) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.enable(CBORParser.Feature f) |
+
CBORFactory |
+CBORFactory.enable(CBORParser.Feature f)
+Method for enabling specified parser feature
+ (check
+CBORParser.Feature for list of features) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.enable(CBORParser.Feature first,
+ CBORParser.Feature... other) |
+
CBORFactoryBuilder |
+CBORFactoryBuilder.enable(CBORParser.Feature first,
+ CBORParser.Feature... other) |
+
boolean |
+CBORFactory.isEnabled(CBORParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParser.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParser.html new file mode 100644 index 000000000..88dcaa04b --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParser.html @@ -0,0 +1,210 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
protected CBORParser |
+CBORFactory._createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
protected CBORParser |
+CBORFactory._createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired
+ parser.
+ |
+
CBORParser |
+CBORParserBootstrapper.constructParser(int factoryFeatures,
+ int generalParserFeatures,
+ int formatFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) |
+
CBORParser |
+CBORFactory.createParser(byte[] data) |
+
CBORParser |
+CBORFactory.createParser(byte[] data,
+ int offset,
+ int len) |
+
CBORParser |
+CBORFactory.createParser(File f) |
+
CBORParser |
+CBORFactory.createParser(InputStream in) |
+
CBORParser |
+CBORFactory.createParser(URL url) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParserBootstrapper.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParserBootstrapper.html new file mode 100644 index 000000000..041c53274 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORParserBootstrapper.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORReadContext.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORReadContext.html new file mode 100644 index 000000000..0895b86fd --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORReadContext.html @@ -0,0 +1,222 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected CBORReadContext |
+CBORReadContext._child |
+
protected CBORReadContext |
+CBORReadContext._parent
+Parent context for this context; null for root context.
+ |
+
protected CBORReadContext |
+CBORParser._streamReadContext
+Information about parser context, context in which
+ the next token is to be parsed (root, array, object).
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORReadContext |
+CBORReadContext.createChildArrayContext(int expEntryCount) |
+
CBORReadContext |
+CBORReadContext.createChildObjectContext(int expEntryCount) |
+
static CBORReadContext |
+CBORReadContext.createRootContext(com.fasterxml.jackson.core.json.DupDetector dups) |
+
CBORReadContext |
+CBORReadContext.getParent() |
+
CBORReadContext |
+CBORParser.getParsingContext() |
+
| Constructor and Description | +
|---|
CBORReadContext(CBORReadContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups,
+ int type,
+ int expEntryCount) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORSimpleValue.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORSimpleValue.html new file mode 100644 index 000000000..d249edaf0 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORSimpleValue.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORWriteContext.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORWriteContext.html new file mode 100644 index 000000000..9c9ee11b7 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/CBORWriteContext.html @@ -0,0 +1,228 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected CBORWriteContext |
+CBORWriteContext._childToRecycle |
+
protected CBORWriteContext |
+CBORWriteContext._parent
+Parent context for this context; null for root context.
+ |
+
protected CBORWriteContext |
+CBORGenerator._streamWriteContext |
+
| Modifier and Type | +Method and Description | +
|---|---|
CBORWriteContext |
+CBORWriteContext.clearAndGetParent()
+Method that can be used to both clear the accumulated references
+ (specifically value set with
+setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ getParent() do). |
+
CBORWriteContext |
+CBORWriteContext.createChildArrayContext(Object currentValue) |
+
CBORWriteContext |
+CBORWriteContext.createChildObjectContext(Object currentValue) |
+
static CBORWriteContext |
+CBORWriteContext.createRootContext(com.fasterxml.jackson.core.json.DupDetector dd) |
+
CBORWriteContext |
+CBORWriteContext.getParent() |
+
CBORWriteContext |
+CBORWriteContext.withDupDetector(com.fasterxml.jackson.core.json.DupDetector dups) |
+
| Constructor and Description | +
|---|
CBORWriteContext(int type,
+ CBORWriteContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups,
+ Object currentValue) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/PackageVersion.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/PackageVersion.html new file mode 100644 index 000000000..1a3a1b536 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/class-use/PackageVersion.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/CBORMapper.Builder.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/CBORMapper.Builder.html new file mode 100644 index 000000000..b01165ebb --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/CBORMapper.Builder.html @@ -0,0 +1,276 @@ + + + + + + +public static class CBORMapper.Builder +extends com.fasterxml.jackson.databind.cfg.MapperBuilder<CBORMapper,CBORMapper.Builder>+
ObjectMapper, used with
+ CBOR backend._mapper| Constructor and Description | +
|---|
Builder(CBORMapper m) |
+
_this, accessorNaming, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addModule, addModules, addModules, annotationIntrospector, build, clearProblemHandlers, configure, configure, configure, configure, configure, configure, configure, constructorDetector, deactivateDefaultTyping, defaultAttributes, defaultBase64Variant, defaultDateFormat, defaultLeniency, defaultLocale, defaultMergeable, defaultPrettyPrinter, defaultPropertyInclusion, defaultSetterInfo, defaultTimeZone, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, filterProvider, findAndAddModules, findModules, findModules, handlerInstantiator, injectableValues, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, nodeFactory, polymorphicTypeValidator, propertyNamingStrategy, registerSubtypes, registerSubtypes, registerSubtypes, removeMixIn, serializationInclusion, serializerFactory, setDefaultTyping, streamFactory, subtypeResolver, typeFactory, visibility, visibility, withCoercionConfig, withCoercionConfig, withCoercionConfigDefaults, withConfigOverridepublic Builder(CBORMapper m)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/CBORMapper.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/CBORMapper.html new file mode 100644 index 000000000..1d8a6daaf --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/CBORMapper.html @@ -0,0 +1,451 @@ + + + + + + +public class CBORMapper
+extends com.fasterxml.jackson.databind.ObjectMapper
+ObjectMapper to use with CBOR format backend.| Modifier and Type | +Class and Description | +
|---|---|
static class |
+CBORMapper.Builder
+Base implementation for "Vanilla"
+ObjectMapper, used with
+ CBOR backend. |
+
com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder, com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping_coercionConfigs, _configOverrides, _deserializationConfig, _deserializationContext, _injectableValues, _jsonFactory, _mixIns, _registeredModuleTypes, _rootDeserializers, _serializationConfig, _serializerFactory, _serializerProvider, _subtypeResolver, _typeFactory, DEFAULT_ANNOTATION_INTROSPECTOR, DEFAULT_BASE| Modifier | +Constructor and Description | +
|---|---|
|
+CBORMapper() |
+
|
+CBORMapper(CBORFactory f) |
+
protected |
+CBORMapper(CBORMapper src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static CBORMapper.Builder |
+builder() |
+
static CBORMapper.Builder |
+builder(CBORFactory streamFactory) |
+
CBORMapper |
+copy() |
+
CBORFactory |
+getFactory() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_assertNotNull, _checkInvalidCopy, _configAndWriteValue, _constructDefaultTypeResolverBuilder, _convert, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readTreeAndClose, _readValue, _serializerProvider, _verifyNoTrailingTokens, _verifySchemaType, _writeValueAndClose, acceptJsonFormatVisitor, acceptJsonFormatVisitor, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addMixInAnnotations, canDeserialize, canDeserialize, canSerialize, canSerialize, clearProblemHandlers, coercionConfigDefaults, coercionConfigFor, coercionConfigFor, configOverride, configure, configure, configure, configure, configure, constructType, constructType, convertValue, convertValue, convertValue, createArrayNode, createDeserializationContext, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createNonBlockingByteArrayParser, createObjectNode, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, deactivateDefaultTyping, defaultClassIntrospector, disable, disable, disable, disable, disable, disable, disable, disableDefaultTyping, enable, enable, enable, enable, enable, enable, enable, enableDefaultTyping, enableDefaultTyping, enableDefaultTyping, enableDefaultTypingAsProperty, findAndRegisterModules, findMixInClassFor, findModules, findModules, generateJsonSchema, getDateFormat, getDeserializationConfig, getDeserializationContext, getInjectableValues, getNodeFactory, getPolymorphicTypeValidator, getPropertyNamingStrategy, getRegisteredModuleIds, getSerializationConfig, getSerializerFactory, getSerializerProvider, getSerializerProviderInstance, getSubtypeResolver, getTypeFactory, getVisibilityChecker, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, missingNode, mixInCount, nullNode, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForArrayOf, readerForListOf, readerForMapOf, readerForUpdating, readerWithView, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValues, readValues, readValues, readValues, registerModule, registerModules, registerModules, registerSubtypes, registerSubtypes, registerSubtypes, setAccessorNaming, setAnnotationIntrospector, setAnnotationIntrospectors, setBase64Variant, setConfig, setConfig, setConstructorDetector, setDateFormat, setDefaultAttributes, setDefaultLeniency, setDefaultMergeable, setDefaultPrettyPrinter, setDefaultPropertyInclusion, setDefaultPropertyInclusion, setDefaultSetterInfo, setDefaultTyping, setDefaultVisibility, setFilterProvider, setFilters, setHandlerInstantiator, setInjectableValues, setLocale, setMixInAnnotations, setMixInResolver, setMixIns, setNodeFactory, setPolymorphicTypeValidator, setPropertyInclusion, setPropertyNamingStrategy, setSerializationInclusion, setSerializerFactory, setSerializerProvider, setSubtypeResolver, setTimeZone, setTypeFactory, setVisibility, setVisibility, setVisibilityChecker, tokenStreamFactory, treeAsTokens, treeToValue, treeToValue, updateValue, valueToTree, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithType, writerWithType, writerWithType, writerWithView, writeTree, writeTree, writeValue, writeValue, writeValue, writeValue, writeValue, writeValueAsBytes, writeValueAsStringgetJsonFactorypublic CBORMapper()+
public CBORMapper(CBORFactory f)+
protected CBORMapper(CBORMapper src)+
public static CBORMapper.Builder builder()+
public static CBORMapper.Builder builder(CBORFactory streamFactory)+
public CBORMapper copy()+
copy in class com.fasterxml.jackson.databind.ObjectMapperpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.ObjectMapperpublic CBORFactory getFactory()+
getFactory in class com.fasterxml.jackson.databind.ObjectMapperCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/class-use/CBORMapper.Builder.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/class-use/CBORMapper.Builder.html new file mode 100644 index 000000000..755871b13 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/class-use/CBORMapper.Builder.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor.databind | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static CBORMapper.Builder |
+CBORMapper.builder() |
+
static CBORMapper.Builder |
+CBORMapper.builder(CBORFactory streamFactory) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/class-use/CBORMapper.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/class-use/CBORMapper.html new file mode 100644 index 000000000..85108501a --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/class-use/CBORMapper.html @@ -0,0 +1,180 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor.databind | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
CBORMapper |
+CBORMapper.copy() |
+
| Constructor and Description | +
|---|
Builder(CBORMapper m) |
+
CBORMapper(CBORMapper src) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-frame.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-frame.html new file mode 100644 index 000000000..7233fb5eb --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +| Class | +Description | +
|---|---|
| CBORMapper | +
+ Specialized
+ObjectMapper to use with CBOR format backend. |
+
| CBORMapper.Builder | +
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ CBOR backend. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-tree.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-tree.html new file mode 100644 index 000000000..747b0975c --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-use.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-use.html new file mode 100644 index 000000000..275dc4f7b --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/databind/package-use.html @@ -0,0 +1,167 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor.databind | ++ |
| Class and Description | +
|---|
| CBORMapper
+ Specialized
+ObjectMapper to use with CBOR format backend. |
+
| CBORMapper.Builder
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ CBOR backend. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-frame.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-frame.html new file mode 100644 index 000000000..ad067a03d --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-frame.html @@ -0,0 +1,35 @@ + + + + + + +| Class | +Description | +
|---|---|
| CBORConstants | +
+ Constants used by
+CBORGenerator and CBORParser |
+
| CBORFactory | +
+ Factory used for constructing
+CBORParser and CBORGenerator
+ instances; both of which handle
+ CBOR
+ encoded data. |
+
| CBORFactoryBuilder | +
+TSFBuilder
+ implementation for constructing CBORFactory
+ instances. |
+
| CBORGenerator | +
+JsonGenerator implementation that writes CBOR encoded content. |
+
| CBORParser | ++ |
| CBORParserBootstrapper | +
+ Simple bootstrapper version used with CBOR format parser.
+ |
+
| CBORReadContext | +
+ Replacement of
+JsonReadContext
+ to support features needed by CBOR format. |
+
| CBORSimpleValue | +
+ Simple value object to be used for exposing undefined "simple values"
+ when encountered during parsing.
+ |
+
| CBORWriteContext | +
+ Replacement for
+JsonWriteContext, needed to support alternative
+ numeric field id for Integer-valued Maps that CBOR allows. |
+
| PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
| Enum | +Description | +
|---|---|
| CBORGenerator.Feature | +
+ Enumeration that defines all togglable features for CBOR generator.
+ |
+
| CBORParser.Feature | +
+ Enumeration that defines all togglable features for CBOR generators.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-tree.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-tree.html new file mode 100644 index 000000000..c056baff5 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-tree.html @@ -0,0 +1,193 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-use.html b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-use.html new file mode 100644 index 000000000..df1052aa3 --- /dev/null +++ b/docs/javadoc/cbor/2.13/com/fasterxml/jackson/dataformat/cbor/package-use.html @@ -0,0 +1,225 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| com.fasterxml.jackson.dataformat.cbor.databind | ++ |
| Class and Description | +
|---|
| CBORFactory
+ Factory used for constructing
+CBORParser and CBORGenerator
+ instances; both of which handle
+ CBOR
+ encoded data. |
+
CBORFactoryBuilder
+TSFBuilder
+ implementation for constructing CBORFactory
+ instances. |
+
CBORGenerator
+JsonGenerator implementation that writes CBOR encoded content. |
+
| CBORGenerator.Feature
+ Enumeration that defines all togglable features for CBOR generator.
+ |
+
| CBORParser | +
| CBORParser.Feature
+ Enumeration that defines all togglable features for CBOR generators.
+ |
+
| CBORReadContext
+ Replacement of
+JsonReadContext
+ to support features needed by CBOR format. |
+
| CBORWriteContext
+ Replacement for
+JsonWriteContext, needed to support alternative
+ numeric field id for Integer-valued Maps that CBOR allows. |
+
| Class and Description | +
|---|
| CBORFactory
+ Factory used for constructing
+CBORParser and CBORGenerator
+ instances; both of which handle
+ CBOR
+ encoded data. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/constant-values.html b/docs/javadoc/cbor/2.13/constant-values.html new file mode 100644 index 000000000..65fc6071a --- /dev/null +++ b/docs/javadoc/cbor/2.13/constant-values.html @@ -0,0 +1,534 @@ + + + + + + +| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final byte |
+BYTE_ARRAY_2_ELEMENTS |
+-126 |
+
+
+public static final byte |
+BYTE_ARRAY_INDEFINITE |
+-97 |
+
+
+public static final byte |
+BYTE_BREAK |
+-1 |
+
+
+public static final byte |
+BYTE_EMPTY_STRING |
+96 |
+
+
+public static final byte |
+BYTE_FALSE |
+-12 |
+
+
+public static final byte |
+BYTE_FLOAT16 |
+-7 |
+
+
+public static final byte |
+BYTE_FLOAT32 |
+-6 |
+
+
+public static final byte |
+BYTE_FLOAT64 |
+-5 |
+
+
+public static final byte |
+BYTE_NULL |
+-10 |
+
+
+public static final byte |
+BYTE_OBJECT_INDEFINITE |
+-65 |
+
+
+public static final byte |
+BYTE_STRING_1BYTE_LEN |
+120 |
+
+
+public static final byte |
+BYTE_STRING_2BYTE_LEN |
+121 |
+
+
+public static final byte |
+BYTE_STRING_INDEFINITE |
+127 |
+
+
+public static final byte |
+BYTE_TAG_BIGFLOAT |
+-59 |
+
+
+public static final byte |
+BYTE_TAG_BIGNUM_NEG |
+-61 |
+
+
+public static final byte |
+BYTE_TAG_BIGNUM_POS |
+-62 |
+
+
+public static final byte |
+BYTE_TAG_DECIMAL_FRACTION |
+-60 |
+
+
+public static final byte |
+BYTE_TRUE |
+-11 |
+
+
+public static final int |
+INT_BREAK |
+255 |
+
+
+public static final int |
+MAJOR_TYPE_ARRAY |
+4 |
+
+
+public static final int |
+MAJOR_TYPE_BYTES |
+2 |
+
+
+public static final int |
+MAJOR_TYPE_INT_NEG |
+1 |
+
+
+public static final int |
+MAJOR_TYPE_INT_POS |
+0 |
+
+
+public static final int |
+MAJOR_TYPE_MISC |
+7 |
+
+
+public static final int |
+MAJOR_TYPE_OBJECT |
+5 |
+
+
+public static final int |
+MAJOR_TYPE_TAG |
+6 |
+
+
+public static final int |
+MAJOR_TYPE_TEXT |
+3 |
+
+
+public static final int |
+MASK_MAJOR_TYPE |
+224 |
+
+
+public static final int |
+PREFIX_TYPE_ARRAY |
+128 |
+
+
+public static final int |
+PREFIX_TYPE_BYTES |
+64 |
+
+
+public static final int |
+PREFIX_TYPE_INT_NEG |
+32 |
+
+
+public static final int |
+PREFIX_TYPE_INT_POS |
+0 |
+
+
+public static final int |
+PREFIX_TYPE_MISC |
+224 |
+
+
+public static final int |
+PREFIX_TYPE_OBJECT |
+160 |
+
+
+public static final int |
+PREFIX_TYPE_TAG |
+192 |
+
+
+public static final int |
+PREFIX_TYPE_TEXT |
+96 |
+
+
+public static final int |
+SUFFIX_INDEFINITE |
+31 |
+
+
+public static final int |
+SUFFIX_UINT16_ELEMENTS |
+25 |
+
+
+public static final int |
+SUFFIX_UINT32_ELEMENTS |
+26 |
+
+
+public static final int |
+SUFFIX_UINT64_ELEMENTS |
+27 |
+
+
+public static final int |
+SUFFIX_UINT8_ELEMENTS |
+24 |
+
+
+public static final int |
+TAG_BIGFLOAT |
+5 |
+
+
+public static final int |
+TAG_BIGNUM_NEG |
+3 |
+
+
+public static final int |
+TAG_BIGNUM_POS |
+2 |
+
+
+public static final int |
+TAG_DECIMAL_FRACTION |
+4 |
+
+
+public static final int |
+TAG_ID_SELF_DESCRIBE |
+55799 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+FORMAT_NAME |
+"CBOR" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final int |
+BYTE_BUFFER_FOR_OUTPUT |
+16000 |
+
+
+protected static final int |
+REPLACEMENT_CHAR |
+65533 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final int |
+LONGEST_NON_CHUNKED_BINARY |
+250000 |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/deprecated-list.html b/docs/javadoc/cbor/2.13/deprecated-list.html new file mode 100644 index 000000000..d69d64d79 --- /dev/null +++ b/docs/javadoc/cbor/2.13/deprecated-list.html @@ -0,0 +1,151 @@ + + + + + + +| Method and Description | +
|---|
| com.fasterxml.jackson.dataformat.cbor.CBORReadContext.getStartLocation(Object) | +
| com.fasterxml.jackson.dataformat.cbor.CBORGenerator.writeStartArray(int) | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/help-doc.html b/docs/javadoc/cbor/2.13/help-doc.html new file mode 100644 index 000000000..d50e9129a --- /dev/null +++ b/docs/javadoc/cbor/2.13/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/index-all.html b/docs/javadoc/cbor/2.13/index-all.html new file mode 100644 index 000000000..a298e282d --- /dev/null +++ b/docs/javadoc/cbor/2.13/index-all.html @@ -0,0 +1,1456 @@ + + + + + + +CBORFactory instances with
+ different configuration.CBORGenerator and CBORParserCBORParser and CBORGenerator
+ instances; both of which handle
+ CBOR
+ encoded data.CBORFactoryBuilder for instantiation.TSFBuilder
+ implementation for constructing CBORFactory
+ instances.JsonGenerator implementation that writes CBOR encoded content.ObjectMapper to use with CBOR format backend.ObjectMapper, used with
+ CBOR backend.JsonReadContext
+ to support features needed by CBOR format.JsonWriteContext, needed to support alternative
+ numeric field id for Integer-valued Maps that CBOR allows.CBORWriteContext.setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ CBORWriteContext.getParent() do).CBORParser.Feature for list of features)CBORGenerator.Feature for list of features)JsonGenerator.copyCurrentEvent(com.fasterxml.jackson.core.JsonParser) to handle tags.JsonGenerator.copyCurrentStructure(com.fasterxml.jackson.core.JsonParser) to handle tags.JsonGenerator for generating
+ CBOR-encoded output.JsonGenerator for generating
+ CBOR-encoded output.CBORParser.Feature for list of features)CBORGenerator.Feature for list of features)CBORParser.Feature for list of features)CBORGenerator.Feature for list of features)CBORParser.getText() and similar methods.CBORParser.nextToken(), or
+ after encountering end-of-input), returns null.CBORParser.getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once.nextToken() does to basically
+ only (1) determine that we are getting JsonToken.VALUE_NUMBER_INT (if not,
+ return with no processing) and (2) if so, prepare state so that number accessor
+ method will work)._currentName used for integer/long-valued Maps.CBORGenerator.Features are enabled.CBORGenerator.Features enabled, as bitmask.CBORParser.Features enabled, as bitmask.CBORParser.getTextCharacters() method (instead of String
+ returning alternatives)CBORGenerator._out.CBORGenerator._outputBuffer.CBORGenerator._outputBufferCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/index.html b/docs/javadoc/cbor/2.13/index.html new file mode 100644 index 000000000..7466b0fec --- /dev/null +++ b/docs/javadoc/cbor/2.13/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/docs/javadoc/cbor/2.13/overview-summary.html b/docs/javadoc/cbor/2.13/overview-summary.html new file mode 100644 index 000000000..d12c02d26 --- /dev/null +++ b/docs/javadoc/cbor/2.13/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +
| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.cbor | ++ |
| com.fasterxml.jackson.dataformat.cbor.databind | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/overview-tree.html b/docs/javadoc/cbor/2.13/overview-tree.html new file mode 100644 index 000000000..1d6ab53b8 --- /dev/null +++ b/docs/javadoc/cbor/2.13/overview-tree.html @@ -0,0 +1,212 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/package-list b/docs/javadoc/cbor/2.13/package-list new file mode 100644 index 000000000..d59600e32 --- /dev/null +++ b/docs/javadoc/cbor/2.13/package-list @@ -0,0 +1,2 @@ +com.fasterxml.jackson.dataformat.cbor +com.fasterxml.jackson.dataformat.cbor.databind diff --git a/docs/javadoc/cbor/2.13/script.js b/docs/javadoc/cbor/2.13/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/docs/javadoc/cbor/2.13/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/cbor/2.13/serialized-form.html b/docs/javadoc/cbor/2.13/serialized-form.html new file mode 100644 index 000000000..bc88aa7f6 --- /dev/null +++ b/docs/javadoc/cbor/2.13/serialized-form.html @@ -0,0 +1,184 @@ + + + + + + +protected Object readResolve()+
int _formatParserFeatures+
int _formatGeneratorFeatures+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/cbor/2.13/stylesheet.css b/docs/javadoc/cbor/2.13/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/docs/javadoc/cbor/2.13/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/ion/2.13/allclasses-frame.html b/docs/javadoc/ion/2.13/allclasses-frame.html new file mode 100644 index 000000000..c689bbc9d --- /dev/null +++ b/docs/javadoc/ion/2.13/allclasses-frame.html @@ -0,0 +1,49 @@ + + + + + + +public class EnumAsIonSymbolModule
+extends com.fasterxml.jackson.databind.module.SimpleModule
+com.fasterxml.jackson.databind.Module.SetupContext_abstractTypes, _deserializerModifier, _deserializers, _hasExplicitName, _keyDeserializers, _keySerializers, _mixins, _name, _namingStrategy, _serializerModifier, _serializers, _subtypes, _valueInstantiators, _version| Constructor and Description | +
|---|
EnumAsIonSymbolModule() |
+
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, versiongetDependenciesCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/EnumAsIonSymbolSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/EnumAsIonSymbolSerializer.html new file mode 100644 index 000000000..fe7c9cbf2 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/EnumAsIonSymbolSerializer.html @@ -0,0 +1,416 @@ + + + + + + +public class EnumAsIonSymbolSerializer +extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<Enum<?>>+
+ @JsonSerialize(using=EnumAsIonSymbolSerializer.class) ++ + on enumeration members that should serialize at symbols (which amounts to serializing without being surrounded by + double-quotes)
com.fasterxml.jackson.databind.JsonSerializer.None_handledType| Constructor and Description | +
|---|
EnumAsIonSymbolSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
+ com.fasterxml.jackson.databind.JavaType typeHint) |
+
com.fasterxml.jackson.databind.JsonNode |
+getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
+ Type typeHint) |
+
void |
+serialize(Enum<?> value,
+ com.fasterxml.jackson.core.JsonGenerator g,
+ com.fasterxml.jackson.databind.SerializerProvider provider) |
+
serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic EnumAsIonSymbolSerializer()+
public void serialize(Enum<?> value, + com.fasterxml.jackson.core.JsonGenerator g, + com.fasterxml.jackson.databind.SerializerProvider provider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Enum<?>>IOExceptionpublic void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, + com.fasterxml.jackson.databind.JavaType typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<Enum<?>>com.fasterxml.jackson.databind.JsonMappingExceptionpublic com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider provider, + Type typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
getSchema in interface com.fasterxml.jackson.databind.jsonschema.SchemaAwaregetSchema in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<Enum<?>>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonFactory.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonFactory.html new file mode 100644 index 000000000..518b4df43 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonFactory.html @@ -0,0 +1,1240 @@ + + + + + + +public class IonFactory
+extends com.fasterxml.jackson.core.JsonFactory
+JsonFactory that will work on Ion content, instead of JSON
+ content.com.fasterxml.jackson.core.JsonFactory.Feature| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_cfgCreateBinaryWriters
+Whether we will produce binary or text Ion writers: default is textual.
+ |
+
protected int |
+_ionGeneratorFeatures |
+
protected int |
+_ionParserFeatures |
+
protected com.amazon.ion.IonSystem |
+_system |
+
protected static int |
+DEFAULT_ION_GENERATOR_FEATURE_FLAGS
+Bitfield (set of flags) of all generator features that are enabled
+ by default.
+ |
+
protected static int |
+DEFAULT_ION_PARSER_FEATURE_FLAGS
+Bitfield (set of flags) of all parser features that are enabled
+ by default.
+ |
+
static String |
+FORMAT_NAME_ION |
+
_byteSymbolCanonicalizer, _characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON| Modifier | +Constructor and Description | +
|---|---|
|
+IonFactory() |
+
protected |
+IonFactory(IonFactoryBuilder b)
+Constructors used by
+IonFactoryBuilder for instantiation. |
+
protected |
+IonFactory(IonFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
|
+IonFactory(com.fasterxml.jackson.core.ObjectCodec mapper) |
+
|
+IonFactory(com.fasterxml.jackson.core.ObjectCodec mapper,
+ com.amazon.ion.IonSystem system) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected IonGenerator |
+_createGenerator(com.amazon.ion.IonWriter ion,
+ boolean ionWriterIsManaged,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ Closeable dst) |
+
protected IonGenerator |
+_createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc,
+ boolean isManaged) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(char[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ boolean recyclable) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(Reader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected String |
+_readAll(Reader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Deprecated.
+ |
+
static IonFactoryBuilder |
+builderForBinaryWriters()
+Method for creating
+IonFactoryBuilder initialized with settings to
+ create binary (not textual) writers. |
+
static IonFactoryBuilder |
+builderForTextualWriters()
+Method for creating
+IonFactoryBuilder initialized with settings to
+ create textual (not binary) writers. |
+
boolean |
+canHandleBinaryNatively() |
+
boolean |
+canUseCharArrays() |
+
IonFactory |
+configure(IonGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+IonGenerator.Feature for list of features) |
+
IonFactory |
+configure(IonParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+IonParser.Feature for list of features) |
+
IonFactory |
+copy() |
+
boolean |
+createBinaryWriters() |
+
com.fasterxml.jackson.core.JsonGenerator |
+createGenerator(File f,
+ com.fasterxml.jackson.core.JsonEncoding enc) |
+
com.fasterxml.jackson.core.JsonGenerator |
+createGenerator(com.amazon.ion.IonWriter out) |
+
com.fasterxml.jackson.core.JsonGenerator |
+createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc) |
+
com.fasterxml.jackson.core.JsonGenerator |
+createGenerator(Writer out) |
+
com.fasterxml.jackson.core.JsonGenerator |
+createJsonGenerator(com.amazon.ion.IonWriter out)
+Deprecated.
+
+Since 2.7
+ |
+
IonParser |
+createJsonParser(com.amazon.ion.IonReader in)
+Deprecated.
+
+Since 2.7
+ |
+
IonParser |
+createJsonParser(com.amazon.ion.IonValue value)
+Deprecated.
+
+Since 2.7
+ |
+
IonParser |
+createParser(com.amazon.ion.IonReader in) |
+
IonParser |
+createParser(com.amazon.ion.IonValue value) |
+
IonFactory |
+disable(IonGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+IonGenerator.Feature for list of features) |
+
IonFactory |
+disable(IonParser.Feature f)
+Method for disabling specified parser features
+ (check
+IonParser.Feature for list of features) |
+
IonFactory |
+enable(IonGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+IonGenerator.Feature for list of features) |
+
IonFactory |
+enable(IonParser.Feature f)
+Method for enabling specified parser feature
+ (check
+IonParser.Feature for list of features) |
+
static IonFactory |
+forBinaryWriters()
+Method for creating
+IonFactory that will
+ create binary (not textual) writers. |
+
static IonFactory |
+forTextualWriters()
+Method for creating
+IonFactory that will
+ create textual (not binary) writers. |
+
int |
+getFormatGeneratorFeatures() |
+
String |
+getFormatName() |
+
int |
+getFormatParserFeatures() |
+
com.amazon.ion.IonSystem |
+getIonSystem() |
+
boolean |
+isEnabled(IonGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
boolean |
+isEnabled(IonParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
IonFactoryBuilder |
+rebuild() |
+
void |
+setCreateBinaryWriters(boolean b) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_checkInvalidCopy, _createContentReference, _createContentReference, _createContext, _createContext, _createGenerator, _createNonBlockingContext, _createParser, _createUTF8Generator, _createWriter, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, builder, canParseAsync, canUseSchema, configure, configure, configure, createGenerator, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createNonBlockingByteArrayParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getFormatReadFeatureType, getFormatWriteFeatureType, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasFormat, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, readResolve, requiresCustomCodec, requiresPropertyOrdering, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator_createDataOutputWrapper, _optimizedStreamFromURLpublic static final String FORMAT_NAME_ION+
protected final com.amazon.ion.IonSystem _system+
protected boolean _cfgCreateBinaryWriters+
protected static final int DEFAULT_ION_PARSER_FEATURE_FLAGS+
protected static final int DEFAULT_ION_GENERATOR_FEATURE_FLAGS+
protected int _ionParserFeatures+
protected int _ionGeneratorFeatures+
public IonFactory()+
public IonFactory(com.fasterxml.jackson.core.ObjectCodec mapper)+
public IonFactory(com.fasterxml.jackson.core.ObjectCodec mapper, + com.amazon.ion.IonSystem system)+
protected IonFactory(IonFactory src, + com.fasterxml.jackson.core.ObjectCodec oc)+
protected IonFactory(IonFactoryBuilder b)+
IonFactoryBuilder for instantiation.public IonFactoryBuilder rebuild()+
rebuild in class com.fasterxml.jackson.core.JsonFactorypublic static IonFactory forBinaryWriters()+
IonFactory that will
+ create binary (not textual) writers.public static IonFactory forTextualWriters()+
IonFactory that will
+ create textual (not binary) writers.public static IonFactoryBuilder builderForBinaryWriters()+
IonFactoryBuilder initialized with settings to
+ create binary (not textual) writers.public static IonFactoryBuilder builderForTextualWriters()+
IonFactoryBuilder initialized with settings to
+ create textual (not binary) writers.public IonFactory copy()+
copy in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonFactorypublic String getFormatName()+
getFormatName in class com.fasterxml.jackson.core.JsonFactorypublic void setCreateBinaryWriters(boolean b)+
public boolean createBinaryWriters()+
public boolean canHandleBinaryNatively()+
canHandleBinaryNatively in class com.fasterxml.jackson.core.JsonFactorypublic boolean canUseCharArrays()+
canUseCharArrays in class com.fasterxml.jackson.core.JsonFactorypublic final IonFactory configure(IonParser.Feature f, + boolean state)+
IonParser.Feature for list of features)public IonFactory enable(IonParser.Feature f)+
IonParser.Feature for list of features)public IonFactory disable(IonParser.Feature f)+
IonParser.Feature for list of features)public final boolean isEnabled(IonParser.Feature f)+
public int getFormatParserFeatures()+
getFormatParserFeatures in class com.fasterxml.jackson.core.JsonFactorypublic final IonFactory configure(IonGenerator.Feature f, + boolean state)+
IonGenerator.Feature for list of features)public IonFactory enable(IonGenerator.Feature f)+
IonGenerator.Feature for list of features)public IonFactory disable(IonGenerator.Feature f)+
IonGenerator.Feature for list of features)public final boolean isEnabled(IonGenerator.Feature f)+
public int getFormatGeneratorFeatures()+
getFormatGeneratorFeatures in class com.fasterxml.jackson.core.JsonFactorypublic IonParser createParser(com.amazon.ion.IonReader in)+
public IonParser createParser(com.amazon.ion.IonValue value)+
public com.fasterxml.jackson.core.JsonGenerator createGenerator(com.amazon.ion.IonWriter out)+
public com.amazon.ion.IonSystem getIonSystem()+
@Deprecated +public IonParser createJsonParser(com.amazon.ion.IonReader in)+
@Deprecated +public IonParser createJsonParser(com.amazon.ion.IonValue value)+
@Deprecated +public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(com.amazon.ion.IonWriter out)+
protected com.fasterxml.jackson.core.JsonParser _createParser(InputStream in, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(Reader r, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(char[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt, + boolean recyclable) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(byte[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic com.fasterxml.jackson.core.JsonGenerator createGenerator(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc) + throws IOException+
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic com.fasterxml.jackson.core.JsonGenerator createGenerator(Writer out) + throws IOException+
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic com.fasterxml.jackson.core.JsonGenerator createGenerator(File f, + com.fasterxml.jackson.core.JsonEncoding enc) + throws IOException+
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOException@Deprecated +protected String _readAll(Reader r, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
IOExceptionprotected IonGenerator _createGenerator(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc, + boolean isManaged) + throws IOException+
IOExceptionprotected IonGenerator _createGenerator(com.amazon.ion.IonWriter ion, + boolean ionWriterIsManaged, + com.fasterxml.jackson.core.io.IOContext ctxt, + Closeable dst)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonFactoryBuilder.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonFactoryBuilder.html new file mode 100644 index 000000000..310b03188 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonFactoryBuilder.html @@ -0,0 +1,644 @@ + + + + + + +public class IonFactoryBuilder +extends com.fasterxml.jackson.core.TSFBuilder<IonFactory,IonFactoryBuilder>+
TSFBuilder
+ implementation for constructing IonFactory instances.| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_createBinaryWriters |
+
protected int |
+_formatGeneratorFeatures
+Set of
+IonGenerator.Features enabled, as bitmask. |
+
protected int |
+_formatParserFeatures
+Set of
+IonParser.Features enabled, as bitmask. |
+
protected com.amazon.ion.IonSystem |
+_system
+If a custom
+IonSystem instance is needed, configured here;
+ if left as null, will use:
+IonSystemBuilder.standard().build()
+ |
+
_factoryFeatures, _inputDecorator, _outputDecorator, _streamReadFeatures, _streamWriteFeatures, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS| Modifier | +Constructor and Description | +
|---|---|
protected |
+IonFactoryBuilder(boolean createBinary) |
+
|
+IonFactoryBuilder(IonFactory base) |
+
_legacyDisable, _legacyDisable, _legacyEnable, _legacyEnable, _this, configure, configure, configure, configure, configure, disable, disable, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, enable, enable, factoryFeaturesMask, inputDecorator, inputDecorator, outputDecorator, outputDecorator, streamReadFeatures, streamWriteFeaturesprotected com.amazon.ion.IonSystem _system+
IonSystem instance is needed, configured here;
+ if left as null, will use:
+IonSystemBuilder.standard().build()
+protected boolean _createBinaryWriters+
protected int _formatParserFeatures+
IonParser.Features enabled, as bitmask.protected int _formatGeneratorFeatures+
IonGenerator.Features enabled, as bitmask.protected IonFactoryBuilder(boolean createBinary)+
public IonFactoryBuilder(IonFactory base)+
public IonFactory build()+
build in class com.fasterxml.jackson.core.TSFBuilder<IonFactory,IonFactoryBuilder>public IonFactoryBuilder withBinaryWriters()+
public IonFactoryBuilder withTextualWriters()+
public IonFactoryBuilder ionSystem(com.amazon.ion.IonSystem system)+
public IonFactoryBuilder enable(IonParser.Feature f)+
public IonFactoryBuilder enable(IonParser.Feature first, + IonParser.Feature... other)+
public IonFactoryBuilder disable(IonParser.Feature f)+
public IonFactoryBuilder disable(IonParser.Feature first, + IonParser.Feature... other)+
public IonFactoryBuilder configure(IonParser.Feature f, + boolean state)+
public IonFactoryBuilder enable(IonGenerator.Feature f)+
public IonFactoryBuilder enable(IonGenerator.Feature first, + IonGenerator.Feature... other)+
public IonFactoryBuilder disable(IonGenerator.Feature f)+
public IonFactoryBuilder disable(IonGenerator.Feature first, + IonGenerator.Feature... other)+
public IonFactoryBuilder configure(IonGenerator.Feature f, + boolean state)+
public boolean willCreateBinaryWriters()+
public com.amazon.ion.IonSystem ionSystem()+
public int formatParserFeaturesMask()+
public int formatGeneratorFeaturesMask()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonGenerator.Feature.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonGenerator.Feature.html new file mode 100644 index 000000000..7c12f9d6f --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonGenerator.Feature.html @@ -0,0 +1,477 @@ + + + + + + +public static enum IonGenerator.Feature +extends Enum<IonGenerator.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Enum Constant and Description | +
|---|
USE_NATIVE_TYPE_ID
+Whether to use Ion native Type Id construct for indicating type (true);
+ or "generic" type property (false) when writing.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_defaultState |
+
protected int |
+_mask |
+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that
+ are enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static IonGenerator.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IonGenerator.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final IonGenerator.Feature USE_NATIVE_TYPE_ID+
+ Enabled by default for backwards compatibility as that has been the behavior + of `jackson-dataformat-ion` since 2.9 (first official public version)
protected final boolean _defaultState+
protected final int _mask+
public static IonGenerator.Feature[] values()+
+for (IonGenerator.Feature c : IonGenerator.Feature.values()) + System.out.println(c); +
public static IonGenerator.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonGenerator.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonGenerator.html new file mode 100644 index 000000000..10f668e98 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonGenerator.html @@ -0,0 +1,1410 @@ + + + + + + +public class IonGenerator
+extends com.fasterxml.jackson.core.base.GeneratorBase
+JsonGenerator that will use an underlying
+ IonWriter for actual writing of content.| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IonGenerator.Feature
+Enumeration that defines all toggleable features for Ion generators
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected Closeable |
+_destination
+Highest-level output abstraction we can use; either
+ OutputStream or Writer.
+ |
+
protected int |
+_formatFeatures
+Bit flag composed of bits that indicate which
+
+IonGenerator.Features
+ are enabled. |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext |
+
protected boolean |
+_ionWriterIsManaged |
+
protected com.amazon.ion.IonWriter |
+_writer |
+
_cfgNumbersAsStrings, _closed, _features, _objectCodec, _writeContext, DERIVED_FEATURES_MASK, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING_cfgPrettyPrinter, DEFAULT_BINARY_WRITE_CAPABILITIES, DEFAULT_TEXTUAL_WRITE_CAPABILITIES, DEFAULT_WRITE_CAPABILITIES| Constructor and Description | +
|---|
IonGenerator(int jsonFeatures,
+ int ionFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ com.amazon.ion.IonWriter ion,
+ boolean ionWriterIsManaged,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ Closeable dst) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_releaseBuffers() |
+
protected void |
+_reportNoRaw() |
+
protected void |
+_verifyValueWrite(String msg) |
+
protected void |
+_writeFieldName(String value) |
+
void |
+annotateNextValue(String annotation)
+Annotates the next structure or value written --
+stepIn() or one of the
+ IonWriters write*() methods. |
+
boolean |
+canWriteBinaryNatively() |
+
boolean |
+canWriteTypeId() |
+
void |
+close() |
+
void |
+flush() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> |
+getWriteCapabilities() |
+
boolean |
+isClosed() |
+
String |
+toString() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
void |
+writeBinary(com.fasterxml.jackson.core.Base64Variant b64v,
+ byte[] data,
+ int offset,
+ int length) |
+
void |
+writeBoolean(boolean value) |
+
void |
+writeDate(Calendar value) |
+
void |
+writeEndArray() |
+
void |
+writeEndObject() |
+
void |
+writeEndSexp() |
+
void |
+writeFieldName(String value) |
+
void |
+writeNull() |
+
void |
+writeNull(com.amazon.ion.IonType ionType) |
+
void |
+writeNumber(BigDecimal value) |
+
void |
+writeNumber(BigInteger value) |
+
void |
+writeNumber(double value) |
+
void |
+writeNumber(float value) |
+
void |
+writeNumber(int value) |
+
void |
+writeNumber(long value) |
+
void |
+writeNumber(String value) |
+
void |
+writeObject(Object pojo) |
+
void |
+writeRaw(char value) |
+
void |
+writeRaw(char[] value,
+ int arg1,
+ int arg2) |
+
void |
+writeRaw(String value) |
+
void |
+writeRaw(String value,
+ int arg1,
+ int arg2) |
+
void |
+writeRawUTF8String(byte[] text,
+ int offset,
+ int length) |
+
void |
+writeRawValue(char[] value,
+ int arg1,
+ int arg2) |
+
void |
+writeRawValue(String value) |
+
void |
+writeRawValue(String value,
+ int arg1,
+ int arg2) |
+
void |
+writeStartArray() |
+
void |
+writeStartObject() |
+
void |
+writeStartSexp() |
+
void |
+writeString(char[] buffer,
+ int offset,
+ int length) |
+
void |
+writeString(String value) |
+
void |
+writeSymbol(String value) |
+
void |
+writeTypeId(Object rawId) |
+
void |
+writeUTF8String(byte[] buffer,
+ int offset,
+ int length) |
+
void |
+writeValue(com.amazon.ion.IonValue value) |
+
void |
+writeValue(com.amazon.ion.Timestamp value) |
+
_asString, _checkStdFeatureChanges, _constructDefaultPrettyPrinter, _decodeSurrogate, disable, enable, getCodec, getCurrentValue, getFeatureMask, getOutputContext, isEnabled, overrideStdFeatures, setCodec, setCurrentValue, setFeatureMask, useDefaultPrettyPrinter, writeBinary, writeFieldName, writeRawValue, writeStartObject, writeString, writeTree_copyCurrentContents, _reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, assignCurrentValue, canOmitFields, canUseSchema, canWriteFormattedNumbers, canWriteObjectId, configure, copyCurrentEvent, copyCurrentStructure, currentValue, getCharacterEscapes, getFormatFeatures, getHighestEscapedChar, getOutputBuffered, getOutputTarget, getPrettyPrinter, getSchema, isEnabled, overrideFormatFeatures, setCharacterEscapes, setHighestNonEscapedChar, setPrettyPrinter, setRootValueSeparator, setSchema, writeArray, writeArray, writeArray, writeArray, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeFieldId, writeNullField, writeNumber, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writePOJO, writePOJOField, writeRaw, writeStartArray, writeStartArray, writeStartArray, writeStartObject, writeString, writeStringField, writeTypePrefix, writeTypeSuffixprotected final com.amazon.ion.IonWriter _writer+
protected final boolean _ionWriterIsManaged+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected int _formatFeatures+
IonGenerator.Features
+ are enabled.protected final Closeable _destination+
public IonGenerator(int jsonFeatures, + int ionFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + com.amazon.ion.IonWriter ion, + boolean ionWriterIsManaged, + com.fasterxml.jackson.core.io.IOContext ctxt, + Closeable dst)+
public com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.base.GeneratorBasepublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void flush() + throws IOException+
flush in interface Flushableflush in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic boolean isClosed()+
isClosed in class com.fasterxml.jackson.core.base.GeneratorBasepublic boolean canWriteTypeId()+
canWriteTypeId in class com.fasterxml.jackson.core.JsonGeneratorpublic boolean canWriteBinaryNatively()+
canWriteBinaryNatively in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> getWriteCapabilities()+
getWriteCapabilities in class com.fasterxml.jackson.core.JsonGeneratorpublic void writeNumber(int value) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(long value) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigInteger value) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(double value) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(float value) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigDecimal value) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(String value) + throws IOException, + UnsupportedOperationException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionUnsupportedOperationExceptionpublic void writeSymbol(String value) + throws IOException+
IOExceptionpublic void annotateNextValue(String annotation)+
stepIn() or one of the
+ IonWriters write*() methods.annotation - a type annotationIonAnnotationTypeSerializerpublic void writeDate(Calendar value) + throws IOException+
IOExceptionpublic void writeString(String value) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(char[] buffer, + int offset, + int length) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeUTF8String(byte[] buffer, + int offset, + int length) + throws IOException+
writeUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String value) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char value) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String value, + int arg1, + int arg2) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char[] value, + int arg1, + int arg2) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(String value) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(String value, + int arg1, + int arg2) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(char[] value, + int arg1, + int arg2) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawUTF8String(byte[] text, + int offset, + int length) + throws IOException+
writeRawUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant b64v, + byte[] data, + int offset, + int length) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeBoolean(boolean value) + throws IOException+
writeBoolean in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNull() + throws IOException+
writeNull in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNull(com.amazon.ion.IonType ionType) + throws IOException+
IOExceptionpublic void writeObject(Object pojo) + throws IOException+
writeObject in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeValue(com.amazon.ion.IonValue value) + throws IOException+
IOExceptionpublic void writeValue(com.amazon.ion.Timestamp value) + throws IOException+
IOExceptionprotected void _releaseBuffers()+
_releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBaseprotected void _verifyValueWrite(String msg) + throws IOException+
_verifyValueWrite in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeEndArray() + throws IOException+
writeEndArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeEndObject() + throws IOException+
writeEndObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeEndSexp() + throws IOException+
IOExceptionpublic void writeFieldName(String value) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected void _writeFieldName(String value) + throws IOException+
IOExceptionpublic void writeStartArray() + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeStartObject() + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeStartSexp() + throws IOException+
IOExceptionpublic void writeTypeId(Object rawId) + throws IOException+
writeTypeId in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected void _reportNoRaw() + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonObjectMapper.Builder.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonObjectMapper.Builder.html new file mode 100644 index 000000000..b5608a50e --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonObjectMapper.Builder.html @@ -0,0 +1,407 @@ + + + + + + +public static class IonObjectMapper.Builder +extends com.fasterxml.jackson.databind.cfg.MapperBuilder<IonObjectMapper,IonObjectMapper.Builder>+
ObjectMapper, used with
+ Ion backend.| Modifier and Type | +Field and Description | +
|---|---|
protected IonFactory |
+_streamFactory |
+
_mapper| Constructor and Description | +
|---|
Builder(IonObjectMapper m) |
+
| Modifier and Type | +Method and Description | +
|---|---|
IonObjectMapper.Builder |
+configure(IonGenerator.Feature feature,
+ boolean state) |
+
IonObjectMapper.Builder |
+configure(IonParser.Feature feature,
+ boolean state) |
+
IonObjectMapper.Builder |
+disable(IonGenerator.Feature... features) |
+
IonObjectMapper.Builder |
+disable(IonParser.Feature... features) |
+
IonObjectMapper.Builder |
+enable(IonGenerator.Feature... features) |
+
IonObjectMapper.Builder |
+enable(IonParser.Feature... features) |
+
_this, accessorNaming, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addModule, addModules, addModules, annotationIntrospector, build, clearProblemHandlers, configure, configure, configure, configure, configure, configure, configure, constructorDetector, deactivateDefaultTyping, defaultAttributes, defaultBase64Variant, defaultDateFormat, defaultLeniency, defaultLocale, defaultMergeable, defaultPrettyPrinter, defaultPropertyInclusion, defaultSetterInfo, defaultTimeZone, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, filterProvider, findAndAddModules, findModules, findModules, handlerInstantiator, injectableValues, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, nodeFactory, polymorphicTypeValidator, propertyNamingStrategy, registerSubtypes, registerSubtypes, registerSubtypes, removeMixIn, serializationInclusion, serializerFactory, setDefaultTyping, streamFactory, subtypeResolver, typeFactory, visibility, visibility, withCoercionConfig, withCoercionConfig, withCoercionConfigDefaults, withConfigOverrideprotected final IonFactory _streamFactory+
public Builder(IonObjectMapper m)+
public IonObjectMapper.Builder enable(IonParser.Feature... features)+
public IonObjectMapper.Builder disable(IonParser.Feature... features)+
public IonObjectMapper.Builder configure(IonParser.Feature feature, + boolean state)+
public IonObjectMapper.Builder enable(IonGenerator.Feature... features)+
public IonObjectMapper.Builder disable(IonGenerator.Feature... features)+
public IonObjectMapper.Builder configure(IonGenerator.Feature feature, + boolean state)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonObjectMapper.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonObjectMapper.html new file mode 100644 index 000000000..04f087509 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonObjectMapper.html @@ -0,0 +1,906 @@ + + + + + + +public class IonObjectMapper
+extends com.fasterxml.jackson.databind.ObjectMapper
+ObjectMapper that will set underlying
+ JsonFactory
+ to be an instance of IonFactory.| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IonObjectMapper.Builder
+Base implementation for "Vanilla"
+ObjectMapper, used with
+ Ion backend. |
+
com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder, com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping_coercionConfigs, _configOverrides, _deserializationConfig, _deserializationContext, _injectableValues, _jsonFactory, _mixIns, _registeredModuleTypes, _rootDeserializers, _serializationConfig, _serializerFactory, _serializerProvider, _subtypeResolver, _typeFactory, DEFAULT_ANNOTATION_INTROSPECTOR, DEFAULT_BASE| Modifier | +Constructor and Description | +
|---|---|
|
+IonObjectMapper()
+Constructor that will construct the mapper with a standard
+IonFactory
+ as codec, using textual writers by default. |
+
|
+IonObjectMapper(IonFactory f)
+Constructor that will construct the mapper with a given
+IonFactory. |
+
protected |
+IonObjectMapper(IonObjectMapper src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IonObjectMapper.Builder |
+builder()
+A builder for a mapper that will use textual writers by default.
+ |
+
static IonObjectMapper.Builder |
+builder(IonFactory streamFactory) |
+
static IonObjectMapper.Builder |
+builder(com.amazon.ion.IonSystem ionSystem)
+A builder for a mapper that will use textual writers by default and the
+ provided
+IonSystem. |
+
static IonObjectMapper.Builder |
+builderForBinaryWriters()
+A builder for a mapper that will use binary writers by default.
+ |
+
static IonObjectMapper.Builder |
+builderForBinaryWriters(com.amazon.ion.IonSystem ionSystem)
+A builder for a mapper that will use binary writers by default and the
+ provided
+IonSystem |
+
static IonObjectMapper.Builder |
+builderForTextualWriters()
+A builder for a mapper that will use textual writers by default.
+ |
+
static IonObjectMapper.Builder |
+builderForTextualWriters(com.amazon.ion.IonSystem ionSystem)
+A builder for a mapper that will use textual writers by default and the
+ provided
+IonSystem. |
+
IonObjectMapper |
+configure(IonGenerator.Feature f,
+ boolean state) |
+
IonObjectMapper |
+configure(IonParser.Feature f,
+ boolean state) |
+
com.fasterxml.jackson.databind.ObjectMapper |
+copy() |
+
IonGenerator |
+createGenerator(com.amazon.ion.IonWriter writer) |
+
IonParser |
+createParser(com.amazon.ion.IonReader reader) |
+
IonParser |
+createParser(com.amazon.ion.IonValue value) |
+
IonObjectMapper |
+disable(IonGenerator.Feature f) |
+
IonObjectMapper |
+disable(IonParser.Feature f) |
+
IonObjectMapper |
+enable(IonGenerator.Feature f) |
+
IonObjectMapper |
+enable(IonParser.Feature f) |
+
IonFactory |
+getFactory() |
+
<T> T |
+readValue(com.amazon.ion.IonReader r,
+ Class<T> valueType)
+Deserialize an Ion value read from the supplied IonReader into a Java
+ type.
+ |
+
<T> T |
+readValue(com.amazon.ion.IonReader r,
+ com.fasterxml.jackson.databind.JavaType valueType)
+Deserialize an Ion value read from the supplied IonReader into a Java
+ type.
+ |
+
<T> T |
+readValue(com.amazon.ion.IonReader r,
+ com.fasterxml.jackson.core.type.TypeReference valueTypeRef)
+Deserialize an Ion value read from the supplied IonReader into a Java
+ type.
+ |
+
<T> T |
+readValue(com.amazon.ion.IonValue value,
+ Class<T> valueType)
+Convenience method for converting Ion value into given value type.
+ |
+
<T> T |
+readValue(com.amazon.ion.IonValue value,
+ com.fasterxml.jackson.databind.JavaType valueType)
+Convenience method for converting Ion value into given value type.
+ |
+
<T> T |
+readValue(com.amazon.ion.IonValue value,
+ com.fasterxml.jackson.core.type.TypeReference valueTypeRef)
+Convenience method for converting Ion value into given value type.
+ |
+
void |
+setCreateBinaryWriters(boolean bin) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
void |
+writeValue(com.amazon.ion.IonWriter w,
+ Object value)
+Method that can be used to serialize any Java value as
+ Ion output, using IonWriter provided.
+ |
+
com.amazon.ion.IonValue |
+writeValueAsIonValue(Object value)
+Method that can be used to map any Java value to an IonValue.
+ |
+
_assertNotNull, _checkInvalidCopy, _configAndWriteValue, _constructDefaultTypeResolverBuilder, _convert, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readTreeAndClose, _readValue, _serializerProvider, _verifyNoTrailingTokens, _verifySchemaType, _writeValueAndClose, acceptJsonFormatVisitor, acceptJsonFormatVisitor, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addMixInAnnotations, canDeserialize, canDeserialize, canSerialize, canSerialize, clearProblemHandlers, coercionConfigDefaults, coercionConfigFor, coercionConfigFor, configOverride, configure, configure, configure, configure, configure, constructType, constructType, convertValue, convertValue, convertValue, createArrayNode, createDeserializationContext, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createNonBlockingByteArrayParser, createObjectNode, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, deactivateDefaultTyping, defaultClassIntrospector, disable, disable, disable, disable, disable, disable, disable, disableDefaultTyping, enable, enable, enable, enable, enable, enable, enable, enableDefaultTyping, enableDefaultTyping, enableDefaultTyping, enableDefaultTypingAsProperty, findAndRegisterModules, findMixInClassFor, findModules, findModules, generateJsonSchema, getDateFormat, getDeserializationConfig, getDeserializationContext, getInjectableValues, getNodeFactory, getPolymorphicTypeValidator, getPropertyNamingStrategy, getRegisteredModuleIds, getSerializationConfig, getSerializerFactory, getSerializerProvider, getSerializerProviderInstance, getSubtypeResolver, getTypeFactory, getVisibilityChecker, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, missingNode, mixInCount, nullNode, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForArrayOf, readerForListOf, readerForMapOf, readerForUpdating, readerWithView, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValues, readValues, readValues, readValues, registerModule, registerModules, registerModules, registerSubtypes, registerSubtypes, registerSubtypes, setAccessorNaming, setAnnotationIntrospector, setAnnotationIntrospectors, setBase64Variant, setConfig, setConfig, setConstructorDetector, setDateFormat, setDefaultAttributes, setDefaultLeniency, setDefaultMergeable, setDefaultPrettyPrinter, setDefaultPropertyInclusion, setDefaultPropertyInclusion, setDefaultSetterInfo, setDefaultTyping, setDefaultVisibility, setFilterProvider, setFilters, setHandlerInstantiator, setInjectableValues, setLocale, setMixInAnnotations, setMixInResolver, setMixIns, setNodeFactory, setPolymorphicTypeValidator, setPropertyInclusion, setPropertyNamingStrategy, setSerializationInclusion, setSerializerFactory, setSerializerProvider, setSubtypeResolver, setTimeZone, setTypeFactory, setVisibility, setVisibility, setVisibilityChecker, tokenStreamFactory, treeAsTokens, treeToValue, treeToValue, updateValue, valueToTree, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithType, writerWithType, writerWithType, writerWithView, writeTree, writeTree, writeValue, writeValue, writeValue, writeValue, writeValue, writeValueAsBytes, writeValueAsStringgetJsonFactorypublic IonObjectMapper()+
IonFactory
+ as codec, using textual writers by default.public IonObjectMapper(IonFactory f)+
IonFactory.protected IonObjectMapper(IonObjectMapper src)+
public static IonObjectMapper.Builder builder()+
builderForTextualWriters().public static IonObjectMapper.Builder builder(com.amazon.ion.IonSystem ionSystem)+
IonSystem. Same as builderForTextualWriters(IonSystem).public static IonObjectMapper.Builder builderForBinaryWriters()+
public static IonObjectMapper.Builder builderForBinaryWriters(com.amazon.ion.IonSystem ionSystem)+
IonSystempublic static IonObjectMapper.Builder builderForTextualWriters()+
public static IonObjectMapper.Builder builderForTextualWriters(com.amazon.ion.IonSystem ionSystem)+
IonSystem.public static IonObjectMapper.Builder builder(IonFactory streamFactory)+
public com.fasterxml.jackson.databind.ObjectMapper copy()+
copy in class com.fasterxml.jackson.databind.ObjectMapperpublic void setCreateBinaryWriters(boolean bin)+
public com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.ObjectMapperpublic IonObjectMapper configure(IonGenerator.Feature f, + boolean state)+
public IonObjectMapper configure(IonParser.Feature f, + boolean state)+
public IonObjectMapper enable(IonGenerator.Feature f)+
public IonObjectMapper enable(IonParser.Feature f)+
public IonObjectMapper disable(IonGenerator.Feature f)+
public IonObjectMapper disable(IonParser.Feature f)+
public IonFactory getFactory()+
getFactory in class com.fasterxml.jackson.databind.ObjectMapperpublic IonParser createParser(com.amazon.ion.IonReader reader) + throws IOException+
IOExceptionpublic IonParser createParser(com.amazon.ion.IonValue value) + throws IOException+
IOExceptionpublic IonGenerator createGenerator(com.amazon.ion.IonWriter writer) + throws IOException+
IOExceptionpublic <T> T readValue(com.amazon.ion.IonReader r, + Class<T> valueType) + throws IOException+
+ Note: method does not close the underlying reader
IOExceptionpublic <T> T readValue(com.amazon.ion.IonReader r, + com.fasterxml.jackson.core.type.TypeReference valueTypeRef) + throws IOException+
+ Note: method does not close the underlying reader
IOExceptionpublic <T> T readValue(com.amazon.ion.IonReader r, + com.fasterxml.jackson.databind.JavaType valueType) + throws IOException+
+ Note: method does not close the underlying reader
IOExceptionpublic <T> T readValue(com.amazon.ion.IonValue value, + Class<T> valueType) + throws IOException+
IOExceptionpublic <T> T readValue(com.amazon.ion.IonValue value, + com.fasterxml.jackson.core.type.TypeReference valueTypeRef) + throws IOException+
IOExceptionpublic <T> T readValue(com.amazon.ion.IonValue value, + com.fasterxml.jackson.databind.JavaType valueType) + throws IOException+
IOExceptionpublic void writeValue(com.amazon.ion.IonWriter w, + Object value) + throws IOException+
+ Note: method does not close the underlying writer explicitly
IOExceptionpublic com.amazon.ion.IonValue writeValueAsIonValue(Object value) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonParser.Feature.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonParser.Feature.html new file mode 100644 index 000000000..f0c961f0f --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonParser.Feature.html @@ -0,0 +1,426 @@ + + + + + + +public static enum IonParser.Feature +extends Enum<IonParser.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Enum Constant and Description | +
|---|
USE_NATIVE_TYPE_ID
+Whether to expect Ion native Type Id construct for indicating type (true);
+ or "generic" type property (false) when deserializing.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that
+ are enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static IonParser.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IonParser.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final IonParser.Feature USE_NATIVE_TYPE_ID+
+ Enabled by default for backwards compatibility as that has been the behavior + of `jackson-dataformat-ion` since 2.9 (first official public version)
public static IonParser.Feature[] values()+
+for (IonParser.Feature c : IonParser.Feature.values()) + System.out.println(c); +
public static IonParser.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonParser.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonParser.html new file mode 100644 index 000000000..00f31b5d2 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonParser.html @@ -0,0 +1,1187 @@ + + + + + + +public class IonParser
+extends com.fasterxml.jackson.core.base.ParserMinimalBase
+JsonParser that will use an underlying
+ IonReader as actual parser, and camouflage it as json parser.
+ Will not expose all Ion info (specifically, annotations)| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IonParser.Feature
+Enumeration that defines all togglable features for Ion parsers.
+ |
+
com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_closed
+Whether this logical parser has been closed or not
+ |
+
protected int |
+_formatFeatures
+Bit flag composed of bits that indicate which
+
+IonParser.Features
+ are enabled. |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext
+Some information about source is passed here, including underlying
+ stream
+ |
+
protected com.fasterxml.jackson.core.ObjectCodec |
+_objectCodec |
+
protected com.fasterxml.jackson.core.json.JsonReadContext |
+_parsingContext
+Information about context in structure hierarchy
+ |
+
protected com.amazon.ion.IonReader |
+_reader |
+
protected com.fasterxml.jackson.core.JsonToken |
+_valueToken
+Type of value token we have; used to temporarily hold information
+ when pointing to field name
+ |
+
_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
IonParser(com.amazon.ion.IonReader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Deprecated.
+
+use
+instead |
+
IonParser(com.amazon.ion.IonReader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ com.fasterxml.jackson.core.ObjectCodec codec)
+Deprecated.
+
+use
+instead |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_handleEOF()
+Method called when an EOF is encountered between tokens.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_tokenFromType(com.amazon.ion.IonType type) |
+
boolean |
+canReadTypeId() |
+
void |
+close() |
+
BigInteger |
+getBigIntegerValue() |
+
byte[] |
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant arg0) |
+
com.fasterxml.jackson.core.ObjectCodec |
+getCodec() |
+
com.fasterxml.jackson.core.JsonLocation |
+getCurrentLocation() |
+
String |
+getCurrentName() |
+
BigDecimal |
+getDecimalValue() |
+
double |
+getDoubleValue() |
+
Object |
+getEmbeddedObject() |
+
float |
+getFloatValue() |
+
int |
+getIntValue() |
+
com.amazon.ion.IonSystem |
+getIonSystem()
+Accessor for
+IonSystem this parser instance was construted
+ with |
+
long |
+getLongValue() |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+getNumberType() |
+
Number |
+getNumberValue() |
+
Number |
+getNumberValueExact() |
+
com.fasterxml.jackson.core.JsonStreamContext |
+getParsingContext() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> |
+getReadCapabilities() |
+
String |
+getText() |
+
char[] |
+getTextCharacters() |
+
int |
+getTextLength() |
+
int |
+getTextOffset() |
+
com.fasterxml.jackson.core.JsonLocation |
+getTokenLocation() |
+
String[] |
+getTypeAnnotations() |
+
Object |
+getTypeId() |
+
boolean |
+hasTextCharacters() |
+
boolean |
+isClosed() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+overrideCurrentName(String name) |
+
boolean |
+requiresCustomCodec() |
+
void |
+setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
+
com.fasterxml.jackson.core.JsonParser |
+skipChildren() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getFormatFeatures, getInputSource, getNonBlockingInputFeeder, getObjectId, getSchema, getShortValue, getText, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, isNaN, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected final com.amazon.ion.IonReader _reader+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected com.fasterxml.jackson.core.ObjectCodec _objectCodec+
protected boolean _closed+
protected com.fasterxml.jackson.core.json.JsonReadContext _parsingContext+
protected com.fasterxml.jackson.core.JsonToken _valueToken+
protected int _formatFeatures+
IonParser.Features
+ are enabled.@Deprecated +public IonParser(com.amazon.ion.IonReader r, + com.fasterxml.jackson.core.io.IOContext ctxt)+
instead@Deprecated +public IonParser(com.amazon.ion.IonReader r, + com.fasterxml.jackson.core.io.IOContext ctxt, + com.fasterxml.jackson.core.ObjectCodec codec)+
insteadpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)+
setCodec in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.ObjectCodec getCodec()+
getCodec in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonParserpublic com.amazon.ion.IonSystem getIonSystem()+
IonSystem this parser instance was construted
+ withIonSystem instancepublic boolean canReadTypeId()+
canReadTypeId in class com.fasterxml.jackson.core.JsonParserpublic boolean requiresCustomCodec()+
requiresCustomCodec in class com.fasterxml.jackson.core.JsonParserpublic boolean hasTextCharacters()+
hasTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> getReadCapabilities()+
getReadCapabilities in class com.fasterxml.jackson.core.JsonParserpublic boolean isClosed()+
isClosed in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getText() + throws IOException+
getText in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic char[] getTextCharacters() + throws IOException+
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextLength() + throws IOException+
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextOffset() + throws IOException+
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic BigInteger getBigIntegerValue() + throws IOException+
getBigIntegerValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic BigDecimal getDecimalValue() + throws IOException+
getDecimalValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic double getDoubleValue() + throws IOException+
getDoubleValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic float getFloatValue() + throws IOException+
getFloatValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int getIntValue() + throws IOException+
getIntValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic long getLongValue() + throws IOException+
getLongValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() + throws IOException+
getNumberType in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Number getNumberValue() + throws IOException+
getNumberValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final Number getNumberValueExact() + throws IOException+
getNumberValueExact in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant arg0) + throws IOException+
getBinaryValue in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic Object getEmbeddedObject() + throws IOException+
getEmbeddedObject in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Object getTypeId() + throws IOException+
getTypeId in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic com.fasterxml.jackson.core.JsonLocation getCurrentLocation()+
getCurrentLocation in class com.fasterxml.jackson.core.JsonParserpublic String getCurrentName() + throws IOException+
getCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic com.fasterxml.jackson.core.JsonStreamContext getParsingContext()+
getParsingContext in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic com.fasterxml.jackson.core.JsonLocation getTokenLocation()+
getTokenLocation in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String[] getTypeAnnotations()+
IonAnnotationTypeDeserializerpublic com.fasterxml.jackson.core.JsonParser skipChildren() + throws IOException+
skipChildren in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionprotected com.fasterxml.jackson.core.JsonToken _tokenFromType(com.amazon.ion.IonType type)+
protected void _handleEOF() + throws com.fasterxml.jackson.core.JsonParseException+
_handleEOF in class com.fasterxml.jackson.core.base.ParserMinimalBasecom.fasterxml.jackson.core.JsonParseExceptionpublic void overrideCurrentName(String name)+
overrideCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonSymbolSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonSymbolSerializer.html new file mode 100644 index 000000000..95f166082 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonSymbolSerializer.html @@ -0,0 +1,416 @@ + + + + + + +public class IonSymbolSerializer +extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<String>+
+ @JsonSerialize(using=IonSymbolSerializer.class) ++ + on String members that should serialize at symbols (which amounts to + serializing without being surrounded by double-quotes)
com.fasterxml.jackson.databind.JsonSerializer.None_handledType| Constructor and Description | +
|---|
IonSymbolSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor,
+ com.fasterxml.jackson.databind.JavaType typeHint) |
+
com.fasterxml.jackson.databind.JsonNode |
+getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
+ Type typeHint) |
+
void |
+serialize(String value,
+ com.fasterxml.jackson.core.JsonGenerator g,
+ com.fasterxml.jackson.databind.SerializerProvider provider) |
+
serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic void serialize(String value, + com.fasterxml.jackson.core.JsonGenerator g, + com.fasterxml.jackson.databind.SerializerProvider provider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<String>IOExceptionpublic com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider provider, + Type typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
getSchema in interface com.fasterxml.jackson.databind.jsonschema.SchemaAwaregetSchema in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<String>com.fasterxml.jackson.databind.JsonMappingExceptionpublic void acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper visitor, + com.fasterxml.jackson.databind.JavaType typeHint) + throws com.fasterxml.jackson.databind.JsonMappingException+
acceptJsonFormatVisitor in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitableacceptJsonFormatVisitor in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<String>com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.IonTimestampJavaDateDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.IonTimestampJavaDateDeserializer.html new file mode 100644 index 000000000..6f67dcc72 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.IonTimestampJavaDateDeserializer.html @@ -0,0 +1,379 @@ + + + + + + +public static class IonTimestampDeserializers.IonTimestampJavaDateDeserializer
+extends com.fasterxml.jackson.databind.deser.std.DateDeserializers.DateDeserializer
+com.fasterxml.jackson.databind.JsonDeserializer.Noneinstance_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Constructor and Description | +
|---|
IonTimestampJavaDateDeserializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
Date |
+deserialize(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
getEmptyValue, withDateFormatdeserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic IonTimestampJavaDateDeserializer()+
public Date deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserialize in class com.fasterxml.jackson.databind.deser.std.DateDeserializers.DateDeserializerIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.IonTimestampSQLDateDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.IonTimestampSQLDateDeserializer.html new file mode 100644 index 000000000..5873105f6 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.IonTimestampSQLDateDeserializer.html @@ -0,0 +1,372 @@ + + + + + + +public static class IonTimestampDeserializers.IonTimestampSQLDateDeserializer
+extends com.fasterxml.jackson.databind.deser.std.DateDeserializers.SqlDateDeserializer
+com.fasterxml.jackson.databind.JsonDeserializer.None_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Constructor and Description | +
|---|
IonTimestampSQLDateDeserializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
Date |
+deserialize(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
getEmptyValue, withDateFormatdeserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic IonTimestampSQLDateDeserializer()+
public Date deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException+
deserialize in class com.fasterxml.jackson.databind.deser.std.DateDeserializers.SqlDateDeserializerIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.html new file mode 100644 index 000000000..9fa8dadd8 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampDeserializers.html @@ -0,0 +1,263 @@ + + + + + + +public class IonTimestampDeserializers +extends Object+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IonTimestampDeserializers.IonTimestampJavaDateDeserializer |
+
static class |
+IonTimestampDeserializers.IonTimestampSQLDateDeserializer |
+
| Constructor and Description | +
|---|
IonTimestampDeserializers() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.IonTimestampJavaDateSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.IonTimestampJavaDateSerializer.html new file mode 100644 index 000000000..6d3f8cad2 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.IonTimestampJavaDateSerializer.html @@ -0,0 +1,362 @@ + + + + + + +public static class IonTimestampSerializers.IonTimestampJavaDateSerializer +extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<Date>+
com.fasterxml.jackson.databind.JsonSerializer.None_handledType| Constructor and Description | +
|---|
IonTimestampJavaDateSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+serialize(Date date,
+ com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
+ com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
+
acceptJsonFormatVisitor, getSchema, serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic IonTimestampJavaDateSerializer()+
public void serialize(Date date, + com.fasterxml.jackson.core.JsonGenerator jsonGenerator, + com.fasterxml.jackson.databind.SerializerProvider serializerProvider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Date>IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.IonTimestampSQLDateSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.IonTimestampSQLDateSerializer.html new file mode 100644 index 000000000..c987e7007 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.IonTimestampSQLDateSerializer.html @@ -0,0 +1,362 @@ + + + + + + +public static class IonTimestampSerializers.IonTimestampSQLDateSerializer +extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<Date>+
com.fasterxml.jackson.databind.JsonSerializer.None_handledType| Constructor and Description | +
|---|
IonTimestampSQLDateSerializer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+serialize(Date date,
+ com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
+ com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
+
acceptJsonFormatVisitor, getSchema, serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic IonTimestampSQLDateSerializer()+
public void serialize(Date date, + com.fasterxml.jackson.core.JsonGenerator jsonGenerator, + com.fasterxml.jackson.databind.SerializerProvider serializerProvider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Date>IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.html new file mode 100644 index 000000000..99476dc1d --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonTimestampSerializers.html @@ -0,0 +1,263 @@ + + + + + + +public class IonTimestampSerializers +extends Object+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IonTimestampSerializers.IonTimestampJavaDateSerializer |
+
static class |
+IonTimestampSerializers.IonTimestampSQLDateSerializer |
+
| Constructor and Description | +
|---|
IonTimestampSerializers() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonWriteContext.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonWriteContext.html new file mode 100644 index 000000000..133c940a5 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/IonWriteContext.html @@ -0,0 +1,457 @@ + + + + + + +public class IonWriteContext
+extends com.fasterxml.jackson.core.json.JsonWriteContext
++ The JsonWriteContext is used by the pretty printer for handling of the whitespace between tokens, + and by the generator for verifying whether it's valid to write a given token. The writeStartSexp + method in the IonGenerator will enter a "sexp context", so we need a new state in the write + context to track that. Sexp handling is modeled after arrays.
| Modifier and Type | +Field and Description | +
|---|---|
static int |
+STATUS_OK_AFTER_SEXP_SEPARATOR |
+
protected static int |
+TYPE_SEXP |
+
_child, _currentName, _currentValue, _dups, _gotName, _parent, STATUS_EXPECT_NAME, STATUS_EXPECT_VALUE, STATUS_OK_AFTER_COLON, STATUS_OK_AFTER_COMMA, STATUS_OK_AFTER_SPACE, STATUS_OK_AS_IS_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+IonWriteContext(int type,
+ IonWriteContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups) |
+
| Modifier and Type | +Method and Description | +
|---|---|
IonWriteContext |
+createChildArrayContext() |
+
IonWriteContext |
+createChildObjectContext() |
+
IonWriteContext |
+createChildSexpContext() |
+
static IonWriteContext |
+createRootContext(com.fasterxml.jackson.core.json.DupDetector dd) |
+
boolean |
+inSexp() |
+
int |
+writeValue() |
+
clearAndGetParent, createChildArrayContext, createChildObjectContext, createRootContext, getCurrentName, getCurrentValue, getDupDetector, getParent, hasCurrentName, reset, reset, setCurrentValue, withDupDetector, writeFieldNamegetCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, toString, typeDescprotected static final int TYPE_SEXP+
public static final int STATUS_OK_AFTER_SEXP_SEPARATOR+
protected IonWriteContext(int type, + IonWriteContext parent, + com.fasterxml.jackson.core.json.DupDetector dups)+
public static IonWriteContext createRootContext(com.fasterxml.jackson.core.json.DupDetector dd)+
public IonWriteContext createChildSexpContext()+
public final boolean inSexp()+
public IonWriteContext createChildArrayContext()+
createChildArrayContext in class com.fasterxml.jackson.core.json.JsonWriteContextpublic IonWriteContext createChildObjectContext()+
createChildObjectContext in class com.fasterxml.jackson.core.json.JsonWriteContextpublic int writeValue()+
writeValue in class com.fasterxml.jackson.core.json.JsonWriteContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/PackageVersion.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/PackageVersion.html new file mode 100644 index 000000000..b29ea4487 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/PackageVersion.html @@ -0,0 +1,321 @@ + + + + + + +public final class PackageVersion +extends Object +implements com.fasterxml.jackson.core.Versioned+
| Modifier and Type | +Field and Description | +
|---|---|
static com.fasterxml.jackson.core.Version |
+VERSION |
+
| Constructor and Description | +
|---|
PackageVersion() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.Version |
+version() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/EnumAsIonSymbolModule.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/EnumAsIonSymbolModule.html new file mode 100644 index 000000000..f24088f61 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/EnumAsIonSymbolModule.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/EnumAsIonSymbolSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/EnumAsIonSymbolSerializer.html new file mode 100644 index 000000000..e9ee335d9 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/EnumAsIonSymbolSerializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonFactory.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonFactory.html new file mode 100644 index 000000000..ea70d4c72 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonFactory.html @@ -0,0 +1,278 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected IonFactory |
+IonObjectMapper.Builder._streamFactory |
+
| Modifier and Type | +Method and Description | +
|---|---|
IonFactory |
+IonFactoryBuilder.build() |
+
IonFactory |
+IonFactory.configure(IonGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+IonGenerator.Feature for list of features) |
+
IonFactory |
+IonFactory.configure(IonParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+IonParser.Feature for list of features) |
+
IonFactory |
+IonFactory.copy() |
+
IonFactory |
+IonFactory.disable(IonGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+IonGenerator.Feature for list of features) |
+
IonFactory |
+IonFactory.disable(IonParser.Feature f)
+Method for disabling specified parser features
+ (check
+IonParser.Feature for list of features) |
+
IonFactory |
+IonFactory.enable(IonGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+IonGenerator.Feature for list of features) |
+
IonFactory |
+IonFactory.enable(IonParser.Feature f)
+Method for enabling specified parser feature
+ (check
+IonParser.Feature for list of features) |
+
static IonFactory |
+IonFactory.forBinaryWriters()
+Method for creating
+IonFactory that will
+ create binary (not textual) writers. |
+
static IonFactory |
+IonFactory.forTextualWriters()
+Method for creating
+IonFactory that will
+ create textual (not binary) writers. |
+
IonFactory |
+IonObjectMapper.getFactory() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IonObjectMapper.Builder |
+IonObjectMapper.builder(IonFactory streamFactory) |
+
| Constructor and Description | +
|---|
IonFactory(IonFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
IonFactoryBuilder(IonFactory base) |
+
IonObjectMapper(IonFactory f)
+Constructor that will construct the mapper with a given
+IonFactory. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonFactoryBuilder.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonFactoryBuilder.html new file mode 100644 index 000000000..3d8e2be36 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonFactoryBuilder.html @@ -0,0 +1,251 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static IonFactoryBuilder |
+IonFactory.builderForBinaryWriters()
+Method for creating
+IonFactoryBuilder initialized with settings to
+ create binary (not textual) writers. |
+
static IonFactoryBuilder |
+IonFactory.builderForTextualWriters()
+Method for creating
+IonFactoryBuilder initialized with settings to
+ create textual (not binary) writers. |
+
IonFactoryBuilder |
+IonFactoryBuilder.configure(IonGenerator.Feature f,
+ boolean state) |
+
IonFactoryBuilder |
+IonFactoryBuilder.configure(IonParser.Feature f,
+ boolean state) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonGenerator.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonGenerator.Feature first,
+ IonGenerator.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonParser.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonParser.Feature first,
+ IonParser.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonGenerator.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonGenerator.Feature first,
+ IonGenerator.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonParser.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonParser.Feature first,
+ IonParser.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.ionSystem(com.amazon.ion.IonSystem system) |
+
IonFactoryBuilder |
+IonFactory.rebuild() |
+
IonFactoryBuilder |
+IonFactoryBuilder.withBinaryWriters() |
+
IonFactoryBuilder |
+IonFactoryBuilder.withTextualWriters() |
+
| Constructor and Description | +
|---|
IonFactory(IonFactoryBuilder b)
+Constructors used by
+IonFactoryBuilder for instantiation. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonGenerator.Feature.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonGenerator.Feature.html new file mode 100644 index 000000000..be438e585 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonGenerator.Feature.html @@ -0,0 +1,271 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static IonGenerator.Feature |
+IonGenerator.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IonGenerator.Feature[] |
+IonGenerator.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
IonFactoryBuilder |
+IonFactoryBuilder.configure(IonGenerator.Feature f,
+ boolean state) |
+
IonFactory |
+IonFactory.configure(IonGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+IonGenerator.Feature for list of features) |
+
IonObjectMapper |
+IonObjectMapper.configure(IonGenerator.Feature f,
+ boolean state) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.configure(IonGenerator.Feature feature,
+ boolean state) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.disable(IonGenerator.Feature... features) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonGenerator.Feature f) |
+
IonFactory |
+IonFactory.disable(IonGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+IonGenerator.Feature for list of features) |
+
IonObjectMapper |
+IonObjectMapper.disable(IonGenerator.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonGenerator.Feature first,
+ IonGenerator.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonGenerator.Feature first,
+ IonGenerator.Feature... other) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.enable(IonGenerator.Feature... features) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonGenerator.Feature f) |
+
IonFactory |
+IonFactory.enable(IonGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+IonGenerator.Feature for list of features) |
+
IonObjectMapper |
+IonObjectMapper.enable(IonGenerator.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonGenerator.Feature first,
+ IonGenerator.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonGenerator.Feature first,
+ IonGenerator.Feature... other) |
+
boolean |
+IonFactory.isEnabled(IonGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonGenerator.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonGenerator.html new file mode 100644 index 000000000..6d436d2ef --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonGenerator.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
protected IonGenerator |
+IonFactory._createGenerator(com.amazon.ion.IonWriter ion,
+ boolean ionWriterIsManaged,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ Closeable dst) |
+
protected IonGenerator |
+IonFactory._createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc,
+ boolean isManaged) |
+
IonGenerator |
+IonObjectMapper.createGenerator(com.amazon.ion.IonWriter writer) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonObjectMapper.Builder.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonObjectMapper.Builder.html new file mode 100644 index 000000000..4822c7bfe --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonObjectMapper.Builder.html @@ -0,0 +1,231 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static IonObjectMapper.Builder |
+IonObjectMapper.builder()
+A builder for a mapper that will use textual writers by default.
+ |
+
static IonObjectMapper.Builder |
+IonObjectMapper.builder(IonFactory streamFactory) |
+
static IonObjectMapper.Builder |
+IonObjectMapper.builder(com.amazon.ion.IonSystem ionSystem)
+A builder for a mapper that will use textual writers by default and the
+ provided
+IonSystem. |
+
static IonObjectMapper.Builder |
+IonObjectMapper.builderForBinaryWriters()
+A builder for a mapper that will use binary writers by default.
+ |
+
static IonObjectMapper.Builder |
+IonObjectMapper.builderForBinaryWriters(com.amazon.ion.IonSystem ionSystem)
+A builder for a mapper that will use binary writers by default and the
+ provided
+IonSystem |
+
static IonObjectMapper.Builder |
+IonObjectMapper.builderForTextualWriters()
+A builder for a mapper that will use textual writers by default.
+ |
+
static IonObjectMapper.Builder |
+IonObjectMapper.builderForTextualWriters(com.amazon.ion.IonSystem ionSystem)
+A builder for a mapper that will use textual writers by default and the
+ provided
+IonSystem. |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.configure(IonGenerator.Feature feature,
+ boolean state) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.configure(IonParser.Feature feature,
+ boolean state) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.disable(IonGenerator.Feature... features) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.disable(IonParser.Feature... features) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.enable(IonGenerator.Feature... features) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.enable(IonParser.Feature... features) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonObjectMapper.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonObjectMapper.html new file mode 100644 index 000000000..cd5643a12 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonObjectMapper.html @@ -0,0 +1,226 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| com.fasterxml.jackson.dataformat.ion.ionvalue | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
IonObjectMapper |
+IonObjectMapper.configure(IonGenerator.Feature f,
+ boolean state) |
+
IonObjectMapper |
+IonObjectMapper.configure(IonParser.Feature f,
+ boolean state) |
+
IonObjectMapper |
+IonObjectMapper.disable(IonGenerator.Feature f) |
+
IonObjectMapper |
+IonObjectMapper.disable(IonParser.Feature f) |
+
IonObjectMapper |
+IonObjectMapper.enable(IonGenerator.Feature f) |
+
IonObjectMapper |
+IonObjectMapper.enable(IonParser.Feature f) |
+
| Constructor and Description | +
|---|
Builder(IonObjectMapper m) |
+
IonObjectMapper(IonObjectMapper src) |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+IonValueMapper
+Supports serializing Ion to POJO and back using the Jackson Ion framework.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonParser.Feature.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonParser.Feature.html new file mode 100644 index 000000000..9952b50f0 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonParser.Feature.html @@ -0,0 +1,271 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static IonParser.Feature |
+IonParser.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IonParser.Feature[] |
+IonParser.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
IonFactoryBuilder |
+IonFactoryBuilder.configure(IonParser.Feature f,
+ boolean state) |
+
IonFactory |
+IonFactory.configure(IonParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+IonParser.Feature for list of features) |
+
IonObjectMapper |
+IonObjectMapper.configure(IonParser.Feature f,
+ boolean state) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.configure(IonParser.Feature feature,
+ boolean state) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.disable(IonParser.Feature... features) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonParser.Feature f) |
+
IonFactory |
+IonFactory.disable(IonParser.Feature f)
+Method for disabling specified parser features
+ (check
+IonParser.Feature for list of features) |
+
IonObjectMapper |
+IonObjectMapper.disable(IonParser.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonParser.Feature first,
+ IonParser.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.disable(IonParser.Feature first,
+ IonParser.Feature... other) |
+
IonObjectMapper.Builder |
+IonObjectMapper.Builder.enable(IonParser.Feature... features) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonParser.Feature f) |
+
IonFactory |
+IonFactory.enable(IonParser.Feature f)
+Method for enabling specified parser feature
+ (check
+IonParser.Feature for list of features) |
+
IonObjectMapper |
+IonObjectMapper.enable(IonParser.Feature f) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonParser.Feature first,
+ IonParser.Feature... other) |
+
IonFactoryBuilder |
+IonFactoryBuilder.enable(IonParser.Feature first,
+ IonParser.Feature... other) |
+
boolean |
+IonFactory.isEnabled(IonParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonParser.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonParser.html new file mode 100644 index 000000000..dda4cb960 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonParser.html @@ -0,0 +1,194 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
IonParser |
+IonFactory.createJsonParser(com.amazon.ion.IonReader in)
+Deprecated.
+
+Since 2.7
+ |
+
IonParser |
+IonFactory.createJsonParser(com.amazon.ion.IonValue value)
+Deprecated.
+
+Since 2.7
+ |
+
IonParser |
+IonFactory.createParser(com.amazon.ion.IonReader in) |
+
IonParser |
+IonObjectMapper.createParser(com.amazon.ion.IonReader reader) |
+
IonParser |
+IonFactory.createParser(com.amazon.ion.IonValue value) |
+
IonParser |
+IonObjectMapper.createParser(com.amazon.ion.IonValue value) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonSymbolSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonSymbolSerializer.html new file mode 100644 index 000000000..a98f2bcae --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonSymbolSerializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.IonTimestampJavaDateDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.IonTimestampJavaDateDeserializer.html new file mode 100644 index 000000000..8fe3f3112 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.IonTimestampJavaDateDeserializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.IonTimestampSQLDateDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.IonTimestampSQLDateDeserializer.html new file mode 100644 index 000000000..21f1b0604 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.IonTimestampSQLDateDeserializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.html new file mode 100644 index 000000000..50c96fe53 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampDeserializers.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.IonTimestampJavaDateSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.IonTimestampJavaDateSerializer.html new file mode 100644 index 000000000..f82410169 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.IonTimestampJavaDateSerializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.IonTimestampSQLDateSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.IonTimestampSQLDateSerializer.html new file mode 100644 index 000000000..26664b3bb --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.IonTimestampSQLDateSerializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.html new file mode 100644 index 000000000..ce059ac45 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonTimestampSerializers.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonWriteContext.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonWriteContext.html new file mode 100644 index 000000000..1579dc747 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/IonWriteContext.html @@ -0,0 +1,191 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
IonWriteContext |
+IonWriteContext.createChildArrayContext() |
+
IonWriteContext |
+IonWriteContext.createChildObjectContext() |
+
IonWriteContext |
+IonWriteContext.createChildSexpContext() |
+
static IonWriteContext |
+IonWriteContext.createRootContext(com.fasterxml.jackson.core.json.DupDetector dd) |
+
| Constructor and Description | +
|---|
IonWriteContext(int type,
+ IonWriteContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/PackageVersion.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/PackageVersion.html new file mode 100644 index 000000000..f70350699 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/class-use/PackageVersion.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/IonValueMapper.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/IonValueMapper.html new file mode 100644 index 000000000..74166ea34 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/IonValueMapper.html @@ -0,0 +1,422 @@ + + + + + + +public class IonValueMapper +extends IonObjectMapper+
IonObjectMapper.Buildercom.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder, com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping_coercionConfigs, _configOverrides, _deserializationConfig, _deserializationContext, _injectableValues, _jsonFactory, _mixIns, _registeredModuleTypes, _rootDeserializers, _serializationConfig, _serializerFactory, _serializerProvider, _subtypeResolver, _typeFactory, DEFAULT_ANNOTATION_INTROSPECTOR, DEFAULT_BASE| Constructor and Description | +
|---|
IonValueMapper(com.amazon.ion.IonSystem ionSystem)
+Constructor which provides a mapper with a null
+PropertyNamingStrategy. |
+
IonValueMapper(com.amazon.ion.IonSystem ionSystem,
+ com.fasterxml.jackson.databind.PropertyNamingStrategy strategy)
+Constructor that provides an override on the default Constructor for the PropertyNamingStrategy.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
<T> T |
+parse(com.amazon.ion.IonValue value,
+ Class<T> clazz) |
+
<T> com.amazon.ion.IonValue |
+serialize(T o) |
+
builder, builder, builder, builderForBinaryWriters, builderForBinaryWriters, builderForTextualWriters, builderForTextualWriters, configure, configure, copy, createGenerator, createParser, createParser, disable, disable, enable, enable, getFactory, readValue, readValue, readValue, readValue, readValue, readValue, setCreateBinaryWriters, version, writeValue, writeValueAsIonValue_assertNotNull, _checkInvalidCopy, _configAndWriteValue, _constructDefaultTypeResolverBuilder, _convert, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readTreeAndClose, _readValue, _serializerProvider, _verifyNoTrailingTokens, _verifySchemaType, _writeValueAndClose, acceptJsonFormatVisitor, acceptJsonFormatVisitor, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addMixInAnnotations, canDeserialize, canDeserialize, canSerialize, canSerialize, clearProblemHandlers, coercionConfigDefaults, coercionConfigFor, coercionConfigFor, configOverride, configure, configure, configure, configure, configure, constructType, constructType, convertValue, convertValue, convertValue, createArrayNode, createDeserializationContext, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createNonBlockingByteArrayParser, createObjectNode, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, deactivateDefaultTyping, defaultClassIntrospector, disable, disable, disable, disable, disable, disable, disable, disableDefaultTyping, enable, enable, enable, enable, enable, enable, enable, enableDefaultTyping, enableDefaultTyping, enableDefaultTyping, enableDefaultTypingAsProperty, findAndRegisterModules, findMixInClassFor, findModules, findModules, generateJsonSchema, getDateFormat, getDeserializationConfig, getDeserializationContext, getInjectableValues, getNodeFactory, getPolymorphicTypeValidator, getPropertyNamingStrategy, getRegisteredModuleIds, getSerializationConfig, getSerializerFactory, getSerializerProvider, getSerializerProviderInstance, getSubtypeResolver, getTypeFactory, getVisibilityChecker, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, missingNode, mixInCount, nullNode, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForArrayOf, readerForListOf, readerForMapOf, readerForUpdating, readerWithView, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValues, readValues, readValues, readValues, registerModule, registerModules, registerModules, registerSubtypes, registerSubtypes, registerSubtypes, setAccessorNaming, setAnnotationIntrospector, setAnnotationIntrospectors, setBase64Variant, setConfig, setConfig, setConstructorDetector, setDateFormat, setDefaultAttributes, setDefaultLeniency, setDefaultMergeable, setDefaultPrettyPrinter, setDefaultPropertyInclusion, setDefaultPropertyInclusion, setDefaultSetterInfo, setDefaultTyping, setDefaultVisibility, setFilterProvider, setFilters, setHandlerInstantiator, setInjectableValues, setLocale, setMixInAnnotations, setMixInResolver, setMixIns, setNodeFactory, setPolymorphicTypeValidator, setPropertyInclusion, setPropertyNamingStrategy, setSerializationInclusion, setSerializerFactory, setSerializerProvider, setSubtypeResolver, setTimeZone, setTypeFactory, setVisibility, setVisibility, setVisibilityChecker, tokenStreamFactory, treeAsTokens, treeToValue, treeToValue, updateValue, valueToTree, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithType, writerWithType, writerWithType, writerWithView, writeTree, writeTree, writeValue, writeValue, writeValue, writeValue, writeValue, writeValueAsBytes, writeValueAsStringgetJsonFactorypublic IonValueMapper(com.amazon.ion.IonSystem ionSystem)+
PropertyNamingStrategy.ionSystem - public IonValueMapper(com.amazon.ion.IonSystem ionSystem, + com.fasterxml.jackson.databind.PropertyNamingStrategy strategy)+
ionSystem - strategy - Strategy Jackson uses for mapping POJO field names to Json/Ion field names
+ PropertyNamingStrategypublic <T> T parse(com.amazon.ion.IonValue value, + Class<T> clazz) + throws IOException+
IOExceptionpublic <T> com.amazon.ion.IonValue serialize(T o) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/IonValueModule.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/IonValueModule.html new file mode 100644 index 000000000..a19bc3519 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/IonValueModule.html @@ -0,0 +1,303 @@ + + + + + + +public class IonValueModule
+extends com.fasterxml.jackson.databind.module.SimpleModule
+com.fasterxml.jackson.databind.Module.SetupContext_abstractTypes, _deserializerModifier, _deserializers, _hasExplicitName, _keyDeserializers, _keySerializers, _mixins, _name, _namingStrategy, _serializerModifier, _serializers, _subtypes, _valueInstantiators, _version| Constructor and Description | +
|---|
IonValueModule() |
+
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, versiongetDependenciesCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/class-use/IonValueMapper.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/class-use/IonValueMapper.html new file mode 100644 index 000000000..aa9ffda40 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/class-use/IonValueMapper.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/class-use/IonValueModule.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/class-use/IonValueModule.html new file mode 100644 index 000000000..092ae6cbc --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/class-use/IonValueModule.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-frame.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-frame.html new file mode 100644 index 000000000..0d045352f --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +| Class | +Description | +
|---|---|
| IonValueMapper | +
+ Supports serializing Ion to POJO and back using the Jackson Ion framework.
+ |
+
| IonValueModule | +
+ A module which allows for the direct serialization to and from IonValue fields.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-tree.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-tree.html new file mode 100644 index 000000000..8627d074f --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-tree.html @@ -0,0 +1,164 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-use.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-use.html new file mode 100644 index 000000000..fe6ead32f --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/ionvalue/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonJavaTimeModule.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonJavaTimeModule.html new file mode 100644 index 000000000..d933b48a8 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonJavaTimeModule.html @@ -0,0 +1,302 @@ + + + + + + +public class IonJavaTimeModule
+extends com.fasterxml.jackson.databind.module.SimpleModule
+com.fasterxml.jackson.databind.Module.SetupContext_abstractTypes, _deserializerModifier, _deserializers, _hasExplicitName, _keyDeserializers, _keySerializers, _mixins, _name, _namingStrategy, _serializerModifier, _serializers, _subtypes, _valueInstantiators, _version| Constructor and Description | +
|---|
IonJavaTimeModule() |
+
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, versiongetDependenciesCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonTimestampInstantDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonTimestampInstantDeserializer.html new file mode 100644 index 000000000..9b5066b50 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonTimestampInstantDeserializer.html @@ -0,0 +1,489 @@ + + + + + + +T - The type of a instant class that can be deserialized.public class IonTimestampInstantDeserializer<T extends Temporal>
+extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
+implements com.fasterxml.jackson.databind.deser.ContextualDeserializer
+com.fasterxml.jackson.databind.JsonDeserializer.None| Modifier and Type | +Field and Description | +
|---|---|
protected Boolean |
+adjustToContextTZOverride
+Flag for
+JsonFormat.Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE |
+
protected BiFunction<Instant,ZoneId,T> |
+fromInstant |
+
static IonTimestampInstantDeserializer<Instant> |
+INSTANT |
+
static IonTimestampInstantDeserializer<OffsetDateTime> |
+OFFSET_DATE_TIME |
+
static IonTimestampInstantDeserializer<ZonedDateTime> |
+ZONED_DATE_TIME |
+
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS| Modifier | +Constructor and Description | +
|---|---|
protected |
+IonTimestampInstantDeserializer(Class<T> vc,
+ BiFunction<Instant,ZoneId,T> fromInstant) |
+
protected |
+IonTimestampInstantDeserializer(IonTimestampInstantDeserializer<T> base,
+ Boolean adjustToContextTZOverride) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.databind.JsonDeserializer<T> |
+createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
+ com.fasterxml.jackson.databind.BeanProperty property) |
+
T |
+deserialize(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext context) |
+
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, logicalType, supportsUpdate_byteOverflow, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkTextualNull, _coerceBooleanFromInt, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializerdeserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic static final IonTimestampInstantDeserializer<Instant> INSTANT+
public static final IonTimestampInstantDeserializer<OffsetDateTime> OFFSET_DATE_TIME+
public static final IonTimestampInstantDeserializer<ZonedDateTime> ZONED_DATE_TIME+
protected final BiFunction<Instant,ZoneId,T extends Temporal> fromInstant+
protected final Boolean adjustToContextTZOverride+
JsonFormat.Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONEprotected IonTimestampInstantDeserializer(Class<T> vc, + BiFunction<Instant,ZoneId,T> fromInstant)+
protected IonTimestampInstantDeserializer(IonTimestampInstantDeserializer<T> base, + Boolean adjustToContextTZOverride)+
public T deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext context) + throws IOException, + com.fasterxml.jackson.core.JsonProcessingException+
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T extends Temporal>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic com.fasterxml.jackson.databind.JsonDeserializer<T> createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt, + com.fasterxml.jackson.databind.BeanProperty property) + throws com.fasterxml.jackson.databind.JsonMappingException+
createContextual in interface com.fasterxml.jackson.databind.deser.ContextualDeserializercom.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonTimestampInstantSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonTimestampInstantSerializer.html new file mode 100644 index 000000000..6e3ee3c7b --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/IonTimestampInstantSerializer.html @@ -0,0 +1,472 @@ + + + + + + +T - The type of a instant class that can be serialized.public class IonTimestampInstantSerializer<T extends Temporal>
+extends com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<T>
+implements com.fasterxml.jackson.databind.ser.ContextualSerializer
+com.fasterxml.jackson.databind.JsonSerializer.None| Modifier and Type | +Field and Description | +
|---|---|
static IonTimestampInstantSerializer<Instant> |
+INSTANT |
+
static IonTimestampInstantSerializer<OffsetDateTime> |
+OFFSET_DATE_TIME |
+
static IonTimestampInstantSerializer<ZonedDateTime> |
+ZONED_DATE_TIME
+A serializer for ZoneDateTime's.
+ |
+
_handledType| Modifier | +Constructor and Description | +
|---|---|
protected |
+IonTimestampInstantSerializer(Class<T> t,
+ Function<T,Instant> getInstant,
+ Function<T,ZoneOffset> getOffset,
+ BiFunction<T,ZoneId,ZoneOffset> getOffsetAtZoneId) |
+
protected |
+IonTimestampInstantSerializer(IonTimestampInstantSerializer<T> base,
+ ZoneId zoneIdOverride,
+ Boolean writeDateTimestampsAsNanosOverride) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.databind.JsonSerializer<?> |
+createContextual(com.fasterxml.jackson.databind.SerializerProvider prov,
+ com.fasterxml.jackson.databind.BeanProperty property) |
+
void |
+serialize(T value,
+ com.fasterxml.jackson.core.JsonGenerator gen,
+ com.fasterxml.jackson.databind.SerializerProvider provider) |
+
acceptJsonFormatVisitor, getSchema, serializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic static final IonTimestampInstantSerializer<Instant> INSTANT+
public static final IonTimestampInstantSerializer<OffsetDateTime> OFFSET_DATE_TIME+
public static final IonTimestampInstantSerializer<ZonedDateTime> ZONED_DATE_TIME+
protected IonTimestampInstantSerializer(Class<T> t, + Function<T,Instant> getInstant, + Function<T,ZoneOffset> getOffset, + BiFunction<T,ZoneId,ZoneOffset> getOffsetAtZoneId)+
protected IonTimestampInstantSerializer(IonTimestampInstantSerializer<T> base, + ZoneId zoneIdOverride, + Boolean writeDateTimestampsAsNanosOverride)+
public void serialize(T value, + com.fasterxml.jackson.core.JsonGenerator gen, + com.fasterxml.jackson.databind.SerializerProvider provider) + throws IOException+
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<T extends Temporal>IOExceptionpublic com.fasterxml.jackson.databind.JsonSerializer<?> createContextual(com.fasterxml.jackson.databind.SerializerProvider prov, + com.fasterxml.jackson.databind.BeanProperty property) + throws com.fasterxml.jackson.databind.JsonMappingException+
createContextual in interface com.fasterxml.jackson.databind.ser.ContextualSerializercom.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonJavaTimeModule.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonJavaTimeModule.html new file mode 100644 index 000000000..25da31a7b --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonJavaTimeModule.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonTimestampInstantDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonTimestampInstantDeserializer.html new file mode 100644 index 000000000..4a6d0ebff --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonTimestampInstantDeserializer.html @@ -0,0 +1,186 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion.jsr310 | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static IonTimestampInstantDeserializer<Instant> |
+IonTimestampInstantDeserializer.INSTANT |
+
static IonTimestampInstantDeserializer<OffsetDateTime> |
+IonTimestampInstantDeserializer.OFFSET_DATE_TIME |
+
static IonTimestampInstantDeserializer<ZonedDateTime> |
+IonTimestampInstantDeserializer.ZONED_DATE_TIME |
+
| Constructor and Description | +
|---|
IonTimestampInstantDeserializer(IonTimestampInstantDeserializer<T> base,
+ Boolean adjustToContextTZOverride) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonTimestampInstantSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonTimestampInstantSerializer.html new file mode 100644 index 000000000..acf25fd0e --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/class-use/IonTimestampInstantSerializer.html @@ -0,0 +1,189 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion.jsr310 | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
static IonTimestampInstantSerializer<Instant> |
+IonTimestampInstantSerializer.INSTANT |
+
static IonTimestampInstantSerializer<OffsetDateTime> |
+IonTimestampInstantSerializer.OFFSET_DATE_TIME |
+
static IonTimestampInstantSerializer<ZonedDateTime> |
+IonTimestampInstantSerializer.ZONED_DATE_TIME
+A serializer for ZoneDateTime's.
+ |
+
| Constructor and Description | +
|---|
IonTimestampInstantSerializer(IonTimestampInstantSerializer<T> base,
+ ZoneId zoneIdOverride,
+ Boolean writeDateTimestampsAsNanosOverride) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-frame.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-frame.html new file mode 100644 index 000000000..ec3d70b5a --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +| Class | +Description | +
|---|---|
| IonJavaTimeModule | +
+ A module that installs a collection of serializers and deserializers for java.time classes.
+ |
+
| IonTimestampInstantDeserializer<T extends Temporal> | +
+ A deserializer for variants of java.time classes that represent a specific instant on the timeline
+ (Instant, OffsetDateTime, ZonedDateTime) which supports deserializing from an Ion timestamp value.
+ |
+
| IonTimestampInstantSerializer<T extends Temporal> | +
+ A serializer for variants of java.time classes that represent a specific instant on the timeline
+ (Instant, OffsetDateTime, ZonedDateTime) which supports serializing to an Ion timestamp value.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-tree.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-tree.html new file mode 100644 index 000000000..84ee867bd --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-tree.html @@ -0,0 +1,173 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-use.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-use.html new file mode 100644 index 000000000..e3b5e4abb --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/jsr310/package-use.html @@ -0,0 +1,168 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion.jsr310 | ++ |
| Class and Description | +
|---|
| IonTimestampInstantDeserializer
+ A deserializer for variants of java.time classes that represent a specific instant on the timeline
+ (Instant, OffsetDateTime, ZonedDateTime) which supports deserializing from an Ion timestamp value.
+ |
+
| IonTimestampInstantSerializer
+ A serializer for variants of java.time classes that represent a specific instant on the timeline
+ (Instant, OffsetDateTime, ZonedDateTime) which supports serializing to an Ion timestamp value.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-frame.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-frame.html new file mode 100644 index 000000000..30a041f25 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +| Class | +Description | +
|---|---|
| EnumAsIonSymbolModule | +
+ Module that causes all enums to be serialized as Ion symbols.
+ |
+
| EnumAsIonSymbolSerializer | +
+ Serializes enumeration members as IonSymbols.
+ |
+
| IonFactory | +
+ Sub-class of
+JsonFactory that will work on Ion content, instead of JSON
+ content. |
+
| IonFactoryBuilder | +
+TSFBuilder
+ implementation for constructing IonFactory instances. |
+
| IonGenerator | +
+ Implementation of
+JsonGenerator that will use an underlying
+ IonWriter for actual writing of content. |
+
| IonObjectMapper | +
+ Specialization of
+ObjectMapper that will set underlying
+ JsonFactory
+ to be an instance of IonFactory. |
+
| IonObjectMapper.Builder | +
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ Ion backend. |
+
| IonParser | +
+ Implementation of
+JsonParser that will use an underlying
+ IonReader as actual parser, and camouflage it as json parser. |
+
| IonSymbolSerializer | +
+ Serializes members as IonSymbols.
+ |
+
| IonTimestampDeserializers | +
+ A date deserializer that uses native Ion timestamps instead of JSON strings.
+ |
+
| IonTimestampDeserializers.IonTimestampJavaDateDeserializer | ++ |
| IonTimestampDeserializers.IonTimestampSQLDateDeserializer | ++ |
| IonTimestampSerializers | +
+ A date serializer that uses native Ion timestamps instead of JSON strings.
+ |
+
| IonTimestampSerializers.IonTimestampJavaDateSerializer | ++ |
| IonTimestampSerializers.IonTimestampSQLDateSerializer | ++ |
| IonWriteContext | +
+ Extension of JsonWriteContexts that recognizes sexps
+ |
+
| PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
| Enum | +Description | +
|---|---|
| IonGenerator.Feature | +
+ Enumeration that defines all toggleable features for Ion generators
+ |
+
| IonParser.Feature | +
+ Enumeration that defines all togglable features for Ion parsers.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-tree.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-tree.html new file mode 100644 index 000000000..6984f8a72 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-tree.html @@ -0,0 +1,260 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-use.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-use.html new file mode 100644 index 000000000..63992a9eb --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/package-use.html @@ -0,0 +1,231 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| com.fasterxml.jackson.dataformat.ion.ionvalue | ++ |
| Class and Description | +
|---|
| IonFactory
+ Sub-class of
+JsonFactory that will work on Ion content, instead of JSON
+ content. |
+
IonFactoryBuilder
+TSFBuilder
+ implementation for constructing IonFactory instances. |
+
| IonGenerator
+ Implementation of
+JsonGenerator that will use an underlying
+ IonWriter for actual writing of content. |
+
| IonGenerator.Feature
+ Enumeration that defines all toggleable features for Ion generators
+ |
+
| IonObjectMapper
+ Specialization of
+ObjectMapper that will set underlying
+ JsonFactory
+ to be an instance of IonFactory. |
+
| IonObjectMapper.Builder
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ Ion backend. |
+
| IonParser
+ Implementation of
+JsonParser that will use an underlying
+ IonReader as actual parser, and camouflage it as json parser. |
+
| IonParser.Feature
+ Enumeration that defines all togglable features for Ion parsers.
+ |
+
| IonWriteContext
+ Extension of JsonWriteContexts that recognizes sexps
+ |
+
| Class and Description | +
|---|
| IonObjectMapper
+ Specialization of
+ObjectMapper that will set underlying
+ JsonFactory
+ to be an instance of IonFactory. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationIntrospector.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationIntrospector.html new file mode 100644 index 000000000..21954b6be --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationIntrospector.html @@ -0,0 +1,404 @@ + + + + + + +public class IonAnnotationIntrospector
+extends com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector
+AnnotationIntrospector (essentially an interceptor for
+ serializer/deserializer construction) that provides type serializer/deserializers that write/read Ion type
+ annotations.
+
+ The logic in this class is very similar to JacksonAnnotationIntrospector!
+ We both look at the @JsonTypeResolver, etc annotations and try to make type resolvers.
+
+ This class adds a resolveAllTypes override, which allows for universal polymorphism without needing
+ any annotations or mixins, and also permits top-level polymorphism -- deserialize to any object without providing its
+ actual type, as long as type information was serialized. (i.e., ObjectMapper#readValue(serializedData, Object.class))
+
+ Note: the provided TypeSerializer will only write type annotations if the configured
+ TypeIdResolver returns non-null.
+
+ Note: TypeDeserializer are actually full-on value deserializers -- all
+ deserialization logic goes through them (unlike TypeSerializers, which just write the type metadata).
com.fasterxml.jackson.databind.AnnotationIntrospector.ReferenceProperty, com.fasterxml.jackson.databind.AnnotationIntrospector.XmlExtensionsinstance| Constructor and Description | +
|---|
IonAnnotationIntrospector(boolean resolveAllTypes) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.fasterxml.jackson.databind.jsontype.TypeIdResolver |
+defaultIdResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.JavaType baseType) |
+
com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> |
+findTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
+ com.fasterxml.jackson.databind.introspect.AnnotatedClass ac,
+ com.fasterxml.jackson.databind.JavaType baseType)
+Provides a
+TypeResolverBuilder if the AnnotatedClass is enabled for type resolving, and a
+ TypeIdResolver can be instantiated. |
+
protected boolean |
+shouldResolveType(com.fasterxml.jackson.databind.introspect.AnnotatedClass ac) |
+
version_findAnnotation, _hasAnnotation, _hasOneOf, allIntrospectors, allIntrospectors, findAndAddVirtualProperties, findAutoDetectVisibility, findClassDescription, findContentDeserializer, findContentSerializer, findCreatorAnnotation, findCreatorBinding, findDefaultEnumValue, findDeserializationContentConverter, findDeserializationContentType, findDeserializationConverter, findDeserializationKeyType, findDeserializationType, findDeserializer, findEnumAliases, findEnumValue, findEnumValues, findFilterId, findFormat, findIgnoreUnknownProperties, findImplicitPropertyName, findInjectableValue, findInjectableValueId, findKeyDeserializer, findKeySerializer, findMergeInfo, findNameForDeserialization, findNameForSerialization, findNamingStrategy, findNullSerializer, findObjectIdInfo, findObjectReferenceInfo, findPOJOBuilder, findPOJOBuilderConfig, findPropertiesToIgnore, findPropertyAccess, findPropertyAliases, findPropertyContentTypeResolver, findPropertyDefaultValue, findPropertyDescription, findPropertyIgnoralByName, findPropertyIgnorals, findPropertyInclusion, findPropertyInclusionByName, findPropertyIndex, findPropertyTypeResolver, findReferenceType, findRenameByField, findRootName, findSerializationContentConverter, findSerializationContentType, findSerializationConverter, findSerializationInclusion, findSerializationInclusionForContent, findSerializationKeyType, findSerializationPropertyOrder, findSerializationSortAlphabetically, findSerializationType, findSerializationTyping, findSerializer, findSetterInfo, findSubtypes, findTypeName, findUnwrappingNameTransformer, findValueInstantiator, findViews, findWrapperName, hasAnyGetter, hasAnyGetterAnnotation, hasAnySetter, hasAnySetterAnnotation, hasAsKey, hasAsValue, hasAsValueAnnotation, hasCreatorAnnotation, hasIgnoreMarker, hasRequiredMarker, isAnnotationBundle, isIgnorableType, isTypeId, nopInstance, pair, refineDeserializationType, refineSerializationType, resolveSetterConflictpublic IonAnnotationIntrospector(boolean resolveAllTypes)+
protected com.fasterxml.jackson.databind.jsontype.TypeIdResolver defaultIdResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.JavaType baseType)+
protected boolean shouldResolveType(com.fasterxml.jackson.databind.introspect.AnnotatedClass ac)+
public com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> findTypeResolver(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config, + com.fasterxml.jackson.databind.introspect.AnnotatedClass ac, + com.fasterxml.jackson.databind.JavaType baseType)+
TypeResolverBuilder if the AnnotatedClass is enabled for type resolving, and a
+ TypeIdResolver can be instantiated.
+
+ The AnnotatedClass is enabled for type resolving if either resolveAllTypes is set, or shouldResolveType()
+ returns true.
+
+ We look for a TypeIdResolver by checking for a JsonTypeIdResolver annotation, and fallback to
+ defaultIdResolver().
findTypeResolver in class com.fasterxml.jackson.databind.AnnotationIntrospectorconfig - a serialization or deserialization config objectac - an AnnotatedClass representing a (statically configured) base type for type resolutionbaseType - a JavaType representing the same classCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeDeserializer.html new file mode 100644 index 000000000..6a742e39e --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeDeserializer.html @@ -0,0 +1,458 @@ + + + + + + +public class IonAnnotationTypeDeserializer
+extends com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase
+TypeDeserializer that reads typing metadata from Ion type
+ annotations. Annotations found are processed by the configured TypeIdResolver to provide a concrete Java
+ class, which is in turn used to find the appropriate JsonDeserializer, and execute it.
+
+ If multiple annotations are found, the first annotation to resolve to a non-null JavaType using the
+ configured TypeIdResolver is used. Ion provides type annotations in alphabetic order.
MultipleTypeIdResolver,
+Serialized Form_baseType, _defaultImpl, _defaultImplDeserializer, _deserializers, _idResolver, _property, _typeIdVisible, _typePropertyName| Constructor and Description | +
|---|
IonAnnotationTypeDeserializer(com.fasterxml.jackson.databind.JavaType baseType,
+ com.fasterxml.jackson.databind.jsontype.TypeIdResolver idRes,
+ String typePropertyName,
+ boolean typeIdVisible,
+ com.fasterxml.jackson.databind.JavaType defaultImpl) |
+
| Modifier and Type | +Method and Description | +
|---|---|
Object |
+deserializeTypedFromAny(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
Object |
+deserializeTypedFromArray(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
Object |
+deserializeTypedFromObject(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
Object |
+deserializeTypedFromScalar(com.fasterxml.jackson.core.JsonParser p,
+ com.fasterxml.jackson.databind.DeserializationContext ctxt) |
+
com.fasterxml.jackson.databind.jsontype.TypeDeserializer |
+forProperty(com.fasterxml.jackson.databind.BeanProperty prop) |
+
com.fasterxml.jackson.annotation.JsonTypeInfo.As |
+getTypeInclusion()
+Used for informational purposes and some serialization-implementation-specific logics (which do not concern us).
+ |
+
_deserializeWithNativeTypeId, _deserializeWithNativeTypeId, _findDefaultImplDeserializer, _findDeserializer, _handleMissingTypeId, _handleUnknownTypeId, baseType, baseTypeName, getDefaultImpl, getPropertyName, getTypeIdResolver, hasDefaultImpl, toStringdeserializeIfNatural, deserializeIfNaturalpublic IonAnnotationTypeDeserializer(com.fasterxml.jackson.databind.JavaType baseType, + com.fasterxml.jackson.databind.jsontype.TypeIdResolver idRes, + String typePropertyName, + boolean typeIdVisible, + com.fasterxml.jackson.databind.JavaType defaultImpl)+
public com.fasterxml.jackson.annotation.JsonTypeInfo.As getTypeInclusion()+
getTypeInclusion in class com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBasepublic Object deserializeTypedFromObject(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException, + com.fasterxml.jackson.core.JsonProcessingException+
deserializeTypedFromObject in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic Object deserializeTypedFromArray(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException, + com.fasterxml.jackson.core.JsonProcessingException+
deserializeTypedFromArray in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic Object deserializeTypedFromScalar(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException, + com.fasterxml.jackson.core.JsonProcessingException+
deserializeTypedFromScalar in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic Object deserializeTypedFromAny(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt) + throws IOException, + com.fasterxml.jackson.core.JsonProcessingException+
deserializeTypedFromAny in class com.fasterxml.jackson.databind.jsontype.TypeDeserializerIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic com.fasterxml.jackson.databind.jsontype.TypeDeserializer forProperty(com.fasterxml.jackson.databind.BeanProperty prop)+
forProperty in class com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeResolverBuilder.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeResolverBuilder.html new file mode 100644 index 000000000..8d674e04b --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeResolverBuilder.html @@ -0,0 +1,441 @@ + + + + + + +public class IonAnnotationTypeResolverBuilder +extends Object +implements com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>+
TypeResolverBuilder which produces TypeSerializers and TypeDeserializers that use
+ Ion type annotations to communicate type metadata. Jackson polymorphism, the Ion way.
+
+ This TypeResolverBuilder expects to be initialized with a functional TypeIdResolver, and will serialize
+ type information (and deserialize to something other than the default type) when it resolves the provided
+ JavaType to a non-null type identifier, and vice versa.
| Constructor and Description | +
|---|
IonAnnotationTypeResolverBuilder() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.databind.jsontype.TypeDeserializer |
+buildTypeDeserializer(com.fasterxml.jackson.databind.DeserializationConfig config,
+ com.fasterxml.jackson.databind.JavaType baseType,
+ Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes)
+Creates a Jackson
+TypeDeserializer. |
+
com.fasterxml.jackson.databind.jsontype.TypeSerializer |
+buildTypeSerializer(com.fasterxml.jackson.databind.SerializationConfig config,
+ com.fasterxml.jackson.databind.JavaType baseType,
+ Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes)
+Creates a Jackson
+TypeSerializer. |
+
IonAnnotationTypeResolverBuilder |
+defaultImpl(Class<?> di) |
+
Class<?> |
+getDefaultImpl() |
+
IonAnnotationTypeResolverBuilder |
+inclusion(com.fasterxml.jackson.annotation.JsonTypeInfo.As includeAs) |
+
IonAnnotationTypeResolverBuilder |
+init(com.fasterxml.jackson.annotation.JsonTypeInfo.Id idType,
+ com.fasterxml.jackson.databind.jsontype.TypeIdResolver res) |
+
IonAnnotationTypeResolverBuilder |
+typeIdVisibility(boolean isVisible) |
+
IonAnnotationTypeResolverBuilder |
+typeProperty(String propName) |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithDefaultImplpublic IonAnnotationTypeResolverBuilder()+
public Class<?> getDefaultImpl()+
getDefaultImpl in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>public com.fasterxml.jackson.databind.jsontype.TypeSerializer buildTypeSerializer(com.fasterxml.jackson.databind.SerializationConfig config, + com.fasterxml.jackson.databind.JavaType baseType, + Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes)+
TypeSerializer. Note that while Jackson type serializers are responsible for writing
+ opening and closing metadata for types *in addition* to any type information, they are not involved with writing
+ actual object data.buildTypeSerializer in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>config - baseType - subtypes - public com.fasterxml.jackson.databind.jsontype.TypeDeserializer buildTypeDeserializer(com.fasterxml.jackson.databind.DeserializationConfig config, + com.fasterxml.jackson.databind.JavaType baseType, + Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes)+
TypeDeserializer. Unlike type serializers, deserializers are responsible for
+ *all* steps of value deserialization: read type information, find the actual object deserializer, and run it.buildTypeDeserializer in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>config - baseType - subtypes - public IonAnnotationTypeResolverBuilder init(com.fasterxml.jackson.annotation.JsonTypeInfo.Id idType, + com.fasterxml.jackson.databind.jsontype.TypeIdResolver res)+
init in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>public IonAnnotationTypeResolverBuilder inclusion(com.fasterxml.jackson.annotation.JsonTypeInfo.As includeAs)+
inclusion in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>public IonAnnotationTypeResolverBuilder typeProperty(String propName)+
typeProperty in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>public IonAnnotationTypeResolverBuilder defaultImpl(Class<?> di)+
defaultImpl in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>public IonAnnotationTypeResolverBuilder typeIdVisibility(boolean isVisible)+
typeIdVisibility in interface com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<IonAnnotationTypeResolverBuilder>Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeSerializer.html new file mode 100644 index 000000000..3a31b257b --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/IonAnnotationTypeSerializer.html @@ -0,0 +1,327 @@ + + + + + + +public class IonAnnotationTypeSerializer
+extends com.fasterxml.jackson.databind.jsontype.impl.TypeSerializerBase
+TypeSerializer that places typing metadata in Ion type annotations. It requires that the underlying
+ JsonGenerator is actually a IonGenerator.
+
+ Type serializers are responsible for handling the preamble and postamble of values, in addition to any possible
+ typing metadata (probably because type metadata can affect the pre/postamble content) -- in other words, once a
+ TypeSerializer gets involved, serializers skip normal pre/postambles and assume the TypeSerializer will do it
+ instead. This is why we have to do more than write type metadata in our writeTypePrefix/Suffix* implementations.
MultipleTypeIdResolver_idResolver, _property| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_generateTypeId(com.fasterxml.jackson.core.type.WritableTypeId idMetadata) |
+
com.fasterxml.jackson.databind.jsontype.TypeSerializer |
+forProperty(com.fasterxml.jackson.databind.BeanProperty prop) |
+
com.fasterxml.jackson.annotation.JsonTypeInfo.As |
+getTypeInclusion() |
+
getPropertyName, getTypeIdResolver, handleMissingId, idFromValue, idFromValueAndType, writeTypePrefix, writeTypeSuffix_writeLegacySuffix, typeId, typeId, typeId, writeCustomTypePrefixForArray, writeCustomTypePrefixForObject, writeCustomTypePrefixForScalar, writeCustomTypeSuffixForArray, writeCustomTypeSuffixForObject, writeCustomTypeSuffixForScalar, writeTypePrefixForArray, writeTypePrefixForArray, writeTypePrefixForObject, writeTypePrefixForObject, writeTypePrefixForScalar, writeTypePrefixForScalar, writeTypeSuffixForArray, writeTypeSuffixForObject, writeTypeSuffixForScalarpublic com.fasterxml.jackson.databind.jsontype.TypeSerializer forProperty(com.fasterxml.jackson.databind.BeanProperty prop)+
forProperty in class com.fasterxml.jackson.databind.jsontype.TypeSerializerpublic com.fasterxml.jackson.annotation.JsonTypeInfo.As getTypeInclusion()+
getTypeInclusion in class com.fasterxml.jackson.databind.jsontype.impl.TypeSerializerBaseprotected final void _generateTypeId(com.fasterxml.jackson.core.type.WritableTypeId idMetadata)+
_generateTypeId in class com.fasterxml.jackson.databind.jsontype.impl.TypeSerializerBaseCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/MultipleTypeIdResolver.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/MultipleTypeIdResolver.html new file mode 100644 index 000000000..93dca1cfa --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/MultipleTypeIdResolver.html @@ -0,0 +1,311 @@ + + + + + + +public interface MultipleTypeIdResolver
+extends com.fasterxml.jackson.databind.jsontype.TypeIdResolver
+TypeIdResolver for serializing and deserializing polymorphic types. The vanilla
+ implementation of TypeIdResolver only enables a single type id to be serialized with a value, which is not always
+ sufficient for every consumer of a value with polymorphic typing to identify and instantiate the appropriate type.
+ + This allows more robust polymorphism support, in that consumers of a serialized polymorphic object do not need + complete type information. As long as their deserializer can resolve (or, understand) one of the annotated type ids, + they can still perform polymorphic deserialization. An example: +
+
+ class BasicMessage {
+ String id;
+ String message;
+ }
+ class SocialMediaMessage extends BasicMessage {
+ boolean cool;
+ }
+
+ Let's say we serialized a value into:
+
+ {id="123",message="hi",cool=false}.
+
+ The existing polymorphism support may have annotated this as the following Ion:
+
+ SocialMediaMessage::{id="123",message="hi",cool=false}
+
+ But a consumer who only has BasicMessage in its classloader won't know (or care) what a SocialMediaMessage is, and be
+ stuck. Using this interface enables the following serialization:
+
+ SocialMediaMessage::BasicMessage::{id="123",message="hi",cool=false}
+
+ About particular implementations:
+
+ Ion serialization should be using IonAnnotationTypeSerializer, which is polymorphism-aware, but how should a
+ MultipleTypeIdResolver handle a call to the non-polymorphic TypeIdResolver.idFromValue(Object)? I'd probably
+ do something like return selectId(idsFromValue(value)); , to keep things working when serializing
+ to non-Ion formats. Throwing a runtime exception is another idea, if you want to forbid non-Ion serialization.
| Modifier and Type | +Method and Description | +
|---|---|
String[] |
+idsFromValue(Object value)
+Provides a list of valid (polymorphic) type ids for the given value.
+ |
+
String |
+selectId(String[] ids)
+Given a set of type ids, select the most 'relevant'.
+ |
+
getDescForKnownTypeIds, getMechanism, idFromBaseType, idFromValue, idFromValueAndType, init, typeFromIdString[] idsFromValue(Object value)+
value - Java object to be serialized.String selectId(String[] ids)+
TypeIdResolver.typeFromId(com.fasterxml.jackson.databind.DatabindContext, java.lang.String) to get a JavaType. It is a invariant
+ on this method that its output, if non-null, be valid input for TypeIdResolver.typeFromId(com.fasterxml.jackson.databind.DatabindContext, java.lang.String) of the
+ same TypeIdResolver instance.
+ + Note that we're not resolving the array of ids directly into a JavaType because there is code (in the Jackson + package, not ours) which consumes the id String itself, not the JavaType object.
ids - Type ids from a jsonified object. May not be null.Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationIntrospector.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationIntrospector.html new file mode 100644 index 000000000..3b7770fdc --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationIntrospector.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeDeserializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeDeserializer.html new file mode 100644 index 000000000..3bc7fc150 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeDeserializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeResolverBuilder.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeResolverBuilder.html new file mode 100644 index 000000000..ccce0b67d --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeResolverBuilder.html @@ -0,0 +1,183 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion.polymorphism | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
IonAnnotationTypeResolverBuilder |
+IonAnnotationTypeResolverBuilder.defaultImpl(Class<?> di) |
+
IonAnnotationTypeResolverBuilder |
+IonAnnotationTypeResolverBuilder.inclusion(com.fasterxml.jackson.annotation.JsonTypeInfo.As includeAs) |
+
IonAnnotationTypeResolverBuilder |
+IonAnnotationTypeResolverBuilder.init(com.fasterxml.jackson.annotation.JsonTypeInfo.Id idType,
+ com.fasterxml.jackson.databind.jsontype.TypeIdResolver res) |
+
IonAnnotationTypeResolverBuilder |
+IonAnnotationTypeResolverBuilder.typeIdVisibility(boolean isVisible) |
+
IonAnnotationTypeResolverBuilder |
+IonAnnotationTypeResolverBuilder.typeProperty(String propName) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeSerializer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeSerializer.html new file mode 100644 index 000000000..070cfe8ab --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/IonAnnotationTypeSerializer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/MultipleTypeIdResolver.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/MultipleTypeIdResolver.html new file mode 100644 index 000000000..4fa3e58f0 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/class-use/MultipleTypeIdResolver.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-frame.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-frame.html new file mode 100644 index 000000000..6c035889d --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-frame.html @@ -0,0 +1,28 @@ + + + + + + +| Interface | +Description | +
|---|---|
| MultipleTypeIdResolver | +
+ This is an extension of
+TypeIdResolver for serializing and deserializing polymorphic types. |
+
| Class | +Description | +
|---|---|
| IonAnnotationIntrospector | +
+ A Jackson
+AnnotationIntrospector (essentially an interceptor for
+ serializer/deserializer construction) that provides type serializer/deserializers that write/read Ion type
+ annotations. |
+
| IonAnnotationTypeDeserializer | +
+ This is a
+TypeDeserializer that reads typing metadata from Ion type
+ annotations. |
+
| IonAnnotationTypeResolverBuilder | +
+ A
+TypeResolverBuilder which produces TypeSerializers and TypeDeserializers that use
+ Ion type annotations to communicate type metadata. |
+
| IonAnnotationTypeSerializer | +
+ This is a
+TypeSerializer that places typing metadata in Ion type annotations. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-tree.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-tree.html new file mode 100644 index 000000000..a0d2d6df7 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-tree.html @@ -0,0 +1,174 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-use.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-use.html new file mode 100644 index 000000000..12db68cd5 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/polymorphism/package-use.html @@ -0,0 +1,162 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion.polymorphism | ++ |
| Class and Description | +
|---|
| IonAnnotationTypeResolverBuilder
+ A
+TypeResolverBuilder which produces TypeSerializers and TypeDeserializers that use
+ Ion type annotations to communicate type metadata. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/CloseSafeUTF8Writer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/CloseSafeUTF8Writer.html new file mode 100644 index 000000000..9b1bfa4ce --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/CloseSafeUTF8Writer.html @@ -0,0 +1,503 @@ + + + + + + +@Deprecated +public class CloseSafeUTF8Writer +extends Writer+
UTF8Writer to prevent it from throwing
+ an NPE after closing. It would be easier to subclass it, but UTF8Writer is
+ final, so we have to use delegation.| Constructor and Description | +
|---|
CloseSafeUTF8Writer(com.fasterxml.jackson.core.io.IOContext ctxt,
+ OutputStream out)
+Deprecated.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Writer |
+append(char c)
+Deprecated.
+ |
+
void |
+close()
+Deprecated.
+ |
+
void |
+flush()
+Deprecated.
+ |
+
void |
+write(char[] cbuf)
+Deprecated.
+ |
+
void |
+write(char[] cbuf,
+ int off,
+ int len)
+Deprecated.
+ |
+
void |
+write(int c)
+Deprecated.
+ |
+
void |
+write(String str)
+Deprecated.
+ |
+
void |
+write(String str,
+ int off,
+ int len)
+Deprecated.
+ |
+
public CloseSafeUTF8Writer(com.fasterxml.jackson.core.io.IOContext ctxt, + OutputStream out)+
public void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush() + throws IOException+
flush in interface Flushableflush in class WriterIOExceptionpublic Writer append(char c) + throws IOException+
append in interface Appendableappend in class WriterIOExceptionpublic void write(char[] cbuf) + throws IOException+
write in class WriterIOExceptionpublic void write(char[] cbuf, + int off, + int len) + throws IOException+
write in class WriterIOExceptionpublic void write(int c) + throws IOException+
write in class WriterIOExceptionpublic void write(String str) + throws IOException+
write in class WriterIOExceptionpublic void write(String str, + int off, + int len) + throws IOException+
write in class WriterIOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/class-use/CloseSafeUTF8Writer.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/class-use/CloseSafeUTF8Writer.html new file mode 100644 index 000000000..af5a9f107 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/class-use/CloseSafeUTF8Writer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-frame.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-frame.html new file mode 100644 index 000000000..66bc2d207 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +| Class | +Description | +
|---|---|
| CloseSafeUTF8Writer | +Deprecated
+ Since 2.13 should not be needed any more
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-tree.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-tree.html new file mode 100644 index 000000000..c1c78d31f --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-use.html b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-use.html new file mode 100644 index 000000000..4dfdbaf66 --- /dev/null +++ b/docs/javadoc/ion/2.13/com/fasterxml/jackson/dataformat/ion/util/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/constant-values.html b/docs/javadoc/ion/2.13/constant-values.html new file mode 100644 index 000000000..7f4eddeec --- /dev/null +++ b/docs/javadoc/ion/2.13/constant-values.html @@ -0,0 +1,181 @@ + + + + + + +| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+FORMAT_NAME_ION |
+"AmazonIon" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+STATUS_OK_AFTER_SEXP_SEPARATOR |
+60 |
+
+
+protected static final int |
+TYPE_SEXP |
+30 |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/deprecated-list.html b/docs/javadoc/ion/2.13/deprecated-list.html new file mode 100644 index 000000000..e278265ee --- /dev/null +++ b/docs/javadoc/ion/2.13/deprecated-list.html @@ -0,0 +1,210 @@ + + + + + + +| Class and Description | +
|---|
| com.fasterxml.jackson.dataformat.ion.util.CloseSafeUTF8Writer
+ Since 2.13 should not be needed any more
+ |
+
| Method and Description | +
|---|
| com.fasterxml.jackson.dataformat.ion.IonFactory._readAll(Reader, IOContext) | +
| com.fasterxml.jackson.dataformat.ion.IonFactory.createJsonGenerator(IonWriter)
+ Since 2.7
+ |
+
| com.fasterxml.jackson.dataformat.ion.IonFactory.createJsonParser(IonReader)
+ Since 2.7
+ |
+
| com.fasterxml.jackson.dataformat.ion.IonFactory.createJsonParser(IonValue)
+ Since 2.7
+ |
+
| Constructor and Description | +
|---|
| com.fasterxml.jackson.dataformat.ion.IonParser(IonReader, IOContext)
+ use
+instead |
+
| com.fasterxml.jackson.dataformat.ion.IonParser(IonReader, IOContext, ObjectCodec)
+ use
+instead |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/help-doc.html b/docs/javadoc/ion/2.13/help-doc.html new file mode 100644 index 000000000..02d9dd7e2 --- /dev/null +++ b/docs/javadoc/ion/2.13/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/index-all.html b/docs/javadoc/ion/2.13/index-all.html new file mode 100644 index 000000000..3281fb52c --- /dev/null +++ b/docs/javadoc/ion/2.13/index-all.html @@ -0,0 +1,1209 @@ + + + + + + +JsonFormat.Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONEstepIn() or one of the
+ IonWriters write*() methods.IonSystem.IonFactoryBuilder initialized with settings to
+ create binary (not textual) writers.IonSystemIonFactoryBuilder initialized with settings to
+ create textual (not binary) writers.IonSystem.TypeDeserializer.TypeSerializer.IonParser.Feature for list of features)IonGenerator.Feature for list of features)IonParser.Feature for list of features)IonGenerator.Feature for list of features)IonParser.Feature for list of features)IonGenerator.Feature for list of features)TypeResolverBuilder if the AnnotatedClass is enabled for type resolving, and a
+ TypeIdResolver can be instantiated.IonFactory that will
+ create binary (not textual) writers.IonFactory that will
+ create textual (not binary) writers.IonSystem this parser instance was construted
+ withAnnotationIntrospector (essentially an interceptor for
+ serializer/deserializer construction) that provides type serializer/deserializers that write/read Ion type
+ annotations.TypeDeserializer that reads typing metadata from Ion type
+ annotations.TypeResolverBuilder which produces TypeSerializers and TypeDeserializers that use
+ Ion type annotations to communicate type metadata.TypeSerializer that places typing metadata in Ion type annotations.JsonFactory that will work on Ion content, instead of JSON
+ content.IonFactoryBuilder for instantiation.TSFBuilder
+ implementation for constructing IonFactory instances.JsonGenerator that will use an underlying
+ IonWriter for actual writing of content.ObjectMapper that will set underlying
+ JsonFactory
+ to be an instance of IonFactory.IonFactory
+ as codec, using textual writers by default.IonFactory.ObjectMapper, used with
+ Ion backend.JsonParser that will use an underlying
+ IonReader as actual parser, and camouflage it as json parser.insteadinsteadPropertyNamingStrategy.TypeIdResolver for serializing and deserializing polymorphic types.IonGenerator.Features
+ are enabled.IonParser.Features
+ are enabled.IonGenerator.Features enabled, as bitmask.IonParser.Features enabled, as bitmask.IonSystem instance is needed, configured here;
+ if left as null, will use:
+IonSystemBuilder.standard().build()
+Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/index.html b/docs/javadoc/ion/2.13/index.html new file mode 100644 index 000000000..fe9ec820c --- /dev/null +++ b/docs/javadoc/ion/2.13/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/docs/javadoc/ion/2.13/overview-summary.html b/docs/javadoc/ion/2.13/overview-summary.html new file mode 100644 index 000000000..7d4618fd7 --- /dev/null +++ b/docs/javadoc/ion/2.13/overview-summary.html @@ -0,0 +1,156 @@ + + + + + + +
| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.ion | ++ |
| com.fasterxml.jackson.dataformat.ion.ionvalue | ++ |
| com.fasterxml.jackson.dataformat.ion.jsr310 | ++ |
| com.fasterxml.jackson.dataformat.ion.polymorphism | ++ |
| com.fasterxml.jackson.dataformat.ion.util | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/overview-tree.html b/docs/javadoc/ion/2.13/overview-tree.html new file mode 100644 index 000000000..8156ecf6b --- /dev/null +++ b/docs/javadoc/ion/2.13/overview-tree.html @@ -0,0 +1,313 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/package-list b/docs/javadoc/ion/2.13/package-list new file mode 100644 index 000000000..ad4badb20 --- /dev/null +++ b/docs/javadoc/ion/2.13/package-list @@ -0,0 +1,5 @@ +com.fasterxml.jackson.dataformat.ion +com.fasterxml.jackson.dataformat.ion.ionvalue +com.fasterxml.jackson.dataformat.ion.jsr310 +com.fasterxml.jackson.dataformat.ion.polymorphism +com.fasterxml.jackson.dataformat.ion.util diff --git a/docs/javadoc/ion/2.13/script.js b/docs/javadoc/ion/2.13/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/docs/javadoc/ion/2.13/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/ion/2.13/serialized-form.html b/docs/javadoc/ion/2.13/serialized-form.html new file mode 100644 index 000000000..c06e62918 --- /dev/null +++ b/docs/javadoc/ion/2.13/serialized-form.html @@ -0,0 +1,373 @@ + + + + + + +com.amazon.ion.IonSystem _system+
boolean _cfgCreateBinaryWriters+
int _ionParserFeatures+
int _ionGeneratorFeatures+
BiFunction<T,U,R> fromInstant+
Boolean adjustToContextTZOverride+
JsonFormat.Feature.ADJUST_DATES_TO_CONTEXT_TIME_ZONEFunction<T,R> getInstant+
Function<T,R> getOffset+
BiFunction<T,U,R> getOffsetAtZoneId+
ZoneId zoneIdOverride+
JsonFormat.timezoneBoolean writeDateTimestampsAsNanosOverride+
JsonFormat.Feature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDSboolean resolveAllTypes+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/ion/2.13/stylesheet.css b/docs/javadoc/ion/2.13/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/docs/javadoc/ion/2.13/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/protobuf/2.13/allclasses-frame.html b/docs/javadoc/protobuf/2.13/allclasses-frame.html new file mode 100644 index 000000000..b8c8464f5 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/allclasses-frame.html @@ -0,0 +1,74 @@ + + + + + + +public class ByteAccumulator +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.dataformat.protobuf.ByteAccumulator.Segment |
+_firstSegment |
+
protected com.fasterxml.jackson.dataformat.protobuf.ByteAccumulator.Segment |
+_lastSegment |
+
protected ByteAccumulator |
+_parent |
+
protected int |
+_parentStart
+Pointer to start of contents provided by parent, preceding room
+ for prefix (that is, same as or less than `_prefixOffset`)
+ |
+
protected byte[] |
+_prefixBuffer
+Caller-provided buffer in which optional type prefix,
+ and mandatory length indicator may be added.
+ |
+
protected int |
+_prefixOffset
+Offset within
+_prefixBuffer where there is room for encoding
+ prefix (type, tag, length). |
+
protected int |
+_segmentBytes
+Total number of bytes contained within buffers, to be used for length prefix.
+ |
+
protected int |
+_typedTag |
+
| Constructor and Description | +
|---|
ByteAccumulator(ByteAccumulator p,
+ int typedTag,
+ byte[] prefixBuffer,
+ int prefixOffset,
+ int parentStart) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+append(byte[] buf,
+ int offset,
+ int len) |
+
ByteAccumulator |
+finish(OutputStream out,
+ byte[] input) |
+
ByteAccumulator |
+finish(OutputStream out,
+ byte[] input,
+ int offset,
+ int len) |
+
protected final ByteAccumulator _parent+
protected final byte[] _prefixBuffer+
protected final int _prefixOffset+
_prefixBuffer where there is room for encoding
+ prefix (type, tag, length).protected final int _typedTag+
protected com.fasterxml.jackson.dataformat.protobuf.ByteAccumulator.Segment _firstSegment+
protected com.fasterxml.jackson.dataformat.protobuf.ByteAccumulator.Segment _lastSegment+
protected int _segmentBytes+
protected int _parentStart+
public ByteAccumulator(ByteAccumulator p, + int typedTag, + byte[] prefixBuffer, + int prefixOffset, + int parentStart)+
public void append(byte[] buf, + int offset, + int len)+
public ByteAccumulator finish(OutputStream out, + byte[] input, + int offset, + int len) + throws IOException+
IOExceptionpublic ByteAccumulator finish(OutputStream out, + byte[] input) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/PackageVersion.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/PackageVersion.html new file mode 100644 index 000000000..9c2ae1ebf --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/PackageVersion.html @@ -0,0 +1,321 @@ + + + + + + +public final class PackageVersion +extends Object +implements com.fasterxml.jackson.core.Versioned+
| Modifier and Type | +Field and Description | +
|---|---|
static com.fasterxml.jackson.core.Version |
+VERSION |
+
| Constructor and Description | +
|---|
PackageVersion() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.Version |
+version() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufFactory.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufFactory.html new file mode 100644 index 000000000..94d05442c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufFactory.html @@ -0,0 +1,922 @@ + + + + + + +public class ProtobufFactory
+extends com.fasterxml.jackson.core.JsonFactory
+com.fasterxml.jackson.core.JsonFactory.Feature_byteSymbolCanonicalizer, _characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON| Modifier | +Constructor and Description | +
|---|---|
|
+ProtobufFactory() |
+
|
+ProtobufFactory(com.fasterxml.jackson.core.ObjectCodec codec) |
+
protected |
+ProtobufFactory(ProtobufFactoryBuilder b)
+Constructors used by
+ProtobufFactoryBuilder for instantiation. |
+
protected |
+ProtobufFactory(ProtobufFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.fasterxml.jackson.core.io.IOContext |
+_createContext(com.fasterxml.jackson.core.io.ContentReference contentRef,
+ boolean resourceManaged) |
+
protected ProtobufGenerator |
+_createGenerator(Writer out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected ProtobufParser |
+_createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(char[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ boolean recyclable) |
+
protected ProtobufParser |
+_createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(Reader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected ProtobufGenerator |
+_createUTF8Generator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected Writer |
+_createWriter(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected <T> T |
+_nonByteSource() |
+
protected <T> T |
+_nonByteTarget() |
+
static ProtobufFactoryBuilder |
+builder()
+Main factory method to use for constructing
+ProtobufFactory instances with
+ different configuration. |
+
boolean |
+canHandleBinaryNatively() |
+
boolean |
+canUseCharArrays() |
+
ProtobufFactory |
+copy() |
+
ProtobufGenerator |
+createGenerator(OutputStream out)
+Method for constructing
+JsonGenerator for generating
+ protobuf-encoded output. |
+
ProtobufGenerator |
+createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc) |
+
ProtobufParser |
+createParser(byte[] data) |
+
ProtobufParser |
+createParser(byte[] data,
+ int offset,
+ int len) |
+
ProtobufParser |
+createParser(File f) |
+
ProtobufParser |
+createParser(InputStream in) |
+
ProtobufParser |
+createParser(URL url) |
+
String |
+getFormatName() |
+
com.fasterxml.jackson.core.format.MatchStrength |
+hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
+Sub-classes need to override this method
+ |
+
protected Object |
+readResolve()
+Method that we need to override to actually make restoration go
+ through constructors etc.
+ |
+
ProtobufFactoryBuilder |
+rebuild() |
+
boolean |
+requiresPropertyOrdering() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_checkInvalidCopy, _createContentReference, _createContentReference, _createContext, _createNonBlockingContext, _createParser, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, canParseAsync, canUseSchema, configure, configure, configure, createGenerator, createGenerator, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createNonBlockingByteArrayParser, createParser, createParser, createParser, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getFormatGeneratorFeatures, getFormatParserFeatures, getFormatReadFeatureType, getFormatWriteFeatureType, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, requiresCustomCodec, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator_createDataOutputWrapper, _optimizedStreamFromURLpublic ProtobufFactory()+
public ProtobufFactory(com.fasterxml.jackson.core.ObjectCodec codec)+
protected ProtobufFactory(ProtobufFactory src, + com.fasterxml.jackson.core.ObjectCodec oc)+
protected ProtobufFactory(ProtobufFactoryBuilder b)+
ProtobufFactoryBuilder for instantiation.public ProtobufFactoryBuilder rebuild()+
rebuild in class com.fasterxml.jackson.core.JsonFactorypublic static ProtobufFactoryBuilder builder()+
ProtobufFactory instances with
+ different configuration.public ProtobufFactory copy()+
copy in class com.fasterxml.jackson.core.JsonFactoryprotected Object readResolve()+
readResolve in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonFactorypublic String getFormatName()+
getFormatName in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.format.MatchStrength hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + throws IOException+
hasFormat in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic boolean requiresPropertyOrdering()+
requiresPropertyOrdering in class com.fasterxml.jackson.core.JsonFactorypublic boolean canHandleBinaryNatively()+
canHandleBinaryNatively in class com.fasterxml.jackson.core.JsonFactorypublic boolean canUseCharArrays()+
canUseCharArrays in class com.fasterxml.jackson.core.JsonFactorypublic ProtobufParser createParser(File f) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic ProtobufParser createParser(URL url) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic ProtobufParser createParser(InputStream in) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic ProtobufParser createParser(byte[] data) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic ProtobufParser createParser(byte[] data, + int offset, + int len) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic ProtobufGenerator createGenerator(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc) + throws IOException+
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic ProtobufGenerator createGenerator(OutputStream out) + throws IOException+
JsonGenerator for generating
+ protobuf-encoded output.
++ Since protobuf format always uses UTF-8 internally, no encoding need + to be passed to this method.
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.io.IOContext _createContext(com.fasterxml.jackson.core.io.ContentReference contentRef, + boolean resourceManaged)+
_createContext in class com.fasterxml.jackson.core.JsonFactoryprotected ProtobufParser _createParser(InputStream in, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(Reader r, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(char[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt, + boolean recyclable) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected ProtobufParser _createParser(byte[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected ProtobufGenerator _createGenerator(Writer out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected ProtobufGenerator _createUTF8Generator(OutputStream out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createUTF8Generator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected Writer _createWriter(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createWriter in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected <T> T _nonByteSource()+
protected <T> T _nonByteTarget()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufFactoryBuilder.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufFactoryBuilder.html new file mode 100644 index 000000000..5ec4bdea3 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufFactoryBuilder.html @@ -0,0 +1,323 @@ + + + + + + +public class ProtobufFactoryBuilder +extends com.fasterxml.jackson.core.TSFBuilder<ProtobufFactory,ProtobufFactoryBuilder>+
TSFBuilder
+ implementation for constructing ProtobufFactory
+ instances._factoryFeatures, _inputDecorator, _outputDecorator, _streamReadFeatures, _streamWriteFeatures, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS| Constructor and Description | +
|---|
ProtobufFactoryBuilder() |
+
ProtobufFactoryBuilder(ProtobufFactory base) |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufFactory |
+build() |
+
_legacyDisable, _legacyDisable, _legacyEnable, _legacyEnable, _this, configure, configure, configure, configure, configure, disable, disable, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, enable, enable, factoryFeaturesMask, inputDecorator, inputDecorator, outputDecorator, outputDecorator, streamReadFeatures, streamWriteFeaturespublic ProtobufFactoryBuilder()+
public ProtobufFactoryBuilder(ProtobufFactory base)+
public ProtobufFactory build()+
build in class com.fasterxml.jackson.core.TSFBuilder<ProtobufFactory,ProtobufFactoryBuilder>Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufGenerator.html new file mode 100644 index 000000000..e19a7c5a7 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufGenerator.html @@ -0,0 +1,1881 @@ + + + + + + +public class ProtobufGenerator
+extends com.fasterxml.jackson.core.base.GeneratorBase
+com.fasterxml.jackson.core.JsonGenerator.Feature| Modifier and Type | +Field and Description | +
|---|---|
protected ByteAccumulator |
+_buffered
+Object used in cases where we need to buffer content to calculate length-prefix.
+ |
+
protected boolean |
+_complete
+Flag that is set when the whole content is complete, can
+ be output.
+ |
+
protected byte[] |
+_currBuffer
+Currently active output buffer, place where appends occur.
+ |
+
protected ProtobufField |
+_currField
+Field to be output next; set when
+JsonToken.FIELD_NAME is written,
+ cleared once value has been written |
+
protected ProtobufMessage |
+_currMessage
+Type of protobuf message that is currently being output: usually
+ matches write context, but for arrays may indicate "parent" of array.
+ |
+
protected int |
+_currPtr |
+
protected int |
+_currStart |
+
protected boolean |
+_inObject |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext |
+
protected byte[] |
+_origCurrBuffer
+The first allocated (or recycled) buffer instance; needed to avoid
+ issue [dataformat-protobuf#14].
+ |
+
protected OutputStream |
+_output
+Ultimate destination
+ |
+
protected ProtobufWriteContext |
+_pbContext
+Current context, in form we can use it.
+ |
+
protected ProtobufWriteContext |
+_rootContext
+Reference to the root context since that is needed for serialization
+ |
+
protected ProtobufSchema |
+_schema |
+
protected boolean |
+_writeTag
+Flag that indicates whether values should be written with tag or not;
+ false for packed arrays, true for others.
+ |
+
protected static com.fasterxml.jackson.core.json.JsonWriteContext |
+BOGUS_WRITE_CONTEXT
+Since our context object does NOT implement standard write context, need
+ to do something like use a placeholder...
+ |
+
protected static ProtobufField |
+UNKNOWN_FIELD
+This instance is used as a placeholder for cases where we do not know
+ actual field and want to simply skip over any values that caller tries
+ to write for it.
+ |
+
protected static ProtobufMessage |
+UNKNOWN_MESSAGE
+This is used as a placeholder for case where we don't have an actual message
+ to use, but know (from context) that one is expected.
+ |
+
_cfgNumbersAsStrings, _closed, _features, _objectCodec, _writeContext, DERIVED_FEATURES_MASK, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING_cfgPrettyPrinter, DEFAULT_BINARY_WRITE_CAPABILITIES, DEFAULT_TEXTUAL_WRITE_CAPABILITIES, DEFAULT_WRITE_CAPABILITIES| Constructor and Description | +
|---|
ProtobufGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int jsonFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ OutputStream output) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_complete() |
+
protected void |
+_encodeLongerString(char[] text,
+ int offset,
+ int clen) |
+
protected void |
+_encodeLongerString(String text) |
+
protected void |
+_ensureMore() |
+
protected void |
+_ensureRoom(int needed) |
+
protected void |
+_releaseBuffers() |
+
protected void |
+_reportEnumError(Object enumValue) |
+
protected void |
+_reportWrongWireType(String typeStr) |
+
protected void |
+_verifyValueWrite() |
+
protected void |
+_verifyValueWrite(String typeMsg) |
+
protected void |
+_writeEmptyString() |
+
protected void |
+_writeEnum(int index) |
+
protected void |
+_writeEnum(String str) |
+
protected void |
+_writeLengthPrefixed(byte[] data,
+ int offset,
+ int len) |
+
void |
+assignCurrentValue(Object v) |
+
boolean |
+canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
boolean |
+canWriteBinaryNatively() |
+
void |
+close() |
+
Object |
+currentValue() |
+
void |
+flush() |
+
Object |
+getCurrentValue() |
+
int |
+getOutputBuffered()
+Calculating actual amount of buffering is somewhat complicated, and can not
+ necessarily give 100% accurate answer due to presence of VInt encoding for
+ length indicators.
+ |
+
Object |
+getOutputTarget() |
+
ProtobufSchema |
+getSchema() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> |
+getWriteCapabilities() |
+
void |
+setCurrentValue(Object v) |
+
ProtobufGenerator |
+setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp) |
+
void |
+setSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
void |
+setSchema(ProtobufSchema schema) |
+
ProtobufGenerator |
+useDefaultPrettyPrinter()
+Not sure whether to throw an exception or just do no-op; for now,
+ latter.
+ |
+
com.fasterxml.jackson.core.Version |
+version() |
+
void |
+writeArray(double[] array,
+ int offset,
+ int length) |
+
void |
+writeArray(int[] array,
+ int offset,
+ int length) |
+
void |
+writeArray(long[] array,
+ int offset,
+ int length) |
+
void |
+writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
+ byte[] data,
+ int offset,
+ int len) |
+
void |
+writeBoolean(boolean state) |
+
void |
+writeEndArray() |
+
void |
+writeEndObject() |
+
void |
+writeFieldName(com.fasterxml.jackson.core.SerializableString sstr) |
+
void |
+writeFieldName(String name) |
+
void |
+writeNull() |
+
void |
+writeNumber(BigDecimal v) |
+
void |
+writeNumber(BigInteger v) |
+
void |
+writeNumber(double d) |
+
void |
+writeNumber(float f) |
+
void |
+writeNumber(int v) |
+
void |
+writeNumber(long v) |
+
void |
+writeNumber(String encodedValue) |
+
void |
+writeRaw(char c) |
+
void |
+writeRaw(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRaw(String text) |
+
void |
+writeRaw(String text,
+ int offset,
+ int len) |
+
void |
+writeRawUTF8String(byte[] text,
+ int offset,
+ int len) |
+
void |
+writeRawValue(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRawValue(String text) |
+
void |
+writeRawValue(String text,
+ int offset,
+ int len) |
+
void |
+writeStartArray() |
+
void |
+writeStartObject() |
+
void |
+writeString(char[] text,
+ int offset,
+ int clen) |
+
void |
+writeString(com.fasterxml.jackson.core.SerializableString sstr) |
+
void |
+writeString(String text) |
+
void |
+writeUTF8String(byte[] text,
+ int offset,
+ int len) |
+
_asString, _checkStdFeatureChanges, _constructDefaultPrettyPrinter, _decodeSurrogate, disable, enable, getCodec, getFeatureMask, getOutputContext, isClosed, isEnabled, overrideStdFeatures, setCodec, setFeatureMask, writeBinary, writeObject, writeRawValue, writeStartObject, writeTree_copyCurrentContents, _reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, canOmitFields, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, configure, copyCurrentEvent, copyCurrentStructure, getCharacterEscapes, getFormatFeatures, getHighestEscapedChar, getPrettyPrinter, isEnabled, overrideFormatFeatures, setCharacterEscapes, setHighestNonEscapedChar, setRootValueSeparator, writeArray, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeFieldId, writeNullField, writeNumber, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writePOJO, writePOJOField, writeRaw, writeStartArray, writeStartArray, writeStartArray, writeStartObject, writeString, writeStringField, writeTypeId, writeTypePrefix, writeTypeSuffixprotected static final com.fasterxml.jackson.core.json.JsonWriteContext BOGUS_WRITE_CONTEXT+
protected static final ProtobufField UNKNOWN_FIELD+
protected static final ProtobufMessage UNKNOWN_MESSAGE+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected ProtobufSchema _schema+
protected ProtobufWriteContext _rootContext+
protected boolean _inObject+
protected boolean _writeTag+
protected boolean _complete+
protected ProtobufMessage _currMessage+
protected ProtobufField _currField+
JsonToken.FIELD_NAME is written,
+ cleared once value has been writtenprotected final OutputStream _output+
protected ByteAccumulator _buffered+
protected ProtobufWriteContext _pbContext+
protected byte[] _currBuffer+
protected byte[] _origCurrBuffer+
protected int _currStart+
protected int _currPtr+
public ProtobufGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, + int jsonFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + OutputStream output) + throws IOException+
IOExceptionpublic void setSchema(ProtobufSchema schema)+
public Object currentValue()+
currentValue in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.base.GeneratorBasepublic void assignCurrentValue(Object v)+
assignCurrentValue in class com.fasterxml.jackson.core.JsonGeneratorpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.base.GeneratorBasepublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.base.GeneratorBasepublic boolean canWriteBinaryNatively()+
canWriteBinaryNatively in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> getWriteCapabilities()+
getWriteCapabilities in class com.fasterxml.jackson.core.JsonGeneratorpublic boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)+
canUseSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic ProtobufGenerator useDefaultPrettyPrinter()+
useDefaultPrettyPrinter in class com.fasterxml.jackson.core.base.GeneratorBasepublic ProtobufGenerator setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)+
setPrettyPrinter in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getOutputTarget()+
getOutputTarget in class com.fasterxml.jackson.core.JsonGeneratorpublic int getOutputBuffered()+
getOutputBuffered in class com.fasterxml.jackson.core.JsonGeneratorpublic ProtobufSchema getSchema()+
getSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic void setSchema(com.fasterxml.jackson.core.FormatSchema schema)+
setSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic final void writeFieldName(String name) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeFieldName(com.fasterxml.jackson.core.SerializableString sstr) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void flush() + throws IOException+
flush in interface Flushableflush in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void writeStartArray() + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeEndArray() + throws IOException+
writeEndArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartObject() + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeEndObject() + throws IOException+
writeEndObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(int[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(long[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(double[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(String text) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(char[] text, + int offset, + int clen) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeString(com.fasterxml.jackson.core.SerializableString sstr) + throws IOException+
writeString in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawUTF8String(byte[] text, + int offset, + int len) + throws IOException+
writeRawUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeUTF8String(byte[] text, + int offset, + int len) + throws IOException+
writeUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected void _writeEmptyString() + throws IOException+
IOExceptionprotected void _writeEnum(String str) + throws IOException+
IOExceptionprotected void _writeEnum(int index) + throws IOException+
IOExceptionprotected void _reportEnumError(Object enumValue) + throws IOException+
IOExceptionpublic void writeRaw(String text) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char[] text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char c) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(String text) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(String text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(char[] text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, + byte[] data, + int offset, + int len) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeBoolean(boolean state) + throws IOException+
writeBoolean in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNull() + throws IOException+
writeNull in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(int v) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(long v) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigInteger v) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(double d) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(float f) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigDecimal v) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(String encodedValue) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected final void _verifyValueWrite() + throws IOException+
IOExceptionprotected void _verifyValueWrite(String typeMsg) + throws IOException+
_verifyValueWrite in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionprotected void _releaseBuffers()+
_releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBaseprotected void _encodeLongerString(char[] text, + int offset, + int clen) + throws IOException+
IOExceptionprotected void _encodeLongerString(String text) + throws IOException+
IOExceptionprotected void _writeLengthPrefixed(byte[] data, + int offset, + int len) + throws IOException+
IOExceptionprotected final void _ensureRoom(int needed) + throws IOException+
IOExceptionprotected final void _ensureMore() + throws IOException+
IOExceptionprotected void _complete() + throws IOException+
IOExceptionprotected void _reportWrongWireType(String typeStr) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufMapper.Builder.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufMapper.Builder.html new file mode 100644 index 000000000..85d24d84b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufMapper.Builder.html @@ -0,0 +1,276 @@ + + + + + + +public static class ProtobufMapper.Builder +extends com.fasterxml.jackson.databind.cfg.MapperBuilder<ProtobufMapper,ProtobufMapper.Builder>+
ObjectMapper, used with
+ Protobuf backend._mapper| Constructor and Description | +
|---|
Builder(ProtobufMapper m) |
+
_this, accessorNaming, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addModule, addModules, addModules, annotationIntrospector, build, clearProblemHandlers, configure, configure, configure, configure, configure, configure, configure, constructorDetector, deactivateDefaultTyping, defaultAttributes, defaultBase64Variant, defaultDateFormat, defaultLeniency, defaultLocale, defaultMergeable, defaultPrettyPrinter, defaultPropertyInclusion, defaultSetterInfo, defaultTimeZone, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, filterProvider, findAndAddModules, findModules, findModules, handlerInstantiator, injectableValues, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, nodeFactory, polymorphicTypeValidator, propertyNamingStrategy, registerSubtypes, registerSubtypes, registerSubtypes, removeMixIn, serializationInclusion, serializerFactory, setDefaultTyping, streamFactory, subtypeResolver, typeFactory, visibility, visibility, withCoercionConfig, withCoercionConfig, withCoercionConfigDefaults, withConfigOverridepublic Builder(ProtobufMapper m)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufMapper.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufMapper.html new file mode 100644 index 000000000..374dc8aad --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufMapper.html @@ -0,0 +1,710 @@ + + + + + + +public class ProtobufMapper
+extends com.fasterxml.jackson.databind.ObjectMapper
+| Modifier and Type | +Class and Description | +
|---|---|
static class |
+ProtobufMapper.Builder
+Base implementation for "Vanilla"
+ObjectMapper, used with
+ Protobuf backend. |
+
com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder, com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping| Modifier and Type | +Field and Description | +
|---|---|
protected DescriptorLoader |
+_descriptorLoader
+Lazily constructed instance of
+DescriptorLoader, used for loading
+ structured protoc definitions from multiple files. |
+
protected ProtobufSchemaLoader |
+_schemaLoader |
+
_coercionConfigs, _configOverrides, _deserializationConfig, _deserializationContext, _injectableValues, _jsonFactory, _mixIns, _registeredModuleTypes, _rootDeserializers, _serializationConfig, _serializerFactory, _serializerProvider, _subtypeResolver, _typeFactory, DEFAULT_ANNOTATION_INTROSPECTOR, DEFAULT_BASE| Modifier | +Constructor and Description | +
|---|---|
|
+ProtobufMapper() |
+
|
+ProtobufMapper(ProtobufFactory f) |
+
protected |
+ProtobufMapper(ProtobufMapper src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ProtobufMapper.Builder |
+builder() |
+
static ProtobufMapper.Builder |
+builder(ProtobufFactory streamFactory) |
+
ProtobufMapper |
+copy() |
+
DescriptorLoader |
+descriptorLoader()
+Accessors that may be used instead of convenience
+loadDescriptorSet
+ methods, if alternate sources need to be used. |
+
ProtobufSchema |
+generateSchemaFor(Class<?> type)
+Convenience method for constructing protoc definition that matches
+ given Java type.
+ |
+
ProtobufSchema |
+generateSchemaFor(com.fasterxml.jackson.databind.JavaType type)
+Convenience method for constructing protoc definition that matches
+ given Java type.
+ |
+
ProtobufSchema |
+generateSchemaFor(com.fasterxml.jackson.core.type.TypeReference<?> type)
+Convenience method for constructing protoc definition that matches
+ given Java type.
+ |
+
ProtobufFactory |
+getFactory() |
+
FileDescriptorSet |
+loadDescriptorSet(File src) |
+
FileDescriptorSet |
+loadDescriptorSet(InputStream src) |
+
FileDescriptorSet |
+loadDescriptorSet(URL src) |
+
ProtobufSchemaLoader |
+schemaLoader()
+Accessor for reusable
+ProtobufSchemaLoader which can be
+ used for loading protoc definitions from files and other external
+ sources. |
+
void |
+setSchemaLoader(ProtobufSchemaLoader l) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_assertNotNull, _checkInvalidCopy, _configAndWriteValue, _constructDefaultTypeResolverBuilder, _convert, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readTreeAndClose, _readValue, _serializerProvider, _verifyNoTrailingTokens, _verifySchemaType, _writeValueAndClose, acceptJsonFormatVisitor, acceptJsonFormatVisitor, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addMixInAnnotations, canDeserialize, canDeserialize, canSerialize, canSerialize, clearProblemHandlers, coercionConfigDefaults, coercionConfigFor, coercionConfigFor, configOverride, configure, configure, configure, configure, configure, constructType, constructType, convertValue, convertValue, convertValue, createArrayNode, createDeserializationContext, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createNonBlockingByteArrayParser, createObjectNode, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, deactivateDefaultTyping, defaultClassIntrospector, disable, disable, disable, disable, disable, disable, disable, disableDefaultTyping, enable, enable, enable, enable, enable, enable, enable, enableDefaultTyping, enableDefaultTyping, enableDefaultTyping, enableDefaultTypingAsProperty, findAndRegisterModules, findMixInClassFor, findModules, findModules, generateJsonSchema, getDateFormat, getDeserializationConfig, getDeserializationContext, getInjectableValues, getNodeFactory, getPolymorphicTypeValidator, getPropertyNamingStrategy, getRegisteredModuleIds, getSerializationConfig, getSerializerFactory, getSerializerProvider, getSerializerProviderInstance, getSubtypeResolver, getTypeFactory, getVisibilityChecker, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, missingNode, mixInCount, nullNode, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForArrayOf, readerForListOf, readerForMapOf, readerForUpdating, readerWithView, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValues, readValues, readValues, readValues, registerModule, registerModules, registerModules, registerSubtypes, registerSubtypes, registerSubtypes, setAccessorNaming, setAnnotationIntrospector, setAnnotationIntrospectors, setBase64Variant, setConfig, setConfig, setConstructorDetector, setDateFormat, setDefaultAttributes, setDefaultLeniency, setDefaultMergeable, setDefaultPrettyPrinter, setDefaultPropertyInclusion, setDefaultPropertyInclusion, setDefaultSetterInfo, setDefaultTyping, setDefaultVisibility, setFilterProvider, setFilters, setHandlerInstantiator, setInjectableValues, setLocale, setMixInAnnotations, setMixInResolver, setMixIns, setNodeFactory, setPolymorphicTypeValidator, setPropertyInclusion, setPropertyNamingStrategy, setSerializationInclusion, setSerializerFactory, setSerializerProvider, setSubtypeResolver, setTimeZone, setTypeFactory, setVisibility, setVisibility, setVisibilityChecker, tokenStreamFactory, treeAsTokens, treeToValue, treeToValue, updateValue, valueToTree, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithType, writerWithType, writerWithType, writerWithView, writeTree, writeTree, writeValue, writeValue, writeValue, writeValue, writeValue, writeValueAsBytes, writeValueAsStringgetJsonFactoryprotected ProtobufSchemaLoader _schemaLoader+
protected DescriptorLoader _descriptorLoader+
DescriptorLoader, used for loading
+ structured protoc definitions from multiple files.public ProtobufMapper()+
public ProtobufMapper(ProtobufFactory f)+
protected ProtobufMapper(ProtobufMapper src)+
public static ProtobufMapper.Builder builder()+
public static ProtobufMapper.Builder builder(ProtobufFactory streamFactory)+
public ProtobufMapper copy()+
copy in class com.fasterxml.jackson.databind.ObjectMapperpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.ObjectMapperpublic ProtobufFactory getFactory()+
getFactory in class com.fasterxml.jackson.databind.ObjectMapperpublic ProtobufSchemaLoader schemaLoader()+
ProtobufSchemaLoader which can be
+ used for loading protoc definitions from files and other external
+ sources.public void setSchemaLoader(ProtobufSchemaLoader l)+
public ProtobufSchema generateSchemaFor(com.fasterxml.jackson.databind.JavaType type) + throws com.fasterxml.jackson.databind.JsonMappingException+
ProtobufSchemaGenerator for
+ generation.type - Resolved type to generate ProtobufSchema forProtobufSchemacom.fasterxml.jackson.databind.JsonMappingExceptionpublic ProtobufSchema generateSchemaFor(Class<?> type) + throws com.fasterxml.jackson.databind.JsonMappingException+
ProtobufSchemaGenerator for generation.type - Type-erased type to generate ProtobufSchema forProtobufSchemacom.fasterxml.jackson.databind.JsonMappingExceptionpublic ProtobufSchema generateSchemaFor(com.fasterxml.jackson.core.type.TypeReference<?> type) + throws com.fasterxml.jackson.databind.JsonMappingException+
ProtobufSchemaGenerator for generation.type - Type to generate ProtobufSchema forProtobufSchemacom.fasterxml.jackson.databind.JsonMappingExceptionpublic FileDescriptorSet loadDescriptorSet(URL src) + throws IOException+
IOExceptionpublic FileDescriptorSet loadDescriptorSet(File src) + throws IOException+
IOExceptionpublic FileDescriptorSet loadDescriptorSet(InputStream src) + throws IOException+
IOExceptionpublic DescriptorLoader descriptorLoader() + throws IOException+
loadDescriptorSet
+ methods, if alternate sources need to be used.IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufParser.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufParser.html new file mode 100644 index 000000000..c8251f589 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufParser.html @@ -0,0 +1,2193 @@ + + + + + + +public class ProtobufParser
+extends com.fasterxml.jackson.core.base.ParserMinimalBase
+com.fasterxml.jackson.core.JsonParser.Feature, com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected byte[] |
+_binaryValue
+We will hold on to decoded binary data, for duration of
+ current event, so that multiple calls to
+
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once. |
+
protected boolean |
+_bufferRecyclable
+Flag that indicates whether the input buffer is recycable (and
+ needs to be returned to recycler once we are done) or not.
+ |
+
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
+_byteArrayBuilder
+ByteArrayBuilder is needed if 'getBinaryValue' is called.
+ |
+
protected boolean |
+_closed
+Flag that indicates whether parser is closed or not.
+ |
+
protected int |
+_currentEndOffset |
+
protected ProtobufField |
+_currentField |
+
protected ProtobufMessage |
+_currentMessage
+The innermost Object type ("message" in proto lingo) we are handling.
+ |
+
protected long |
+_currInputProcessed
+Number of characters/bytes that were contained in previous blocks
+ (blocks that were already processed prior to the current buffer).
+ |
+
protected int |
+_decodedLength
+Length of the value that parser points to, for scalar values that use length
+ prefixes (Strings, binary data).
+ |
+
protected byte[] |
+_inputBuffer
+Current buffer from which data is read; generally data is read into
+ buffer from input source, but in some cases pre-loaded buffer
+ is handed to the parser.
+ |
+
protected int |
+_inputEnd
+Index of character after last available one in the buffer.
+ |
+
protected int |
+_inputPtr
+Pointer to next available character in buffer
+ |
+
protected InputStream |
+_inputStream
+Input stream that can be used for reading more content, if one
+ in use.
+ |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext
+I/O context for this reader.
+ |
+
protected boolean |
+_nameCopied
+Flag set to indicate whether the field name is available
+ from the name copy buffer or not (in addition to its String
+ representation being available via read context)
+ |
+
protected char[] |
+_nameCopyBuffer
+Temporary buffer that is needed if field name is accessed
+ using
+getTextCharacters() method (instead of String
+ returning alternatives) |
+
protected int |
+_nextTag |
+
protected BigDecimal |
+_numberBigDecimal |
+
protected BigInteger |
+_numberBigInt |
+
protected double |
+_numberDouble |
+
protected float |
+_numberFloat |
+
protected int |
+_numberInt |
+
protected long |
+_numberLong |
+
protected int |
+_numTypesValid
+Bitfield that indicates which numeric representations
+ have been calculated for the current type
+ |
+
protected com.fasterxml.jackson.core.ObjectCodec |
+_objectCodec
+Codec used for data binding when (if) requested.
+ |
+
protected ProtobufReadContext |
+_parsingContext
+Information about parser context, context in which
+ the next token is to be parsed (root, array, object).
+ |
+
protected ProtobufSchema |
+_schema |
+
protected int |
+_state
+Current state of the parser.
+ |
+
protected com.fasterxml.jackson.core.util.TextBuffer |
+_textBuffer
+Buffer that contains contents of String values, including
+ field names if necessary (name split across boundary,
+ contains escape sequence, or access needed to char array)
+ |
+
protected boolean |
+_tokenIncomplete
+Flag that indicates that the current token has not yet
+ been fully processed, and needs to be finished for
+ some access (or skipped to obtain the next token)
+ |
+
protected int |
+_tokenInputCol
+Column on input row that current token starts; 0-based (although
+ in the end it'll be converted to 1-based)
+ |
+
protected int |
+_tokenInputRow
+Input row on which current token starts, 1-based
+ |
+
protected long |
+_tokenInputTotal
+Total number of bytes/characters read before start of current token.
+ |
+
_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
ProtobufParser(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ InputStream in,
+ byte[] inputBuffer,
+ int start,
+ int end,
+ boolean bufferRecyclable) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_checkNumericValue(int expType) |
+
protected void |
+_closeInput() |
+
protected int |
+_decode32Bits() |
+
protected long |
+_decode64Bits() |
+
protected int |
+_decodeVIntSlow() |
+
protected long |
+_decodeVLongSlow() |
+
protected byte[] |
+_finishBytes(int len) |
+
protected void |
+_finishToken()
+Method called to finish parsing of a token so that token contents
+ are retriable
+ |
+
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
+_getByteArrayBuilder() |
+
protected void |
+_handleEOF() |
+
protected void |
+_loadToHaveAtLeast(int minAvailable)
+Helper method that will try to load at least specified number bytes in
+ input buffer, possible moving existing data around if necessary
+ |
+
protected static long |
+_long(int i1,
+ int i2) |
+
protected void |
+_releaseBuffers() |
+
protected void |
+_skipBytes(int len) |
+
protected void |
+_skipVInt() |
+
protected void |
+_skipVIntSlow() |
+
protected int |
+_slow32() |
+
protected long |
+_slow64() |
+
boolean |
+canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
void |
+close() |
+
protected void |
+convertNumberToBigDecimal() |
+
protected void |
+convertNumberToBigInteger() |
+
protected void |
+convertNumberToDouble() |
+
protected void |
+convertNumberToFloat() |
+
protected void |
+convertNumberToInt() |
+
protected void |
+convertNumberToLong() |
+
BigInteger |
+getBigIntegerValue() |
+
byte[] |
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) |
+
com.fasterxml.jackson.core.ObjectCodec |
+getCodec() |
+
com.fasterxml.jackson.core.JsonLocation |
+getCurrentLocation()
+Overridden since we do not really have character-based locations,
+ but we do have byte offset to specify.
+ |
+
String |
+getCurrentName()
+Method that can be called to get the name associated with
+ the current event.
+ |
+
BigDecimal |
+getDecimalValue() |
+
double |
+getDoubleValue() |
+
Object |
+getEmbeddedObject() |
+
float |
+getFloatValue() |
+
Object |
+getInputSource() |
+
int |
+getIntValue() |
+
long |
+getLongValue() |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+getNumberType() |
+
Number |
+getNumberValue() |
+
Number |
+getNumberValueExact() |
+
ProtobufReadContext |
+getParsingContext() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> |
+getReadCapabilities() |
+
ProtobufSchema |
+getSchema() |
+
String |
+getText()
+Method for accessing textual representation of the current event;
+ if no current event (before first call to
+nextToken(), or
+ after encountering end-of-input), returns null. |
+
int |
+getText(Writer writer) |
+
char[] |
+getTextCharacters() |
+
int |
+getTextLength() |
+
int |
+getTextOffset() |
+
com.fasterxml.jackson.core.JsonLocation |
+getTokenLocation()
+Overridden since we do not really have character-based locations,
+ but we do have byte offset to specify.
+ |
+
String |
+getValueAsString() |
+
String |
+getValueAsString(String defaultValue) |
+
boolean |
+hasTextCharacters() |
+
boolean |
+isClosed() |
+
boolean |
+isNaN() |
+
protected boolean |
+loadMore() |
+
protected void |
+loadMoreGuaranteed() |
+
String |
+nextFieldName() |
+
boolean |
+nextFieldName(com.fasterxml.jackson.core.SerializableString sstr) |
+
String |
+nextTextValue() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
void |
+overrideCurrentName(String name) |
+
int |
+readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
+ OutputStream out) |
+
int |
+releaseBuffered(OutputStream out) |
+
void |
+setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
+
void |
+setSchema(com.fasterxml.jackson.core.FormatSchema schema) |
+
void |
+setSchema(ProtobufSchema schema) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canReadTypeId, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getFormatFeatures, getNonBlockingInputFeeder, getObjectId, getShortValue, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextIntValue, nextLongValue, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnErrorprotected com.fasterxml.jackson.core.ObjectCodec _objectCodec+
protected ProtobufSchema _schema+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected boolean _closed+
close()) or when end-of-input is reached.protected int _inputPtr+
protected int _inputEnd+
protected long _currInputProcessed+
protected long _tokenInputTotal+
protected int _tokenInputRow+
protected int _tokenInputCol+
protected ProtobufReadContext _parsingContext+
protected final com.fasterxml.jackson.core.util.TextBuffer _textBuffer+
protected char[] _nameCopyBuffer+
getTextCharacters() method (instead of String
+ returning alternatives)protected boolean _nameCopied+
protected com.fasterxml.jackson.core.util.ByteArrayBuilder _byteArrayBuilder+
protected byte[] _binaryValue+
getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once.protected InputStream _inputStream+
protected byte[] _inputBuffer+
protected boolean _bufferRecyclable+
+ If it is not, it also means that parser can NOT modify underlying + buffer.
protected ProtobufMessage _currentMessage+
protected ProtobufField _currentField+
protected boolean _tokenIncomplete+
protected int _state+
protected int _nextTag+
protected int _decodedLength+
protected int _currentEndOffset+
protected int _numTypesValid+
protected int _numberInt+
protected float _numberFloat+
protected long _numberLong+
protected double _numberDouble+
protected BigInteger _numberBigInt+
protected BigDecimal _numberBigDecimal+
public ProtobufParser(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + InputStream in, + byte[] inputBuffer, + int start, + int end, + boolean bufferRecyclable)+
public void setSchema(ProtobufSchema schema)+
public com.fasterxml.jackson.core.ObjectCodec getCodec()+
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)+
setCodec in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> getReadCapabilities()+
getReadCapabilities in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonParserpublic int releaseBuffered(OutputStream out) + throws IOException+
releaseBuffered in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Object getInputSource()+
getInputSource in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonLocation getTokenLocation()+
getTokenLocation in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.JsonLocation getCurrentLocation()+
getCurrentLocation in class com.fasterxml.jackson.core.JsonParserpublic String getCurrentName() + throws IOException+
getCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic void overrideCurrentName(String name)+
overrideCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic boolean isClosed()+
isClosed in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic ProtobufReadContext getParsingContext()+
getParsingContext in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)+
canUseSchema in class com.fasterxml.jackson.core.JsonParserpublic ProtobufSchema getSchema()+
getSchema in class com.fasterxml.jackson.core.JsonParserpublic void setSchema(com.fasterxml.jackson.core.FormatSchema schema)+
setSchema in class com.fasterxml.jackson.core.JsonParserpublic boolean hasTextCharacters()+
hasTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseprotected void _releaseBuffers() + throws IOException+
IOExceptionpublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic boolean nextFieldName(com.fasterxml.jackson.core.SerializableString sstr) + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String nextFieldName() + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String nextTextValue() + throws IOException+
nextTextValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String getText() + throws IOException+
nextToken(), or
+ after encountering end-of-input), returns null.
+ Method can be called for any event.getText in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic char[] getTextCharacters() + throws IOException+
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextLength() + throws IOException+
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextOffset() + throws IOException+
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getValueAsString() + throws IOException+
getValueAsString in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getValueAsString(String defaultValue) + throws IOException+
getValueAsString in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getText(Writer writer) + throws IOException+
getText in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) + throws IOException+
getBinaryValue in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic Object getEmbeddedObject() + throws IOException+
getEmbeddedObject in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant, + OutputStream out) + throws IOException+
readBinaryValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic boolean isNaN()+
isNaN in class com.fasterxml.jackson.core.JsonParserpublic Number getNumberValue() + throws IOException+
getNumberValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final Number getNumberValueExact() + throws IOException+
getNumberValueExact in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() + throws IOException+
getNumberType in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int getIntValue() + throws IOException+
getIntValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic long getLongValue() + throws IOException+
getLongValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic BigInteger getBigIntegerValue() + throws IOException+
getBigIntegerValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic float getFloatValue() + throws IOException+
getFloatValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic double getDoubleValue() + throws IOException+
getDoubleValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic BigDecimal getDecimalValue() + throws IOException+
getDecimalValue in class com.fasterxml.jackson.core.JsonParserIOExceptionprotected void _checkNumericValue(int expType) + throws IOException+
IOExceptionprotected void convertNumberToInt() + throws IOException+
IOExceptionprotected void convertNumberToLong() + throws IOException+
IOExceptionprotected void convertNumberToBigInteger() + throws IOException+
IOExceptionprotected void convertNumberToFloat() + throws IOException+
IOExceptionprotected void convertNumberToDouble() + throws IOException+
IOExceptionprotected void convertNumberToBigDecimal() + throws IOException+
IOExceptionprotected void _finishToken() + throws IOException+
IOExceptionprotected byte[] _finishBytes(int len) + throws IOException+
IOExceptionprotected final boolean loadMore() + throws IOException+
IOExceptionprotected final void loadMoreGuaranteed() + throws IOException+
IOExceptionprotected final void _loadToHaveAtLeast(int minAvailable) + throws IOException+
IOExceptionprotected com.fasterxml.jackson.core.util.ByteArrayBuilder _getByteArrayBuilder()+
protected void _closeInput() + throws IOException+
IOExceptionprotected void _handleEOF() + throws com.fasterxml.jackson.core.JsonParseException+
_handleEOF in class com.fasterxml.jackson.core.base.ParserMinimalBasecom.fasterxml.jackson.core.JsonParseExceptionprotected void _skipBytes(int len) + throws IOException+
IOExceptionprotected void _skipVInt() + throws IOException+
IOExceptionprotected void _skipVIntSlow() + throws IOException+
IOExceptionprotected int _decodeVIntSlow() + throws IOException+
IOExceptionprotected long _decodeVLongSlow() + throws IOException+
IOExceptionprotected final int _decode32Bits() + throws IOException+
IOExceptionprotected final int _slow32() + throws IOException+
IOExceptionprotected final long _decode64Bits() + throws IOException+
IOExceptionprotected final long _slow64() + throws IOException+
IOExceptionprotected static final long _long(int i1, + int i2)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufReadContext.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufReadContext.html new file mode 100644 index 000000000..5e87b407e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufReadContext.html @@ -0,0 +1,689 @@ + + + + + + +public final class ProtobufReadContext
+extends com.fasterxml.jackson.core.JsonStreamContext
+JsonReadContext
+ to support features needed to decode nested Protobuf messages.| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufReadContext |
+_child |
+
protected String |
+_currentName |
+
protected Object |
+_currentValue |
+
protected int |
+_endOffset
+Offset within input buffer where the message represented
+ by this context (if message context) ends.
+ |
+
protected ProtobufField |
+_field
+For array contexts: field that defines type of array values.
+ |
+
protected ProtobufMessage |
+_messageType
+Type of current context.
+ |
+
protected ProtobufReadContext |
+_parent
+Parent context for this context; null for root context.
+ |
+
_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Constructor and Description | +
|---|
ProtobufReadContext(ProtobufReadContext parent,
+ ProtobufMessage messageType,
+ int type,
+ int endOffset) |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+adjustEnd(int bytesConsumed)
+Method called when loading more input, or moving existing data;
+ this requires adjusting relative end offset as well, except for
+ root context.
+ |
+
ProtobufReadContext |
+createChildArrayContext(ProtobufField f) |
+
ProtobufReadContext |
+createChildArrayContext(ProtobufField f,
+ int endOffset) |
+
ProtobufReadContext |
+createChildObjectContext(ProtobufMessage messageType,
+ ProtobufField f,
+ int endOffset) |
+
static ProtobufReadContext |
+createRootContext() |
+
String |
+getCurrentName() |
+
Object |
+getCurrentValue() |
+
int |
+getEndOffset() |
+
ProtobufField |
+getField() |
+
ProtobufMessage |
+getMessageType() |
+
ProtobufReadContext |
+getParent() |
+
protected void |
+reset(ProtobufMessage messageType,
+ int type,
+ int endOffset) |
+
void |
+setCurrentName(String name) |
+
void |
+setCurrentValue(Object v) |
+
void |
+setMessageType(ProtobufMessage mt) |
+
com.fasterxml.jackson.core.JsonLocation |
+startLocation(com.fasterxml.jackson.core.io.ContentReference srcRef,
+ long byteOffset) |
+
String |
+toString()
+Overridden to provide developer readable "JsonPath" representation
+ of the context.
+ |
+
getCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final ProtobufReadContext _parent+
protected ProtobufMessage _messageType+
protected ProtobufField _field+
protected String _currentName+
protected Object _currentValue+
protected int _endOffset+
protected ProtobufReadContext _child+
public ProtobufReadContext(ProtobufReadContext parent, + ProtobufMessage messageType, + int type, + int endOffset)+
protected void reset(ProtobufMessage messageType, + int type, + int endOffset)+
public Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic static ProtobufReadContext createRootContext()+
public ProtobufReadContext createChildArrayContext(ProtobufField f)+
public ProtobufReadContext createChildArrayContext(ProtobufField f, + int endOffset)+
public ProtobufReadContext createChildObjectContext(ProtobufMessage messageType, + ProtobufField f, + int endOffset)+
public String getCurrentName()+
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic ProtobufReadContext getParent()+
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic int adjustEnd(int bytesConsumed)+
public int getEndOffset()+
public ProtobufMessage getMessageType()+
public ProtobufField getField()+
public void setMessageType(ProtobufMessage mt)+
public com.fasterxml.jackson.core.JsonLocation startLocation(com.fasterxml.jackson.core.io.ContentReference srcRef, + long byteOffset)+
public void setCurrentName(String name)+
public String toString()+
toString in class com.fasterxml.jackson.core.JsonStreamContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufUtil.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufUtil.html new file mode 100644 index 000000000..b2da46edb --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufUtil.html @@ -0,0 +1,431 @@ + + + + + + +public class ProtobufUtil +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
static int |
+SECONDARY_BUFFER_LENGTH |
+
static int[] |
+sUtf8UnitLengths |
+
| Constructor and Description | +
|---|
ProtobufUtil() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static byte[] |
+allocSecondary(byte[] curr)
+While we could get all fancy on allocating secondary buffer (after
+ initial one), let's start with very simple strategy of medium-length
+ buffer.
+ |
+
static int |
+appendLengthLength(int len,
+ byte[] buffer,
+ int ptr)
+NOTE: caller MUST ensure buffer has room for at least 5 bytes
+ |
+
static byte[] |
+lengthAsBytes(int len) |
+
static int |
+lengthLength(int len) |
+
static int |
+zigzagDecode(int encoded) |
+
static long |
+zigzagDecode(long encoded) |
+
static int |
+zigzagEncode(int input) |
+
static long |
+zigzagEncode(long input) |
+
public static final int SECONDARY_BUFFER_LENGTH+
public static final int[] sUtf8UnitLengths+
public static byte[] allocSecondary(byte[] curr)+
public static int lengthLength(int len)+
public static int appendLengthLength(int len, + byte[] buffer, + int ptr)+
public static byte[] lengthAsBytes(int len)+
public static int zigzagEncode(int input)+
public static int zigzagDecode(int encoded)+
public static long zigzagEncode(long input)+
public static long zigzagDecode(long encoded)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufWriteContext.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufWriteContext.html new file mode 100644 index 000000000..5cee29841 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/ProtobufWriteContext.html @@ -0,0 +1,601 @@ + + + + + + +public class ProtobufWriteContext
+extends com.fasterxml.jackson.core.JsonStreamContext
+| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufWriteContext |
+_child |
+
protected Object |
+_currentValue |
+
protected ProtobufField |
+_field
+Field within either current object (for Object context); or, parent
+ field (for Array)
+ |
+
protected ProtobufMessage |
+_message
+Definition of the closest Object that this context relates to;
+ either object for the field (for Message/Object types), or its
+ parent (for Array types)
+ |
+
protected ProtobufWriteContext |
+_parent |
+
_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+ProtobufWriteContext(int type,
+ ProtobufWriteContext parent,
+ ProtobufMessage msg) |
+
| Modifier and Type | +Method and Description | +
|---|---|
StringBuilder |
+appendDesc(StringBuilder sb) |
+
ProtobufWriteContext |
+createChildArrayContext() |
+
ProtobufWriteContext |
+createChildObjectContext(ProtobufMessage type) |
+
static ProtobufWriteContext |
+createNullContext()
+Factory method called to get a placeholder context that is only
+ in place until actual schema is handed.
+ |
+
static ProtobufWriteContext |
+createRootContext(ProtobufMessage msg) |
+
String |
+getCurrentName() |
+
Object |
+getCurrentValue() |
+
ProtobufField |
+getField() |
+
ProtobufMessage |
+getMessageType() |
+
ProtobufWriteContext |
+getParent() |
+
boolean |
+notArray() |
+
void |
+setCurrentValue(Object v) |
+
void |
+setField(ProtobufField f) |
+
String |
+toString()
+Overridden to provide developer JsonPointer representation
+ of the context.
+ |
+
getCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDescprotected final ProtobufWriteContext _parent+
protected ProtobufMessage _message+
protected ProtobufField _field+
protected Object _currentValue+
protected ProtobufWriteContext _child+
protected ProtobufWriteContext(int type, + ProtobufWriteContext parent, + ProtobufMessage msg)+
public static ProtobufWriteContext createRootContext(ProtobufMessage msg)+
public static ProtobufWriteContext createNullContext()+
public ProtobufWriteContext createChildArrayContext()+
public ProtobufWriteContext createChildObjectContext(ProtobufMessage type)+
public final ProtobufWriteContext getParent()+
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic String getCurrentName()+
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setField(ProtobufField f)+
public ProtobufField getField()+
public ProtobufMessage getMessageType()+
public boolean notArray()+
public StringBuilder appendDesc(StringBuilder sb)+
public final String toString()+
toString in class com.fasterxml.jackson.core.JsonStreamContextCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ByteAccumulator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ByteAccumulator.html new file mode 100644 index 000000000..3020aafa4 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ByteAccumulator.html @@ -0,0 +1,208 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected ByteAccumulator |
+ProtobufGenerator._buffered
+Object used in cases where we need to buffer content to calculate length-prefix.
+ |
+
protected ByteAccumulator |
+ByteAccumulator._parent |
+
| Modifier and Type | +Method and Description | +
|---|---|
ByteAccumulator |
+ByteAccumulator.finish(OutputStream out,
+ byte[] input) |
+
ByteAccumulator |
+ByteAccumulator.finish(OutputStream out,
+ byte[] input,
+ int offset,
+ int len) |
+
| Constructor and Description | +
|---|
ByteAccumulator(ByteAccumulator p,
+ int typedTag,
+ byte[] prefixBuffer,
+ int prefixOffset,
+ int parentStart) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/PackageVersion.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/PackageVersion.html new file mode 100644 index 000000000..d8e5197a1 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/PackageVersion.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufFactory.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufFactory.html new file mode 100644 index 000000000..b1195c249 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufFactory.html @@ -0,0 +1,205 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufFactory |
+ProtobufFactoryBuilder.build() |
+
ProtobufFactory |
+ProtobufFactory.copy() |
+
ProtobufFactory |
+ProtobufMapper.getFactory() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ProtobufMapper.Builder |
+ProtobufMapper.builder(ProtobufFactory streamFactory) |
+
| Constructor and Description | +
|---|
ProtobufFactory(ProtobufFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc) |
+
ProtobufFactoryBuilder(ProtobufFactory base) |
+
ProtobufMapper(ProtobufFactory f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufFactoryBuilder.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufFactoryBuilder.html new file mode 100644 index 000000000..7fea8963e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufFactoryBuilder.html @@ -0,0 +1,186 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static ProtobufFactoryBuilder |
+ProtobufFactory.builder()
+Main factory method to use for constructing
+ProtobufFactory instances with
+ different configuration. |
+
ProtobufFactoryBuilder |
+ProtobufFactory.rebuild() |
+
| Constructor and Description | +
|---|
ProtobufFactory(ProtobufFactoryBuilder b)
+Constructors used by
+ProtobufFactoryBuilder for instantiation. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufGenerator.html new file mode 100644 index 000000000..af3b20b9c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufGenerator.html @@ -0,0 +1,195 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
protected ProtobufGenerator |
+ProtobufFactory._createGenerator(Writer out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected ProtobufGenerator |
+ProtobufFactory._createUTF8Generator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
ProtobufGenerator |
+ProtobufFactory.createGenerator(OutputStream out)
+Method for constructing
+JsonGenerator for generating
+ protobuf-encoded output. |
+
ProtobufGenerator |
+ProtobufFactory.createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc) |
+
ProtobufGenerator |
+ProtobufGenerator.setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp) |
+
ProtobufGenerator |
+ProtobufGenerator.useDefaultPrettyPrinter()
+Not sure whether to throw an exception or just do no-op; for now,
+ latter.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufMapper.Builder.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufMapper.Builder.html new file mode 100644 index 000000000..9492e57e4 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufMapper.Builder.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static ProtobufMapper.Builder |
+ProtobufMapper.builder() |
+
static ProtobufMapper.Builder |
+ProtobufMapper.builder(ProtobufFactory streamFactory) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufMapper.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufMapper.html new file mode 100644 index 000000000..67870101c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufMapper.html @@ -0,0 +1,205 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufMapper |
+ProtobufMapper.copy() |
+
| Constructor and Description | +
|---|
Builder(ProtobufMapper m) |
+
ProtobufMapper(ProtobufMapper src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static DescriptorLoader |
+DescriptorLoader.construct(ProtobufMapper mapper) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufParser.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufParser.html new file mode 100644 index 000000000..b0e50153c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufParser.html @@ -0,0 +1,196 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
protected ProtobufParser |
+ProtobufFactory._createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected ProtobufParser |
+ProtobufFactory._createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
ProtobufParser |
+ProtobufFactory.createParser(byte[] data) |
+
ProtobufParser |
+ProtobufFactory.createParser(byte[] data,
+ int offset,
+ int len) |
+
ProtobufParser |
+ProtobufFactory.createParser(File f) |
+
ProtobufParser |
+ProtobufFactory.createParser(InputStream in) |
+
ProtobufParser |
+ProtobufFactory.createParser(URL url) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufReadContext.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufReadContext.html new file mode 100644 index 000000000..5fecdcc42 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufReadContext.html @@ -0,0 +1,229 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufReadContext |
+ProtobufReadContext._child |
+
protected ProtobufReadContext |
+ProtobufReadContext._parent
+Parent context for this context; null for root context.
+ |
+
protected ProtobufReadContext |
+ProtobufParser._parsingContext
+Information about parser context, context in which
+ the next token is to be parsed (root, array, object).
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufReadContext |
+ProtobufReadContext.createChildArrayContext(ProtobufField f) |
+
ProtobufReadContext |
+ProtobufReadContext.createChildArrayContext(ProtobufField f,
+ int endOffset) |
+
ProtobufReadContext |
+ProtobufReadContext.createChildObjectContext(ProtobufMessage messageType,
+ ProtobufField f,
+ int endOffset) |
+
static ProtobufReadContext |
+ProtobufReadContext.createRootContext() |
+
ProtobufReadContext |
+ProtobufReadContext.getParent() |
+
ProtobufReadContext |
+ProtobufParser.getParsingContext() |
+
| Constructor and Description | +
|---|
ProtobufReadContext(ProtobufReadContext parent,
+ ProtobufMessage messageType,
+ int type,
+ int endOffset) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufUtil.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufUtil.html new file mode 100644 index 000000000..7b7e9f31b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufUtil.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufWriteContext.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufWriteContext.html new file mode 100644 index 000000000..e81fde9a5 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/class-use/ProtobufWriteContext.html @@ -0,0 +1,227 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufWriteContext |
+ProtobufWriteContext._child |
+
protected ProtobufWriteContext |
+ProtobufWriteContext._parent |
+
protected ProtobufWriteContext |
+ProtobufGenerator._pbContext
+Current context, in form we can use it.
+ |
+
protected ProtobufWriteContext |
+ProtobufGenerator._rootContext
+Reference to the root context since that is needed for serialization
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufWriteContext |
+ProtobufWriteContext.createChildArrayContext() |
+
ProtobufWriteContext |
+ProtobufWriteContext.createChildObjectContext(ProtobufMessage type) |
+
static ProtobufWriteContext |
+ProtobufWriteContext.createNullContext()
+Factory method called to get a placeholder context that is only
+ in place until actual schema is handed.
+ |
+
static ProtobufWriteContext |
+ProtobufWriteContext.createRootContext(ProtobufMessage msg) |
+
ProtobufWriteContext |
+ProtobufWriteContext.getParent() |
+
| Constructor and Description | +
|---|
ProtobufWriteContext(int type,
+ ProtobufWriteContext parent,
+ ProtobufMessage msg) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-frame.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-frame.html new file mode 100644 index 000000000..c1e953b36 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-frame.html @@ -0,0 +1,31 @@ + + + + + + +| Class | +Description | +
|---|---|
| ByteAccumulator | +
+ Helper object used for buffering content for cases where we need (byte-)length prefixes
+ for content like packed arrays, embedded messages, Strings and (perhaps) binary content.
+ |
+
| PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
| ProtobufFactory | ++ |
| ProtobufFactoryBuilder | +
+TSFBuilder
+ implementation for constructing ProtobufFactory
+ instances. |
+
| ProtobufGenerator | ++ |
| ProtobufMapper | ++ |
| ProtobufMapper.Builder | +
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ Protobuf backend. |
+
| ProtobufParser | ++ |
| ProtobufReadContext | +
+ Replacement of
+JsonReadContext
+ to support features needed to decode nested Protobuf messages. |
+
| ProtobufUtil | ++ |
| ProtobufWriteContext | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-tree.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-tree.html new file mode 100644 index 000000000..0a794e723 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-tree.html @@ -0,0 +1,197 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-use.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-use.html new file mode 100644 index 000000000..e10797cd1 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/package-use.html @@ -0,0 +1,218 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Class and Description | +
|---|
| ByteAccumulator
+ Helper object used for buffering content for cases where we need (byte-)length prefixes
+ for content like packed arrays, embedded messages, Strings and (perhaps) binary content.
+ |
+
| ProtobufFactory | +
ProtobufFactoryBuilder
+TSFBuilder
+ implementation for constructing ProtobufFactory
+ instances. |
+
| ProtobufGenerator | +
| ProtobufMapper | +
| ProtobufMapper.Builder
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ Protobuf backend. |
+
| ProtobufParser | +
| ProtobufReadContext
+ Replacement of
+JsonReadContext
+ to support features needed to decode nested Protobuf messages. |
+
| ProtobufWriteContext | +
| Class and Description | +
|---|
| ProtobufMapper | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/DescriptorLoader.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/DescriptorLoader.html new file mode 100644 index 000000000..42587eca1 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/DescriptorLoader.html @@ -0,0 +1,447 @@ + + + + + + +public class DescriptorLoader +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.databind.ObjectReader |
+_reader
+Fully configured reader for
+FileDescriptorSet objects. |
+
protected static String |
+DESCRIPTOR_PROTO |
+
| Constructor and Description | +
|---|
DescriptorLoader(com.fasterxml.jackson.databind.ObjectReader reader) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static DescriptorLoader |
+construct(com.fasterxml.jackson.databind.ObjectMapper mapper,
+ ProtobufSchemaLoader schemaLoader) |
+
static DescriptorLoader |
+construct(ProtobufMapper mapper) |
+
FileDescriptorSet |
+load(File src) |
+
FileDescriptorSet |
+load(InputStream in)
+Note: passed
+InputStream will be closed by this method. |
+
FileDescriptorSet |
+load(Reader r)
+Note: passed
+Reader will be closed by this method. |
+
FileDescriptorSet |
+load(URL src) |
+
protected static final String DESCRIPTOR_PROTO+
protected final com.fasterxml.jackson.databind.ObjectReader _reader+
FileDescriptorSet objects.public DescriptorLoader(com.fasterxml.jackson.databind.ObjectReader reader)+
reader - ObjectReader that is able to read protobuf input
+ (that is, must have been created from ProtobufMapper, or regular
+ mapper with ProtobufFactory),
+ and has been configured with `protoc` definition of `descriptor.proro`public static DescriptorLoader construct(ProtobufMapper mapper) + throws IOException+
IOExceptionpublic static DescriptorLoader construct(com.fasterxml.jackson.databind.ObjectMapper mapper, + ProtobufSchemaLoader schemaLoader) + throws IOException+
mapper - ObjectMapper that can reader protoc content.IOExceptionpublic FileDescriptorSet load(URL src) + throws IOException+
IOExceptionpublic FileDescriptorSet load(File src) + throws IOException+
IOExceptionpublic FileDescriptorSet load(InputStream in) + throws IOException+
InputStream will be closed by this method.IOExceptionpublic FileDescriptorSet load(Reader r) + throws IOException+
Reader will be closed by this method.IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/EnumLookup.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/EnumLookup.html new file mode 100644 index 000000000..392cadff2 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/EnumLookup.html @@ -0,0 +1,341 @@ + + + + + + +public abstract class EnumLookup +extends Object+
| Constructor and Description | +
|---|
EnumLookup() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static EnumLookup |
+construct(ProtobufEnum enumDef) |
+
static EnumLookup |
+empty() |
+
abstract String |
+findEnumByIndex(int index) |
+
abstract int |
+findEnumIndex(com.fasterxml.jackson.core.SerializableString key) |
+
abstract int |
+findEnumIndex(String key) |
+
abstract Collection<String> |
+getEnumValues() |
+
public static EnumLookup empty()+
public static EnumLookup construct(ProtobufEnum enumDef)+
public abstract String findEnumByIndex(int index)+
public abstract int findEnumIndex(com.fasterxml.jackson.core.SerializableString key)+
public abstract int findEnumIndex(String key)+
public abstract Collection<String> getEnumValues()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldLookup.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldLookup.html new file mode 100644 index 000000000..fe6ae5caa --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldLookup.html @@ -0,0 +1,302 @@ + + + + + + +public abstract class FieldLookup +extends Object+
ProtobufField instances
+ need to be looked up by name. Basically a more specialized Map
+ implementation.| Constructor and Description | +
|---|
FieldLookup() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static FieldLookup |
+construct(ProtobufField[] fields) |
+
static FieldLookup |
+empty() |
+
abstract ProtobufField |
+findField(String key) |
+
public static FieldLookup empty()+
public static FieldLookup construct(ProtobufField[] fields)+
public abstract ProtobufField findField(String key)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldType.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldType.html new file mode 100644 index 000000000..4eea350da --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldType.html @@ -0,0 +1,516 @@ + + + + + + +public enum FieldType +extends Enum<FieldType>+
| Enum Constant and Description | +
|---|
BOOLEAN |
+
BYTES |
+
DOUBLE |
+
ENUM |
+
FIXINT32 |
+
FIXINT64 |
+
FLOAT |
+
MESSAGE |
+
STRING |
+
VINT32_STD |
+
VINT32_Z |
+
VINT64_STD |
+
VINT64_Z |
+
| Modifier and Type | +Method and Description | +
|---|---|
Iterable<com.squareup.protoparser.DataType.ScalarType> |
+aliases() |
+
int |
+getWireType() |
+
boolean |
+usesZigZag() |
+
static FieldType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FieldType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final FieldType DOUBLE+
public static final FieldType FLOAT+
public static final FieldType VINT32_Z+
public static final FieldType VINT64_Z+
public static final FieldType VINT32_STD+
public static final FieldType VINT64_STD+
public static final FieldType FIXINT32+
public static final FieldType FIXINT64+
public static final FieldType BOOLEAN+
public static final FieldType STRING+
public static final FieldType BYTES+
public static final FieldType ENUM+
public static final FieldType MESSAGE+
public static FieldType[] values()+
+for (FieldType c : FieldType.values()) + System.out.println(c); +
public static FieldType valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getWireType()+
public boolean usesZigZag()+
public Iterable<com.squareup.protoparser.DataType.ScalarType> aliases()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldTypes.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldTypes.html new file mode 100644 index 000000000..6fb0416e3 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FieldTypes.html @@ -0,0 +1,239 @@ + + + + + + +public class FieldTypes +extends Object+
| Modifier and Type | +Method and Description | +
|---|---|
static FieldType |
+findType(com.squareup.protoparser.DataType rawType) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.DescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.DescriptorProto.html new file mode 100644 index 000000000..1ded1d0d8 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.DescriptorProto.html @@ -0,0 +1,430 @@ + + + + + + +public static class FileDescriptorSet.DescriptorProto +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.EnumDescriptorProto[] |
+enum_type |
+
FileDescriptorSet.FieldDescriptorProto[] |
+extension |
+
com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.DescriptorProto.ExtensionRange[] |
+extension_range |
+
FileDescriptorSet.FieldDescriptorProto[] |
+field |
+
String |
+name |
+
FileDescriptorSet.DescriptorProto[] |
+nested_type |
+
FileDescriptorSet.OneofDescriptorProto[] |
+oneof_decl |
+
FileDescriptorSet.MessageOptions |
+options |
+
String[] |
+reserved_name |
+
com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.DescriptorProto.ReservedRange[] |
+reserved_range |
+
| Constructor and Description | +
|---|
DescriptorProto() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.squareup.protoparser.MessageElement |
+buildMessageElement() |
+
public String name+
public FileDescriptorSet.FieldDescriptorProto[] field+
public FileDescriptorSet.FieldDescriptorProto[] extension+
public FileDescriptorSet.DescriptorProto[] nested_type+
public FileDescriptorSet.EnumDescriptorProto[] enum_type+
public com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.DescriptorProto.ExtensionRange[] extension_range+
public FileDescriptorSet.OneofDescriptorProto[] oneof_decl+
public FileDescriptorSet.MessageOptions options+
public com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.DescriptorProto.ReservedRange[] reserved_range+
public String[] reserved_name+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumDescriptorProto.html new file mode 100644 index 000000000..ea19ab1d4 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumDescriptorProto.html @@ -0,0 +1,305 @@ + + + + + + +public static class FileDescriptorSet.EnumDescriptorProto +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
String |
+name |
+
FileDescriptorSet.EnumOptions |
+options |
+
FileDescriptorSet.EnumValueDescriptorProto[] |
+value |
+
| Constructor and Description | +
|---|
EnumDescriptorProto() |
+
public String name+
public FileDescriptorSet.EnumValueDescriptorProto[] value+
public FileDescriptorSet.EnumOptions options+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumOptions.html new file mode 100644 index 000000000..907e78641 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumOptions.html @@ -0,0 +1,305 @@ + + + + + + +public static class FileDescriptorSet.EnumOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+allow_alias |
+
boolean |
+deprecated |
+
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
| Constructor and Description | +
|---|
EnumOptions() |
+
public boolean allow_alias+
public boolean deprecated+
public FileDescriptorSet.UninterpretedOption[] uninterpreted_option+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumValueDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumValueDescriptorProto.html new file mode 100644 index 000000000..22a6aa4fc --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumValueDescriptorProto.html @@ -0,0 +1,305 @@ + + + + + + +public static class FileDescriptorSet.EnumValueDescriptorProto +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
String |
+name |
+
int |
+number |
+
FileDescriptorSet.EnumValueOptions |
+options |
+
| Constructor and Description | +
|---|
EnumValueDescriptorProto() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumValueOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumValueOptions.html new file mode 100644 index 000000000..fd8b492cf --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.EnumValueOptions.html @@ -0,0 +1,292 @@ + + + + + + +public static class FileDescriptorSet.EnumValueOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+deprecated |
+
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
| Constructor and Description | +
|---|
EnumValueOptions() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.Label.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.Label.html new file mode 100644 index 000000000..3bf256c63 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.Label.html @@ -0,0 +1,359 @@ + + + + + + +public static enum FileDescriptorSet.FieldDescriptorProto.Label +extends Enum<FileDescriptorSet.FieldDescriptorProto.Label>+
| Enum Constant and Description | +
|---|
LABEL_OPTIONAL |
+
LABEL_REPEATED |
+
LABEL_REQUIRED |
+
| Modifier and Type | +Method and Description | +
|---|---|
static FileDescriptorSet.FieldDescriptorProto.Label |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FileDescriptorSet.FieldDescriptorProto.Label[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final FileDescriptorSet.FieldDescriptorProto.Label LABEL_OPTIONAL+
public static final FileDescriptorSet.FieldDescriptorProto.Label LABEL_REQUIRED+
public static final FileDescriptorSet.FieldDescriptorProto.Label LABEL_REPEATED+
public static FileDescriptorSet.FieldDescriptorProto.Label[] values()+
+for (FileDescriptorSet.FieldDescriptorProto.Label c : FileDescriptorSet.FieldDescriptorProto.Label.values()) + System.out.println(c); +
public static FileDescriptorSet.FieldDescriptorProto.Label valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.Type.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.Type.html new file mode 100644 index 000000000..406a71974 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.Type.html @@ -0,0 +1,539 @@ + + + + + + +public static enum FileDescriptorSet.FieldDescriptorProto.Type +extends Enum<FileDescriptorSet.FieldDescriptorProto.Type>+
| Enum Constant and Description | +
|---|
TYPE_BOOL |
+
TYPE_BYTES |
+
TYPE_DOUBLE |
+
TYPE_ENUM |
+
TYPE_FIXED32 |
+
TYPE_FIXED64 |
+
TYPE_FLOAT |
+
TYPE_GROUP |
+
TYPE_INT32 |
+
TYPE_INT64 |
+
TYPE_MESSAGE |
+
TYPE_SFIXED32 |
+
TYPE_SFIXED64 |
+
TYPE_SINT32 |
+
TYPE_SINT64 |
+
TYPE_STRING |
+
TYPE_UINT32 |
+
TYPE_UINT64 |
+
| Modifier and Type | +Method and Description | +
|---|---|
static FileDescriptorSet.FieldDescriptorProto.Type |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FileDescriptorSet.FieldDescriptorProto.Type[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_DOUBLE+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_FLOAT+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_INT64+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_UINT64+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_INT32+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_FIXED64+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_FIXED32+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_BOOL+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_STRING+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_GROUP+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_MESSAGE+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_BYTES+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_UINT32+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_ENUM+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_SFIXED32+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_SFIXED64+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_SINT32+
public static final FileDescriptorSet.FieldDescriptorProto.Type TYPE_SINT64+
public static FileDescriptorSet.FieldDescriptorProto.Type[] values()+
+for (FileDescriptorSet.FieldDescriptorProto.Type c : FileDescriptorSet.FieldDescriptorProto.Type.values()) + System.out.println(c); +
public static FileDescriptorSet.FieldDescriptorProto.Type valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.html new file mode 100644 index 000000000..93c08e117 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldDescriptorProto.html @@ -0,0 +1,466 @@ + + + + + + +public static class FileDescriptorSet.FieldDescriptorProto +extends Object+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+FileDescriptorSet.FieldDescriptorProto.Label |
+
static class |
+FileDescriptorSet.FieldDescriptorProto.Type |
+
| Modifier and Type | +Field and Description | +
|---|---|
String |
+default_value |
+
String |
+extendee |
+
String |
+json_name |
+
FileDescriptorSet.FieldDescriptorProto.Label |
+label |
+
String |
+name |
+
int |
+number |
+
int |
+oneof_index |
+
FileDescriptorSet.FieldOptions |
+options |
+
FileDescriptorSet.FieldDescriptorProto.Type |
+type |
+
String |
+type_name |
+
| Constructor and Description | +
|---|
FieldDescriptorProto() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.squareup.protoparser.DataType |
+getDataType() |
+
com.squareup.protoparser.FieldElement.Label |
+getLabel() |
+
public String name+
public int number+
public FileDescriptorSet.FieldDescriptorProto.Label label+
public FileDescriptorSet.FieldDescriptorProto.Type type+
public String type_name+
public String extendee+
public String default_value+
public int oneof_index+
public String json_name+
public FileDescriptorSet.FieldOptions options+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldOptions.html new file mode 100644 index 000000000..7f464fb1c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FieldOptions.html @@ -0,0 +1,357 @@ + + + + + + +public static class FileDescriptorSet.FieldOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.FieldOptions.CType |
+ctype |
+
boolean |
+deprecated |
+
com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.FieldOptions.JSType |
+jstype |
+
boolean |
+lazy |
+
boolean |
+packed |
+
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
boolean |
+weak |
+
| Constructor and Description | +
|---|
FieldOptions() |
+
public com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.FieldOptions.CType ctype+
public boolean packed+
public com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.FieldOptions.JSType jstype+
public boolean lazy+
public boolean deprecated+
public boolean weak+
public FileDescriptorSet.UninterpretedOption[] uninterpreted_option+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FileDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FileDescriptorProto.html new file mode 100644 index 000000000..81b503ed5 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FileDescriptorProto.html @@ -0,0 +1,482 @@ + + + + + + +public static class FileDescriptorSet.FileDescriptorProto +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected String |
+_package |
+
String[] |
+dependency |
+
FileDescriptorSet.EnumDescriptorProto[] |
+enum_type |
+
FileDescriptorSet.FieldDescriptorProto[] |
+extension |
+
FileDescriptorSet.DescriptorProto[] |
+message_type |
+
String |
+name |
+
FileDescriptorSet.FileOptions |
+options |
+
int[] |
+public_dependency |
+
FileDescriptorSet.ServiceDescriptorProto[] |
+service |
+
FileDescriptorSet.SourceCodeInfo |
+source_code_info |
+
String |
+syntax |
+
int[] |
+weak_dependency |
+
| Constructor and Description | +
|---|
FileDescriptorProto() |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getPackage() |
+
com.squareup.protoparser.ProtoFile.Syntax |
+getSyntax() |
+
void |
+setPackage(String p) |
+
public String name+
protected String _package+
public String[] dependency+
public int[] public_dependency+
public int[] weak_dependency+
public FileDescriptorSet.DescriptorProto[] message_type+
public FileDescriptorSet.EnumDescriptorProto[] enum_type+
public FileDescriptorSet.ServiceDescriptorProto[] service+
public FileDescriptorSet.FieldDescriptorProto[] extension+
public FileDescriptorSet.FileOptions options+
public FileDescriptorSet.SourceCodeInfo source_code_info+
public String syntax+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FileOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FileOptions.html new file mode 100644 index 000000000..53aebd38e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.FileOptions.html @@ -0,0 +1,487 @@ + + + + + + +public static class FileDescriptorSet.FileOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+cc_enable_arenas |
+
boolean |
+cc_generic_services |
+
String |
+csharp_namespace |
+
boolean |
+deprecated |
+
String |
+go_package |
+
boolean |
+java_generate_equals_and_hash |
+
boolean |
+java_generic_services |
+
boolean |
+java_multiple_files |
+
String |
+java_outer_classname |
+
String |
+java_package |
+
boolean |
+java_String_check_utf8 |
+
String |
+objc_class_prefix |
+
com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.FileOptions.OptimizeMode |
+optimize_for |
+
String |
+php_class_prefix |
+
boolean |
+py_generic_services |
+
String |
+swift_prefix |
+
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
| Constructor and Description | +
|---|
FileOptions() |
+
public String java_package+
public String java_outer_classname+
public boolean java_multiple_files+
public boolean java_generate_equals_and_hash+
public boolean java_String_check_utf8+
public com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.FileOptions.OptimizeMode optimize_for+
public String go_package+
public boolean cc_generic_services+
public boolean java_generic_services+
public boolean py_generic_services+
public boolean deprecated+
public boolean cc_enable_arenas+
public String objc_class_prefix+
public String csharp_namespace+
public String swift_prefix+
public String php_class_prefix+
public FileDescriptorSet.UninterpretedOption[] uninterpreted_option+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MessageOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MessageOptions.html new file mode 100644 index 000000000..234bf7792 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MessageOptions.html @@ -0,0 +1,331 @@ + + + + + + +public static class FileDescriptorSet.MessageOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+deprecated |
+
boolean |
+map_entry |
+
boolean |
+message_set_wire_format |
+
boolean |
+no_standard_descriptor_accessor |
+
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
| Constructor and Description | +
|---|
MessageOptions() |
+
public boolean message_set_wire_format+
public boolean no_standard_descriptor_accessor+
public boolean deprecated+
public boolean map_entry+
public FileDescriptorSet.UninterpretedOption[] uninterpreted_option+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MethodDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MethodDescriptorProto.html new file mode 100644 index 000000000..b4b34c86f --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MethodDescriptorProto.html @@ -0,0 +1,344 @@ + + + + + + +public static class FileDescriptorSet.MethodDescriptorProto +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+client_streaming |
+
String |
+input_type |
+
String |
+name |
+
FileDescriptorSet.MethodOptions |
+options |
+
String |
+output_type |
+
boolean |
+server_streaming |
+
| Constructor and Description | +
|---|
MethodDescriptorProto() |
+
public String name+
public String input_type+
public String output_type+
public FileDescriptorSet.MethodOptions options+
public boolean client_streaming+
public boolean server_streaming+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MethodOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MethodOptions.html new file mode 100644 index 000000000..4111dc633 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.MethodOptions.html @@ -0,0 +1,305 @@ + + + + + + +public static class FileDescriptorSet.MethodOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+deprecated |
+
com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.MethodOptions.IdempotencyLevel |
+idempotency_level |
+
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
| Constructor and Description | +
|---|
MethodOptions() |
+
public boolean deprecated+
public com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.MethodOptions.IdempotencyLevel idempotency_level+
public FileDescriptorSet.UninterpretedOption[] uninterpreted_option+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.OneofDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.OneofDescriptorProto.html new file mode 100644 index 000000000..637875ed8 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.OneofDescriptorProto.html @@ -0,0 +1,292 @@ + + + + + + +public static class FileDescriptorSet.OneofDescriptorProto +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
String |
+name |
+
FileDescriptorSet.OneofOptions |
+options |
+
| Constructor and Description | +
|---|
OneofDescriptorProto() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.OneofOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.OneofOptions.html new file mode 100644 index 000000000..3468c6719 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.OneofOptions.html @@ -0,0 +1,279 @@ + + + + + + +public static class FileDescriptorSet.OneofOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
| Constructor and Description | +
|---|
OneofOptions() |
+
public FileDescriptorSet.UninterpretedOption[] uninterpreted_option+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.ServiceDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.ServiceDescriptorProto.html new file mode 100644 index 000000000..755ef3c7b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.ServiceDescriptorProto.html @@ -0,0 +1,305 @@ + + + + + + +public static class FileDescriptorSet.ServiceDescriptorProto +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.MethodDescriptorProto[] |
+method |
+
String |
+name |
+
FileDescriptorSet.ServiceOptions |
+options |
+
| Constructor and Description | +
|---|
ServiceDescriptorProto() |
+
public String name+
public FileDescriptorSet.MethodDescriptorProto[] method+
public FileDescriptorSet.ServiceOptions options+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.ServiceOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.ServiceOptions.html new file mode 100644 index 000000000..dcae8443b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.ServiceOptions.html @@ -0,0 +1,292 @@ + + + + + + +public static class FileDescriptorSet.ServiceOptions +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+deprecated |
+
FileDescriptorSet.UninterpretedOption[] |
+uninterpreted_option |
+
| Constructor and Description | +
|---|
ServiceOptions() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.SourceCodeInfo.Location.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.SourceCodeInfo.Location.html new file mode 100644 index 000000000..76e6c3230 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.SourceCodeInfo.Location.html @@ -0,0 +1,331 @@ + + + + + + +public static class FileDescriptorSet.SourceCodeInfo.Location +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
String |
+leading_comments |
+
String[] |
+leading_detached_comments |
+
int[] |
+path |
+
int[] |
+span |
+
String |
+trailing_comments |
+
public int[] path+
public int[] span+
public String leading_comments+
public String trailing_comments+
public String[] leading_detached_comments+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.SourceCodeInfo.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.SourceCodeInfo.html new file mode 100644 index 000000000..49ec0143d --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.SourceCodeInfo.html @@ -0,0 +1,298 @@ + + + + + + +public static class FileDescriptorSet.SourceCodeInfo +extends Object+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+FileDescriptorSet.SourceCodeInfo.Location |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.SourceCodeInfo.Location[] |
+location |
+
| Constructor and Description | +
|---|
SourceCodeInfo() |
+
public FileDescriptorSet.SourceCodeInfo.Location[] location+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.UninterpretedOption.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.UninterpretedOption.html new file mode 100644 index 000000000..0094ab5af --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.UninterpretedOption.html @@ -0,0 +1,357 @@ + + + + + + +public static class FileDescriptorSet.UninterpretedOption +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
String |
+aggregate_value |
+
double |
+double_value |
+
String |
+identifier_value |
+
com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.UninterpretedOption.NamePart[] |
+name |
+
long |
+negative_int_value |
+
long |
+positive_int_value |
+
byte[] |
+string_value |
+
| Constructor and Description | +
|---|
UninterpretedOption() |
+
public com.fasterxml.jackson.dataformat.protobuf.schema.FileDescriptorSet.UninterpretedOption.NamePart[] name+
public String identifier_value+
public long positive_int_value+
public long negative_int_value+
public double double_value+
public byte[] string_value+
public String aggregate_value+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.html new file mode 100644 index 000000000..9d786a0b5 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.html @@ -0,0 +1,487 @@ + + + + + + +public class FileDescriptorSet +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected FileDescriptorSet.FileDescriptorProto[] |
+file |
+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+FileDescriptorSet() |
+
|
+FileDescriptorSet(FileDescriptorSet.FileDescriptorProto[] f) |
+
| Modifier and Type | +Method and Description | +
|---|---|
FileDescriptorSet.FileDescriptorProto |
+findDescriptor(String fileName)
+Accessor for finding low-level definition with given name,
+ if one contained.
+ |
+
FileDescriptorSet.FileDescriptorProto |
+getDescriptor(String fileName)
+Accessor for getting low-level definition with given name, contained
+ in this descriptor set.
+ |
+
FileDescriptorSet.FileDescriptorProto[] |
+getFile() |
+
ProtobufSchema |
+schemaFor(String rootTypeName) |
+
ProtobufSchema |
+schemaForFirstType() |
+
protected FileDescriptorSet.FileDescriptorProto[] file+
protected FileDescriptorSet()+
public FileDescriptorSet(FileDescriptorSet.FileDescriptorProto[] f)+
public FileDescriptorSet.FileDescriptorProto[] getFile()+
public FileDescriptorSet.FileDescriptorProto findDescriptor(String fileName)+
public FileDescriptorSet.FileDescriptorProto getDescriptor(String fileName)+
IllegalArgumentException - if no descriptor with given name foundpublic ProtobufSchema schemaForFirstType()+
public ProtobufSchema schemaFor(String rootTypeName)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/NativeProtobufSchema.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/NativeProtobufSchema.html new file mode 100644 index 000000000..535014f6e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/NativeProtobufSchema.html @@ -0,0 +1,494 @@ + + + + + + +public class NativeProtobufSchema +extends Object+
ProtobufSchema to use for
+ reading/writing protobuf encoded content| Modifier and Type | +Field and Description | +
|---|---|
protected String[] |
+_messageNames |
+
protected String |
+_name |
+
protected Collection<com.squareup.protoparser.TypeElement> |
+_nativeTypes |
+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+NativeProtobufSchema(com.squareup.protoparser.ProtoFile input) |
+
protected |
+NativeProtobufSchema(String name,
+ Collection<com.squareup.protoparser.TypeElement> types) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected com.squareup.protoparser.MessageElement |
+_firstMessageType() |
+
protected com.squareup.protoparser.MessageElement |
+_messageType(String name) |
+
static NativeProtobufSchema |
+construct(com.squareup.protoparser.ProtoFile input) |
+
static NativeProtobufSchema |
+construct(String name,
+ Collection<com.squareup.protoparser.TypeElement> types) |
+
ProtobufSchema |
+forFirstType()
+Factory method for constructing Jackson-digestible schema using the first
+ Message type defined in the underlying native protobuf schema.
+ |
+
ProtobufSchema |
+forType(String messageTypeName)
+Factory method for constructing Jackson-digestible schema using specified Message type
+ from native protobuf schema.
+ |
+
List<String> |
+getMessageNames() |
+
boolean |
+hasMessageType(String messageTypeName)
+Method for checking whether specified message type is defined by
+ the native schema
+ |
+
String |
+toString() |
+
String |
+toString(String name) |
+
protected final String _name+
protected final Collection<com.squareup.protoparser.TypeElement> _nativeTypes+
protected volatile String[] _messageNames+
protected NativeProtobufSchema(com.squareup.protoparser.ProtoFile input)+
protected NativeProtobufSchema(String name, + Collection<com.squareup.protoparser.TypeElement> types)+
public static NativeProtobufSchema construct(com.squareup.protoparser.ProtoFile input)+
public static NativeProtobufSchema construct(String name, + Collection<com.squareup.protoparser.TypeElement> types)+
public boolean hasMessageType(String messageTypeName)+
public ProtobufSchema forType(String messageTypeName)+
public ProtobufSchema forFirstType()+
protected com.squareup.protoparser.MessageElement _firstMessageType()+
protected com.squareup.protoparser.MessageElement _messageType(String name)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufEnum.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufEnum.html new file mode 100644 index 000000000..b3c5d4244 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufEnum.html @@ -0,0 +1,372 @@ + + + + + + +public class ProtobufEnum +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected String |
+_name |
+
protected boolean |
+_standardIndexing
+Flag that indicates whether mapping from enum value and id is standard or not;
+ standard means that first enum has value 0, and all following enums have value
+ one bigger than preceding one.
+ |
+
protected Map<String,Integer> |
+_valuesByName |
+
| Constructor and Description | +
|---|
ProtobufEnum(String name,
+ Map<String,Integer> valuesByName,
+ boolean standardIndexing) |
+
| Modifier and Type | +Method and Description | +
|---|---|
Integer |
+findEnum(String name) |
+
boolean |
+usesStandardIndexing() |
+
Map<String,Integer> |
+valueMapping() |
+
protected final String _name+
protected final boolean _standardIndexing+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufField.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufField.html new file mode 100644 index 000000000..f375d7406 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufField.html @@ -0,0 +1,751 @@ + + + + + + +public class ProtobufField +extends Object +implements Comparable<ProtobufField>+
| Modifier and Type | +Field and Description | +
|---|---|
boolean |
+deprecated |
+
protected EnumLookup |
+enumValues
+For fields of type
+FieldType.ENUM, mapping from names to ids. |
+
int |
+id
+Numeric tag, unshifted
+ |
+
boolean |
+isObject |
+
boolean |
+isStdEnum |
+
protected ProtobufMessage |
+messageType
+For main type of
+FieldType.MESSAGE, reference to actual
+ message type definition. |
+
String |
+name
+Name of field in protoc definition
+ |
+
ProtobufField |
+next
+Link to next field within message definition; used for efficient traversal.
+ |
+
boolean |
+packed |
+
boolean |
+repeated |
+
boolean |
+required |
+
FieldType |
+type |
+
int |
+typedTag
+Combination of numeric tag and 3-bit wire type.
+ |
+
boolean |
+usesZigZag |
+
int |
+wireType
+3-bit id used on determining details of how values are serialized.
+ |
+
| Modifier | +Constructor and Description | +
|---|---|
|
+ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ FieldType type) |
+
protected |
+ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ FieldType type,
+ ProtobufMessage msg,
+ ProtobufEnum et) |
+
|
+ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ ProtobufEnum et) |
+
|
+ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ ProtobufMessage msg) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+assignMessageType(ProtobufMessage msgType) |
+
void |
+assignNext(ProtobufField n) |
+
int |
+compareTo(ProtobufField other) |
+
String |
+findEnumByIndex(int index) |
+
int |
+findEnumIndex(com.fasterxml.jackson.core.SerializableString key) |
+
int |
+findEnumIndex(String key) |
+
Collection<String> |
+getEnumValues() |
+
ProtobufMessage |
+getMessageType() |
+
boolean |
+isArray() |
+
boolean |
+isValidFor(int typeTag) |
+
ProtobufField |
+nextIf(String nameToMatch) |
+
ProtobufField |
+nextOrThisIf(int idToMatch) |
+
String |
+toString() |
+
static ProtobufField |
+unknownField() |
+
public final int id+
public final int typedTag+
public final String name+
public final FieldType type+
public final int wireType+
public final boolean required+
public final boolean repeated+
public final boolean packed+
public final boolean deprecated+
public final boolean usesZigZag+
protected ProtobufMessage messageType+
FieldType.MESSAGE, reference to actual
+ message type definition.protected final EnumLookup enumValues+
FieldType.ENUM, mapping from names to ids.public ProtobufField next+
public final boolean isObject+
public final boolean isStdEnum+
public ProtobufField(com.squareup.protoparser.FieldElement nativeField, + FieldType type)+
public ProtobufField(com.squareup.protoparser.FieldElement nativeField, + ProtobufMessage msg)+
public ProtobufField(com.squareup.protoparser.FieldElement nativeField, + ProtobufEnum et)+
protected ProtobufField(com.squareup.protoparser.FieldElement nativeField, + FieldType type, + ProtobufMessage msg, + ProtobufEnum et)+
public static ProtobufField unknownField()+
public void assignMessageType(ProtobufMessage msgType)+
public void assignNext(ProtobufField n)+
public final ProtobufMessage getMessageType()+
public final ProtobufField nextOrThisIf(int idToMatch)+
public final ProtobufField nextIf(String nameToMatch)+
public final int findEnumIndex(com.fasterxml.jackson.core.SerializableString key)+
public final int findEnumIndex(String key)+
public final String findEnumByIndex(int index)+
public Collection<String> getEnumValues()+
public final boolean isArray()+
public final boolean isValidFor(int typeTag)+
public int compareTo(ProtobufField other)+
compareTo in interface Comparable<ProtobufField>Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufMessage.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufMessage.html new file mode 100644 index 000000000..720d6ff1f --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufMessage.html @@ -0,0 +1,523 @@ + + + + + + +public class ProtobufMessage +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufField[] |
+_fields
+Array that contains actual fields, in declaration order.
+ |
+
protected ProtobufField[] |
+_fieldsById
+Arrays of fields indexed by id (offset by
+_idOffset), if
+ fields ids are in contiguous (enough) range. |
+
protected FieldLookup |
+_fieldsByName |
+
protected ProtobufField |
+_firstField |
+
protected int |
+_idOffset |
+
protected String |
+_name |
+
| Constructor and Description | +
|---|
ProtobufMessage(String name,
+ ProtobufField[] fields) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ProtobufMessage |
+bogusMessage(String desc) |
+
ProtobufField |
+field(int id) |
+
ProtobufField |
+field(com.fasterxml.jackson.core.SerializableString name) |
+
ProtobufField |
+field(String name) |
+
Iterable<ProtobufField> |
+fields() |
+
String |
+fieldsAsString() |
+
ProtobufField |
+firstField() |
+
ProtobufField |
+firstIf(String name) |
+
int |
+getFieldCount() |
+
String |
+getName() |
+
void |
+init(ProtobufField first)
+Method called right after finishing actual construction of this
+ message definition.
+ |
+
protected final String _name+
protected final ProtobufField[] _fields+
init(ProtobufField) is called.protected FieldLookup _fieldsByName+
protected ProtobufField[] _fieldsById+
_idOffset), if
+ fields ids are in contiguous (enough) range.protected ProtobufField _firstField+
protected int _idOffset+
public ProtobufMessage(String name, + ProtobufField[] fields)+
public void init(ProtobufField first)+
public static ProtobufMessage bogusMessage(String desc)+
public ProtobufField firstField()+
public ProtobufField firstIf(String name)+
public int getFieldCount()+
public String getName()+
public ProtobufField field(String name)+
public ProtobufField field(int id)+
public ProtobufField field(com.fasterxml.jackson.core.SerializableString name)+
public String fieldsAsString()+
public Iterable<ProtobufField> fields()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufSchema.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufSchema.html new file mode 100644 index 000000000..7c614a1ee --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufSchema.html @@ -0,0 +1,467 @@ + + + + + + +public class ProtobufSchema +extends Object +implements com.fasterxml.jackson.core.FormatSchema+
FormatSchema implementation for protobuf, bound to specific root-level
+ ProtobufMessage, and useful for reading/writing protobuf content
+ that encodes instance of that message.| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufMessage |
+_rootType |
+
protected NativeProtobufSchema |
+_source
+In case we want to use a different root type, we'll also hold
+ a reference to the native definition, if one is available.
+ |
+
static String |
+FORMAT_NAME_PROTOBUF |
+
| Constructor and Description | +
|---|
ProtobufSchema(NativeProtobufSchema src,
+ ProtobufMessage rootType) |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<String> |
+getMessageTypes()
+Accessor for listing names of all root-level messages defined in the
+ original protoc.
+ |
+
ProtobufMessage |
+getRootType()
+Accessor for getting the default
+ProtobufMessage type that
+ is usually the root type for this schema. |
+
String |
+getSchemaType()
+Accessor to get type id for this
+FormatSchema, used by code Jackson
+ databinding functionality. |
+
NativeProtobufSchema |
+getSource()
+Accessor for native representation of the protoc.
+ |
+
String |
+toString() |
+
ProtobufSchema |
+withRootType(String typeName)
+Method that can be called to choose different root type (of types
+ defined in protoc); a new schema instance will be constructed
+ if type is different from current root type.
+ |
+
public static final String FORMAT_NAME_PROTOBUF+
protected final NativeProtobufSchema _source+
protected final ProtobufMessage _rootType+
public ProtobufSchema(NativeProtobufSchema src, + ProtobufMessage rootType)+
public ProtobufSchema withRootType(String typeName) + throws IllegalArgumentException+
+ Note that cost of changing root type is non-trivial in that traversal + of types defined is needed -- but exact cost depends on number of types + defined. Since schema instances are immutable, it makes sense to try to + reuse instances if possible.
IllegalArgumentException - If no type with specified name is found
+ from within this schema.public NativeProtobufSchema getSource()+
public ProtobufMessage getRootType()+
ProtobufMessage type that
+ is usually the root type for this schema.public List<String> getMessageTypes()+
public String getSchemaType()+
FormatSchema, used by code Jackson
+ databinding functionality. Not usually needed by application developers.getSchemaType in interface com.fasterxml.jackson.core.FormatSchemaCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufSchemaLoader.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufSchemaLoader.html new file mode 100644 index 000000000..ca4462525 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/ProtobufSchemaLoader.html @@ -0,0 +1,780 @@ + + + + + + +public class ProtobufSchemaLoader +extends Object +implements Serializable+
+ Note that message name argument is optional if (and only if) desired + root type is the first Message type in definition; otherwise an + exception will be thrown.
| Modifier and Type | +Field and Description | +
|---|---|
static String |
+DEFAULT_SCHEMA_NAME |
+
static ProtobufSchemaLoader |
+std
+Standard loader instance that is usually used for loading protoc
+ schemas.
+ |
+
| Constructor and Description | +
|---|
ProtobufSchemaLoader() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.squareup.protoparser.ProtoFile |
+_loadNative(File f) |
+
com.squareup.protoparser.ProtoFile |
+_loadNative(InputStream in,
+ boolean close) |
+
protected com.squareup.protoparser.ProtoFile |
+_loadNative(Reader r,
+ boolean close) |
+
com.squareup.protoparser.ProtoFile |
+_loadNative(String schemaAsString) |
+
com.squareup.protoparser.ProtoFile |
+_loadNative(URL url) |
+
protected String |
+_readAll(Reader r) |
+
void |
+_throw(Exception e0) |
+
ProtobufSchema |
+load(File f) |
+
ProtobufSchema |
+load(File f,
+ String rootTypeName) |
+
ProtobufSchema |
+load(InputStream in)
+Method for loading and parsing a protoc definition from given
+ stream, assuming UTF-8 encoding.
+ |
+
ProtobufSchema |
+load(InputStream in,
+ String rootTypeName) |
+
ProtobufSchema |
+load(Reader r)
+Method for loading and parsing a protoc definition from given
+ stream, assuming UTF-8 encoding.
+ |
+
ProtobufSchema |
+load(Reader r,
+ String rootTypeName) |
+
ProtobufSchema |
+load(URL url) |
+
ProtobufSchema |
+load(URL url,
+ String rootTypeName) |
+
NativeProtobufSchema |
+loadNative(File f) |
+
NativeProtobufSchema |
+loadNative(InputStream in,
+ boolean close) |
+
protected NativeProtobufSchema |
+loadNative(Reader r,
+ boolean close) |
+
NativeProtobufSchema |
+loadNative(URL url) |
+
ProtobufSchema |
+parse(String schemaAsString)
+Method for parsing given protoc schema definition, constructing
+ schema object Jackson can use.
+ |
+
ProtobufSchema |
+parse(String schemaAsString,
+ String rootTypeName) |
+
NativeProtobufSchema |
+parseNative(String schema) |
+
public static final String DEFAULT_SCHEMA_NAME+
public static final ProtobufSchemaLoader std+
public ProtobufSchema load(URL url) + throws IOException+
IOExceptionpublic ProtobufSchema load(URL url, + String rootTypeName) + throws IOException+
rootTypeName - Name of message type in schema definition that is
+ the root value to read/writeIOExceptionpublic ProtobufSchema load(File f) + throws IOException+
IOExceptionpublic ProtobufSchema load(File f, + String rootTypeName) + throws IOException+
rootTypeName - Name of message type in schema definition that is
+ the root value to read/writeIOExceptionpublic ProtobufSchema load(InputStream in) + throws IOException+
InputStream will be closed before method returns.IOExceptionpublic ProtobufSchema load(InputStream in, + String rootTypeName) + throws IOException+
rootTypeName - Name of message type in schema definition that is
+ the root value to read/writeIOExceptionpublic ProtobufSchema load(Reader r) + throws IOException+
Reader will be closed before method returns.IOExceptionpublic ProtobufSchema load(Reader r, + String rootTypeName) + throws IOException+
rootTypeName - Name of message type in schema definition that is
+ the root value to read/writeIOExceptionpublic ProtobufSchema parse(String schemaAsString) + throws IOException+
IOExceptionpublic ProtobufSchema parse(String schemaAsString, + String rootTypeName) + throws IOException+
rootTypeName - Name of message type in schema definition that is
+ the root value to read/writeIOExceptionpublic NativeProtobufSchema loadNative(File f) + throws IOException+
IOExceptionpublic NativeProtobufSchema loadNative(URL url) + throws IOException+
IOExceptionpublic NativeProtobufSchema parseNative(String schema) + throws IOException+
IOExceptionpublic NativeProtobufSchema loadNative(InputStream in, + boolean close) + throws IOException+
IOExceptionprotected NativeProtobufSchema loadNative(Reader r, + boolean close) + throws IOException+
IOExceptionpublic com.squareup.protoparser.ProtoFile _loadNative(File f) + throws IOException+
IOExceptionpublic com.squareup.protoparser.ProtoFile _loadNative(URL url) + throws IOException+
IOExceptionpublic com.squareup.protoparser.ProtoFile _loadNative(String schemaAsString) + throws IOException+
IOExceptionpublic com.squareup.protoparser.ProtoFile _loadNative(InputStream in, + boolean close) + throws IOException+
IOExceptionprotected com.squareup.protoparser.ProtoFile _loadNative(Reader r, + boolean close) + throws IOException+
IOExceptionprotected String _readAll(Reader r) + throws IOException+
IOExceptionpublic void _throw(Exception e0) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/TypeResolver.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/TypeResolver.html new file mode 100644 index 000000000..728cc5f6b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/TypeResolver.html @@ -0,0 +1,379 @@ + + + + + + +public class TypeResolver +extends Object+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+TypeResolver(TypeResolver p,
+ String name,
+ Map<String,com.squareup.protoparser.MessageElement> declaredMsgs,
+ Map<String,ProtobufEnum> enums) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected ProtobufMessage |
+_resolve(com.squareup.protoparser.MessageElement rawType) |
+
protected void |
+addEnumType(String name,
+ ProtobufEnum enumType) |
+
protected void |
+addResolvedMessageType(String name,
+ ProtobufMessage toResolve) |
+
protected static TypeResolver |
+construct(TypeResolver parent,
+ String localName,
+ Collection<com.squareup.protoparser.TypeElement> nativeTypes) |
+
protected static ProtobufEnum |
+constructEnum(com.squareup.protoparser.EnumElement nativeEnum) |
+
static ProtobufMessage |
+resolve(Collection<com.squareup.protoparser.TypeElement> nativeTypes,
+ com.squareup.protoparser.MessageElement rawType)
+Main entry method for public API, for resolving specific root-level type and other
+ types it depends on.
+ |
+
protected ProtobufMessage |
+resolve(TypeResolver parent,
+ com.squareup.protoparser.MessageElement rawType) |
+
protected TypeResolver(TypeResolver p, + String name, + Map<String,com.squareup.protoparser.MessageElement> declaredMsgs, + Map<String,ProtobufEnum> enums)+
public static ProtobufMessage resolve(Collection<com.squareup.protoparser.TypeElement> nativeTypes, + com.squareup.protoparser.MessageElement rawType)+
protected ProtobufMessage resolve(TypeResolver parent, + com.squareup.protoparser.MessageElement rawType)+
protected static TypeResolver construct(TypeResolver parent, + String localName, + Collection<com.squareup.protoparser.TypeElement> nativeTypes)+
protected void addEnumType(String name, + ProtobufEnum enumType)+
protected static ProtobufEnum constructEnum(com.squareup.protoparser.EnumElement nativeEnum)+
protected ProtobufMessage _resolve(com.squareup.protoparser.MessageElement rawType)+
protected void addResolvedMessageType(String name, + ProtobufMessage toResolve)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/WireType.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/WireType.html new file mode 100644 index 000000000..c6e1143d8 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/WireType.html @@ -0,0 +1,307 @@ + + + + + + +public interface WireType
+| Modifier and Type | +Field and Description | +
|---|---|
static int |
+FIXED_32BIT |
+
static int |
+FIXED_64BIT |
+
static int |
+GROUP_END |
+
static int |
+GROUP_START |
+
static int |
+LENGTH_PREFIXED |
+
static int |
+VINT |
+
static final int VINT+
static final int FIXED_64BIT+
static final int LENGTH_PREFIXED+
static final int GROUP_START+
static final int GROUP_END+
static final int FIXED_32BIT+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/DescriptorLoader.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/DescriptorLoader.html new file mode 100644 index 000000000..fb5ceb8e0 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/DescriptorLoader.html @@ -0,0 +1,215 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected DescriptorLoader |
+ProtobufMapper._descriptorLoader
+Lazily constructed instance of
+DescriptorLoader, used for loading
+ structured protoc definitions from multiple files. |
+
| Modifier and Type | +Method and Description | +
|---|---|
DescriptorLoader |
+ProtobufMapper.descriptorLoader()
+Accessors that may be used instead of convenience
+loadDescriptorSet
+ methods, if alternate sources need to be used. |
+
| Modifier and Type | +Method and Description | +
|---|---|
static DescriptorLoader |
+DescriptorLoader.construct(com.fasterxml.jackson.databind.ObjectMapper mapper,
+ ProtobufSchemaLoader schemaLoader) |
+
static DescriptorLoader |
+DescriptorLoader.construct(ProtobufMapper mapper) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/EnumLookup.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/EnumLookup.html new file mode 100644 index 000000000..3951f6017 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/EnumLookup.html @@ -0,0 +1,188 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected EnumLookup |
+ProtobufField.enumValues
+For fields of type
+FieldType.ENUM, mapping from names to ids. |
+
| Modifier and Type | +Method and Description | +
|---|---|
static EnumLookup |
+EnumLookup.construct(ProtobufEnum enumDef) |
+
static EnumLookup |
+EnumLookup.empty() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldLookup.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldLookup.html new file mode 100644 index 000000000..0a87101bd --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldLookup.html @@ -0,0 +1,186 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected FieldLookup |
+ProtobufMessage._fieldsByName |
+
| Modifier and Type | +Method and Description | +
|---|---|
static FieldLookup |
+FieldLookup.construct(ProtobufField[] fields) |
+
static FieldLookup |
+FieldLookup.empty() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldType.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldType.html new file mode 100644 index 000000000..829f76b2e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldType.html @@ -0,0 +1,213 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FieldType |
+ProtobufField.type |
+
| Modifier and Type | +Method and Description | +
|---|---|
static FieldType |
+FieldTypes.findType(com.squareup.protoparser.DataType rawType) |
+
static FieldType |
+FieldType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FieldType[] |
+FieldType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Constructor and Description | +
|---|
ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ FieldType type) |
+
ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ FieldType type,
+ ProtobufMessage msg,
+ ProtobufEnum et) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldTypes.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldTypes.html new file mode 100644 index 000000000..91964b942 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FieldTypes.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.DescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.DescriptorProto.html new file mode 100644 index 000000000..7079dcdd4 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.DescriptorProto.html @@ -0,0 +1,173 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.DescriptorProto[] |
+FileDescriptorSet.FileDescriptorProto.message_type |
+
FileDescriptorSet.DescriptorProto[] |
+FileDescriptorSet.DescriptorProto.nested_type |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumDescriptorProto.html new file mode 100644 index 000000000..16bbe1ff8 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumDescriptorProto.html @@ -0,0 +1,173 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.EnumDescriptorProto[] |
+FileDescriptorSet.FileDescriptorProto.enum_type |
+
FileDescriptorSet.EnumDescriptorProto[] |
+FileDescriptorSet.DescriptorProto.enum_type |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumOptions.html new file mode 100644 index 000000000..8c65de7ad --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.EnumOptions |
+FileDescriptorSet.EnumDescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumValueDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumValueDescriptorProto.html new file mode 100644 index 000000000..4014e3cc1 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumValueDescriptorProto.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.EnumValueDescriptorProto[] |
+FileDescriptorSet.EnumDescriptorProto.value |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumValueOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumValueOptions.html new file mode 100644 index 000000000..a683090af --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.EnumValueOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.EnumValueOptions |
+FileDescriptorSet.EnumValueDescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.Label.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.Label.html new file mode 100644 index 000000000..4ce6f9de6 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.Label.html @@ -0,0 +1,191 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.FieldDescriptorProto.Label |
+FileDescriptorSet.FieldDescriptorProto.label |
+
| Modifier and Type | +Method and Description | +
|---|---|
static FileDescriptorSet.FieldDescriptorProto.Label |
+FileDescriptorSet.FieldDescriptorProto.Label.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FileDescriptorSet.FieldDescriptorProto.Label[] |
+FileDescriptorSet.FieldDescriptorProto.Label.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.Type.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.Type.html new file mode 100644 index 000000000..0e2d482e8 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.Type.html @@ -0,0 +1,191 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.FieldDescriptorProto.Type |
+FileDescriptorSet.FieldDescriptorProto.type |
+
| Modifier and Type | +Method and Description | +
|---|---|
static FileDescriptorSet.FieldDescriptorProto.Type |
+FileDescriptorSet.FieldDescriptorProto.Type.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FileDescriptorSet.FieldDescriptorProto.Type[] |
+FileDescriptorSet.FieldDescriptorProto.Type.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.html new file mode 100644 index 000000000..4030bbc1b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldDescriptorProto.html @@ -0,0 +1,177 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.FieldDescriptorProto[] |
+FileDescriptorSet.FileDescriptorProto.extension |
+
FileDescriptorSet.FieldDescriptorProto[] |
+FileDescriptorSet.DescriptorProto.extension |
+
FileDescriptorSet.FieldDescriptorProto[] |
+FileDescriptorSet.DescriptorProto.field |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldOptions.html new file mode 100644 index 000000000..ed6990b9d --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FieldOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.FieldOptions |
+FileDescriptorSet.FieldDescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FileDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FileDescriptorProto.html new file mode 100644 index 000000000..8e3677a6b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FileDescriptorProto.html @@ -0,0 +1,207 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected FileDescriptorSet.FileDescriptorProto[] |
+FileDescriptorSet.file |
+
| Modifier and Type | +Method and Description | +
|---|---|
FileDescriptorSet.FileDescriptorProto |
+FileDescriptorSet.findDescriptor(String fileName)
+Accessor for finding low-level definition with given name,
+ if one contained.
+ |
+
FileDescriptorSet.FileDescriptorProto |
+FileDescriptorSet.getDescriptor(String fileName)
+Accessor for getting low-level definition with given name, contained
+ in this descriptor set.
+ |
+
FileDescriptorSet.FileDescriptorProto[] |
+FileDescriptorSet.getFile() |
+
| Constructor and Description | +
|---|
FileDescriptorSet(FileDescriptorSet.FileDescriptorProto[] f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FileOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FileOptions.html new file mode 100644 index 000000000..cd7221f88 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.FileOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.FileOptions |
+FileDescriptorSet.FileDescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MessageOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MessageOptions.html new file mode 100644 index 000000000..47098ec04 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MessageOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.MessageOptions |
+FileDescriptorSet.DescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MethodDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MethodDescriptorProto.html new file mode 100644 index 000000000..91453b5a4 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MethodDescriptorProto.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.MethodDescriptorProto[] |
+FileDescriptorSet.ServiceDescriptorProto.method |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MethodOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MethodOptions.html new file mode 100644 index 000000000..b7c269b8c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.MethodOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.MethodOptions |
+FileDescriptorSet.MethodDescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.OneofDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.OneofDescriptorProto.html new file mode 100644 index 000000000..4b3d1a0f7 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.OneofDescriptorProto.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.OneofDescriptorProto[] |
+FileDescriptorSet.DescriptorProto.oneof_decl |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.OneofOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.OneofOptions.html new file mode 100644 index 000000000..19389a483 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.OneofOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.OneofOptions |
+FileDescriptorSet.OneofDescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.ServiceDescriptorProto.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.ServiceDescriptorProto.html new file mode 100644 index 000000000..ae474b42c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.ServiceDescriptorProto.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.ServiceDescriptorProto[] |
+FileDescriptorSet.FileDescriptorProto.service |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.ServiceOptions.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.ServiceOptions.html new file mode 100644 index 000000000..1841007be --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.ServiceOptions.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.ServiceOptions |
+FileDescriptorSet.ServiceDescriptorProto.options |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.SourceCodeInfo.Location.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.SourceCodeInfo.Location.html new file mode 100644 index 000000000..902e95b9d --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.SourceCodeInfo.Location.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.SourceCodeInfo.Location[] |
+FileDescriptorSet.SourceCodeInfo.location |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.SourceCodeInfo.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.SourceCodeInfo.html new file mode 100644 index 000000000..691379b82 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.SourceCodeInfo.html @@ -0,0 +1,169 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.SourceCodeInfo |
+FileDescriptorSet.FileDescriptorProto.source_code_info |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.UninterpretedOption.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.UninterpretedOption.html new file mode 100644 index 000000000..a3a6b13b5 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.UninterpretedOption.html @@ -0,0 +1,197 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.FileOptions.uninterpreted_option |
+
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.MessageOptions.uninterpreted_option |
+
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.FieldOptions.uninterpreted_option |
+
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.OneofOptions.uninterpreted_option |
+
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.EnumOptions.uninterpreted_option |
+
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.EnumValueOptions.uninterpreted_option |
+
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.ServiceOptions.uninterpreted_option |
+
FileDescriptorSet.UninterpretedOption[] |
+FileDescriptorSet.MethodOptions.uninterpreted_option |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.html new file mode 100644 index 000000000..055cde7fb --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/FileDescriptorSet.html @@ -0,0 +1,215 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
FileDescriptorSet |
+ProtobufMapper.loadDescriptorSet(File src) |
+
FileDescriptorSet |
+ProtobufMapper.loadDescriptorSet(InputStream src) |
+
FileDescriptorSet |
+ProtobufMapper.loadDescriptorSet(URL src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
FileDescriptorSet |
+DescriptorLoader.load(File src) |
+
FileDescriptorSet |
+DescriptorLoader.load(InputStream in)
+Note: passed
+InputStream will be closed by this method. |
+
FileDescriptorSet |
+DescriptorLoader.load(Reader r)
+Note: passed
+Reader will be closed by this method. |
+
FileDescriptorSet |
+DescriptorLoader.load(URL src) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/NativeProtobufSchema.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/NativeProtobufSchema.html new file mode 100644 index 000000000..c6288f50a --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/NativeProtobufSchema.html @@ -0,0 +1,230 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected NativeProtobufSchema |
+ProtobufSchema._source
+In case we want to use a different root type, we'll also hold
+ a reference to the native definition, if one is available.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static NativeProtobufSchema |
+NativeProtobufSchema.construct(com.squareup.protoparser.ProtoFile input) |
+
static NativeProtobufSchema |
+NativeProtobufSchema.construct(String name,
+ Collection<com.squareup.protoparser.TypeElement> types) |
+
NativeProtobufSchema |
+ProtobufSchema.getSource()
+Accessor for native representation of the protoc.
+ |
+
NativeProtobufSchema |
+ProtobufSchemaLoader.loadNative(File f) |
+
NativeProtobufSchema |
+ProtobufSchemaLoader.loadNative(InputStream in,
+ boolean close) |
+
protected NativeProtobufSchema |
+ProtobufSchemaLoader.loadNative(Reader r,
+ boolean close) |
+
NativeProtobufSchema |
+ProtobufSchemaLoader.loadNative(URL url) |
+
NativeProtobufSchema |
+ProtobufSchemaLoader.parseNative(String schema) |
+
| Constructor and Description | +
|---|
ProtobufSchema(NativeProtobufSchema src,
+ ProtobufMessage rootType) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufEnum.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufEnum.html new file mode 100644 index 000000000..a9eb6e5d3 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufEnum.html @@ -0,0 +1,219 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected static ProtobufEnum |
+TypeResolver.constructEnum(com.squareup.protoparser.EnumElement nativeEnum) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+TypeResolver.addEnumType(String name,
+ ProtobufEnum enumType) |
+
static EnumLookup |
+EnumLookup.construct(ProtobufEnum enumDef) |
+
| Constructor and Description | +
|---|
ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ FieldType type,
+ ProtobufMessage msg,
+ ProtobufEnum et) |
+
ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ ProtobufEnum et) |
+
| Constructor and Description | +
|---|
TypeResolver(TypeResolver p,
+ String name,
+ Map<String,com.squareup.protoparser.MessageElement> declaredMsgs,
+ Map<String,ProtobufEnum> enums) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufField.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufField.html new file mode 100644 index 000000000..1f91ecb3a --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufField.html @@ -0,0 +1,381 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufField |
+ProtobufParser._currentField |
+
protected ProtobufField |
+ProtobufGenerator._currField
+Field to be output next; set when
+JsonToken.FIELD_NAME is written,
+ cleared once value has been written |
+
protected ProtobufField |
+ProtobufWriteContext._field
+Field within either current object (for Object context); or, parent
+ field (for Array)
+ |
+
protected ProtobufField |
+ProtobufReadContext._field
+For array contexts: field that defines type of array values.
+ |
+
protected static ProtobufField |
+ProtobufGenerator.UNKNOWN_FIELD
+This instance is used as a placeholder for cases where we do not know
+ actual field and want to simply skip over any values that caller tries
+ to write for it.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufField |
+ProtobufWriteContext.getField() |
+
ProtobufField |
+ProtobufReadContext.getField() |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufReadContext |
+ProtobufReadContext.createChildArrayContext(ProtobufField f) |
+
ProtobufReadContext |
+ProtobufReadContext.createChildArrayContext(ProtobufField f,
+ int endOffset) |
+
ProtobufReadContext |
+ProtobufReadContext.createChildObjectContext(ProtobufMessage messageType,
+ ProtobufField f,
+ int endOffset) |
+
void |
+ProtobufWriteContext.setField(ProtobufField f) |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufField[] |
+ProtobufMessage._fields
+Array that contains actual fields, in declaration order.
+ |
+
protected ProtobufField[] |
+ProtobufMessage._fieldsById
+Arrays of fields indexed by id (offset by
+_idOffset), if
+ fields ids are in contiguous (enough) range. |
+
protected ProtobufField |
+ProtobufMessage._firstField |
+
ProtobufField |
+ProtobufField.next
+Link to next field within message definition; used for efficient traversal.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufField |
+ProtobufMessage.field(int id) |
+
ProtobufField |
+ProtobufMessage.field(com.fasterxml.jackson.core.SerializableString name) |
+
ProtobufField |
+ProtobufMessage.field(String name) |
+
abstract ProtobufField |
+FieldLookup.findField(String key) |
+
ProtobufField |
+ProtobufMessage.firstField() |
+
ProtobufField |
+ProtobufMessage.firstIf(String name) |
+
ProtobufField |
+ProtobufField.nextIf(String nameToMatch) |
+
ProtobufField |
+ProtobufField.nextOrThisIf(int idToMatch) |
+
static ProtobufField |
+ProtobufField.unknownField() |
+
| Modifier and Type | +Method and Description | +
|---|---|
Iterable<ProtobufField> |
+ProtobufMessage.fields() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+ProtobufField.assignNext(ProtobufField n) |
+
int |
+ProtobufField.compareTo(ProtobufField other) |
+
static FieldLookup |
+FieldLookup.construct(ProtobufField[] fields) |
+
void |
+ProtobufMessage.init(ProtobufField first)
+Method called right after finishing actual construction of this
+ message definition.
+ |
+
| Constructor and Description | +
|---|
ProtobufMessage(String name,
+ ProtobufField[] fields) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufMessage.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufMessage.html new file mode 100644 index 000000000..1419936ff --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufMessage.html @@ -0,0 +1,378 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufMessage |
+ProtobufParser._currentMessage
+The innermost Object type ("message" in proto lingo) we are handling.
+ |
+
protected ProtobufMessage |
+ProtobufGenerator._currMessage
+Type of protobuf message that is currently being output: usually
+ matches write context, but for arrays may indicate "parent" of array.
+ |
+
protected ProtobufMessage |
+ProtobufWriteContext._message
+Definition of the closest Object that this context relates to;
+ either object for the field (for Message/Object types), or its
+ parent (for Array types)
+ |
+
protected ProtobufMessage |
+ProtobufReadContext._messageType
+Type of current context.
+ |
+
protected static ProtobufMessage |
+ProtobufGenerator.UNKNOWN_MESSAGE
+This is used as a placeholder for case where we don't have an actual message
+ to use, but know (from context) that one is expected.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufMessage |
+ProtobufWriteContext.getMessageType() |
+
ProtobufMessage |
+ProtobufReadContext.getMessageType() |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufWriteContext |
+ProtobufWriteContext.createChildObjectContext(ProtobufMessage type) |
+
ProtobufReadContext |
+ProtobufReadContext.createChildObjectContext(ProtobufMessage messageType,
+ ProtobufField f,
+ int endOffset) |
+
static ProtobufWriteContext |
+ProtobufWriteContext.createRootContext(ProtobufMessage msg) |
+
protected void |
+ProtobufReadContext.reset(ProtobufMessage messageType,
+ int type,
+ int endOffset) |
+
void |
+ProtobufReadContext.setMessageType(ProtobufMessage mt) |
+
| Constructor and Description | +
|---|
ProtobufReadContext(ProtobufReadContext parent,
+ ProtobufMessage messageType,
+ int type,
+ int endOffset) |
+
ProtobufWriteContext(int type,
+ ProtobufWriteContext parent,
+ ProtobufMessage msg) |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufMessage |
+ProtobufSchema._rootType |
+
protected ProtobufMessage |
+ProtobufField.messageType
+For main type of
+FieldType.MESSAGE, reference to actual
+ message type definition. |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected ProtobufMessage |
+TypeResolver._resolve(com.squareup.protoparser.MessageElement rawType) |
+
static ProtobufMessage |
+ProtobufMessage.bogusMessage(String desc) |
+
ProtobufMessage |
+ProtobufField.getMessageType() |
+
ProtobufMessage |
+ProtobufSchema.getRootType()
+Accessor for getting the default
+ProtobufMessage type that
+ is usually the root type for this schema. |
+
static ProtobufMessage |
+TypeResolver.resolve(Collection<com.squareup.protoparser.TypeElement> nativeTypes,
+ com.squareup.protoparser.MessageElement rawType)
+Main entry method for public API, for resolving specific root-level type and other
+ types it depends on.
+ |
+
protected ProtobufMessage |
+TypeResolver.resolve(TypeResolver parent,
+ com.squareup.protoparser.MessageElement rawType) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+TypeResolver.addResolvedMessageType(String name,
+ ProtobufMessage toResolve) |
+
void |
+ProtobufField.assignMessageType(ProtobufMessage msgType) |
+
| Constructor and Description | +
|---|
ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ FieldType type,
+ ProtobufMessage msg,
+ ProtobufEnum et) |
+
ProtobufField(com.squareup.protoparser.FieldElement nativeField,
+ ProtobufMessage msg) |
+
ProtobufSchema(NativeProtobufSchema src,
+ ProtobufMessage rootType) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufSchema.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufSchema.html new file mode 100644 index 000000000..c1a43598e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufSchema.html @@ -0,0 +1,359 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| com.fasterxml.jackson.dataformat.protobuf.schemagen | +
+ Contains functionality for generating Protobuf schema instances
+ from POJO definitions, instead of reading external protoc definitions.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufSchema |
+ProtobufGenerator._schema |
+
protected ProtobufSchema |
+ProtobufParser._schema |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufSchema |
+ProtobufMapper.generateSchemaFor(Class<?> type)
+Convenience method for constructing protoc definition that matches
+ given Java type.
+ |
+
ProtobufSchema |
+ProtobufMapper.generateSchemaFor(com.fasterxml.jackson.databind.JavaType type)
+Convenience method for constructing protoc definition that matches
+ given Java type.
+ |
+
ProtobufSchema |
+ProtobufMapper.generateSchemaFor(com.fasterxml.jackson.core.type.TypeReference<?> type)
+Convenience method for constructing protoc definition that matches
+ given Java type.
+ |
+
ProtobufSchema |
+ProtobufGenerator.getSchema() |
+
ProtobufSchema |
+ProtobufParser.getSchema() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+ProtobufGenerator.setSchema(ProtobufSchema schema) |
+
void |
+ProtobufParser.setSchema(ProtobufSchema schema) |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufSchema |
+NativeProtobufSchema.forFirstType()
+Factory method for constructing Jackson-digestible schema using the first
+ Message type defined in the underlying native protobuf schema.
+ |
+
ProtobufSchema |
+NativeProtobufSchema.forType(String messageTypeName)
+Factory method for constructing Jackson-digestible schema using specified Message type
+ from native protobuf schema.
+ |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(File f) |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(File f,
+ String rootTypeName) |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(InputStream in)
+Method for loading and parsing a protoc definition from given
+ stream, assuming UTF-8 encoding.
+ |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(InputStream in,
+ String rootTypeName) |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(Reader r)
+Method for loading and parsing a protoc definition from given
+ stream, assuming UTF-8 encoding.
+ |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(Reader r,
+ String rootTypeName) |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(URL url) |
+
ProtobufSchema |
+ProtobufSchemaLoader.load(URL url,
+ String rootTypeName) |
+
ProtobufSchema |
+ProtobufSchemaLoader.parse(String schemaAsString)
+Method for parsing given protoc schema definition, constructing
+ schema object Jackson can use.
+ |
+
ProtobufSchema |
+ProtobufSchemaLoader.parse(String schemaAsString,
+ String rootTypeName) |
+
ProtobufSchema |
+FileDescriptorSet.schemaFor(String rootTypeName) |
+
ProtobufSchema |
+FileDescriptorSet.schemaForFirstType() |
+
ProtobufSchema |
+ProtobufSchema.withRootType(String typeName)
+Method that can be called to choose different root type (of types
+ defined in protoc); a new schema instance will be constructed
+ if type is different from current root type.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufSchema |
+ProtobufSchemaGenerator.getGeneratedSchema() |
+
ProtobufSchema |
+ProtobufSchemaGenerator.getGeneratedSchema(boolean appendDependencies) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufSchemaLoader.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufSchemaLoader.html new file mode 100644 index 000000000..ef7948dfd --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/ProtobufSchemaLoader.html @@ -0,0 +1,238 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected ProtobufSchemaLoader |
+ProtobufMapper._schemaLoader |
+
| Modifier and Type | +Method and Description | +
|---|---|
ProtobufSchemaLoader |
+ProtobufMapper.schemaLoader()
+Accessor for reusable
+ProtobufSchemaLoader which can be
+ used for loading protoc definitions from files and other external
+ sources. |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+ProtobufMapper.setSchemaLoader(ProtobufSchemaLoader l) |
+
| Modifier and Type | +Field and Description | +
|---|---|
static ProtobufSchemaLoader |
+ProtobufSchemaLoader.std
+Standard loader instance that is usually used for loading protoc
+ schemas.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static DescriptorLoader |
+DescriptorLoader.construct(com.fasterxml.jackson.databind.ObjectMapper mapper,
+ ProtobufSchemaLoader schemaLoader) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/TypeResolver.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/TypeResolver.html new file mode 100644 index 000000000..06035cd83 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/TypeResolver.html @@ -0,0 +1,205 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected static TypeResolver |
+TypeResolver.construct(TypeResolver parent,
+ String localName,
+ Collection<com.squareup.protoparser.TypeElement> nativeTypes) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected static TypeResolver |
+TypeResolver.construct(TypeResolver parent,
+ String localName,
+ Collection<com.squareup.protoparser.TypeElement> nativeTypes) |
+
protected ProtobufMessage |
+TypeResolver.resolve(TypeResolver parent,
+ com.squareup.protoparser.MessageElement rawType) |
+
| Constructor and Description | +
|---|
TypeResolver(TypeResolver p,
+ String name,
+ Map<String,com.squareup.protoparser.MessageElement> declaredMsgs,
+ Map<String,ProtobufEnum> enums) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/WireType.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/WireType.html new file mode 100644 index 000000000..797fc385d --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/class-use/WireType.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-frame.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-frame.html new file mode 100644 index 000000000..60218405e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-frame.html @@ -0,0 +1,61 @@ + + + + + + +See: Description
+| Interface | +Description | +
|---|---|
| WireType | +
+ Enumeration of wire types that protobuf specification defines
+ |
+
| Class | +Description | +
|---|---|
| DescriptorLoader | +
+ Class used for loading protobuf descriptors (from .desc files
+ or equivalent sources), to construct FileDescriptorSet.
+ |
+
| EnumLookup | +
+ Helper class used for doing efficient lookups of protoc enums
+ given enum name caller provides.
+ |
+
| FieldLookup | +
+ Helper class used for cases where
+ProtobufField instances
+ need to be looked up by name. |
+
| FieldTypes | ++ |
| FileDescriptorSet | ++ |
| FileDescriptorSet.DescriptorProto | ++ |
| FileDescriptorSet.EnumDescriptorProto | ++ |
| FileDescriptorSet.EnumOptions | ++ |
| FileDescriptorSet.EnumValueDescriptorProto | ++ |
| FileDescriptorSet.EnumValueOptions | ++ |
| FileDescriptorSet.FieldDescriptorProto | ++ |
| FileDescriptorSet.FieldOptions | ++ |
| FileDescriptorSet.FileDescriptorProto | ++ |
| FileDescriptorSet.FileOptions | ++ |
| FileDescriptorSet.MessageOptions | ++ |
| FileDescriptorSet.MethodDescriptorProto | ++ |
| FileDescriptorSet.MethodOptions | ++ |
| FileDescriptorSet.OneofDescriptorProto | ++ |
| FileDescriptorSet.OneofOptions | ++ |
| FileDescriptorSet.ServiceDescriptorProto | ++ |
| FileDescriptorSet.ServiceOptions | ++ |
| FileDescriptorSet.SourceCodeInfo | ++ |
| FileDescriptorSet.SourceCodeInfo.Location | ++ |
| FileDescriptorSet.UninterpretedOption | ++ |
| NativeProtobufSchema | +
+ Helper class used for wrapping a "raw" protobuf schema (as read by
+ "protoparser" library); and used
+ as input for creating specific
+ProtobufSchema to use for
+ reading/writing protobuf encoded content |
+
| ProtobufEnum | ++ |
| ProtobufField | ++ |
| ProtobufMessage | ++ |
| ProtobufSchema | +
+ A
+FormatSchema implementation for protobuf, bound to specific root-level
+ ProtobufMessage, and useful for reading/writing protobuf content
+ that encodes instance of that message. |
+
| ProtobufSchemaLoader | +
+ Class used for loading protobuf definitions (from .proto files
+ or equivalent sources), to construct schema needed for reading
+ or writing content.
+ |
+
| TypeResolver | +
+ Stateful class needed to properly resolve type definitions of
+ protobuf message (and related types); some complexity coming
+ from possible nested nature of definitions.
+ |
+
| Enum | +Description | +
|---|---|
| FieldType | +
+ Set of distinct types parsed from protoc, as unified considering
+ that Java makes no distinction between signed and unsigned types.
+ |
+
| FileDescriptorSet.FieldDescriptorProto.Label | ++ |
| FileDescriptorSet.FieldDescriptorProto.Type | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-tree.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-tree.html new file mode 100644 index 000000000..dc6051b89 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-tree.html @@ -0,0 +1,187 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-use.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-use.html new file mode 100644 index 000000000..34f88f1cf --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schema/package-use.html @@ -0,0 +1,358 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| com.fasterxml.jackson.dataformat.protobuf.schemagen | +
+ Contains functionality for generating Protobuf schema instances
+ from POJO definitions, instead of reading external protoc definitions.
+ |
+
| Class and Description | +
|---|
| DescriptorLoader
+ Class used for loading protobuf descriptors (from .desc files
+ or equivalent sources), to construct FileDescriptorSet.
+ |
+
| FileDescriptorSet | +
| ProtobufField | +
| ProtobufMessage | +
| ProtobufSchema
+ A
+FormatSchema implementation for protobuf, bound to specific root-level
+ ProtobufMessage, and useful for reading/writing protobuf content
+ that encodes instance of that message. |
+
| ProtobufSchemaLoader
+ Class used for loading protobuf definitions (from .proto files
+ or equivalent sources), to construct schema needed for reading
+ or writing content.
+ |
+
| Class and Description | +
|---|
| DescriptorLoader
+ Class used for loading protobuf descriptors (from .desc files
+ or equivalent sources), to construct FileDescriptorSet.
+ |
+
| EnumLookup
+ Helper class used for doing efficient lookups of protoc enums
+ given enum name caller provides.
+ |
+
| FieldLookup
+ Helper class used for cases where
+ProtobufField instances
+ need to be looked up by name. |
+
| FieldType
+ Set of distinct types parsed from protoc, as unified considering
+ that Java makes no distinction between signed and unsigned types.
+ |
+
| FileDescriptorSet | +
| FileDescriptorSet.DescriptorProto | +
| FileDescriptorSet.EnumDescriptorProto | +
| FileDescriptorSet.EnumOptions | +
| FileDescriptorSet.EnumValueDescriptorProto | +
| FileDescriptorSet.EnumValueOptions | +
| FileDescriptorSet.FieldDescriptorProto | +
| FileDescriptorSet.FieldDescriptorProto.Label | +
| FileDescriptorSet.FieldDescriptorProto.Type | +
| FileDescriptorSet.FieldOptions | +
| FileDescriptorSet.FileDescriptorProto | +
| FileDescriptorSet.FileOptions | +
| FileDescriptorSet.MessageOptions | +
| FileDescriptorSet.MethodDescriptorProto | +
| FileDescriptorSet.MethodOptions | +
| FileDescriptorSet.OneofDescriptorProto | +
| FileDescriptorSet.OneofOptions | +
| FileDescriptorSet.ServiceDescriptorProto | +
| FileDescriptorSet.ServiceOptions | +
| FileDescriptorSet.SourceCodeInfo | +
| FileDescriptorSet.SourceCodeInfo.Location | +
| FileDescriptorSet.UninterpretedOption | +
| NativeProtobufSchema
+ Helper class used for wrapping a "raw" protobuf schema (as read by
+ "protoparser" library); and used
+ as input for creating specific
+ProtobufSchema to use for
+ reading/writing protobuf encoded content |
+
| ProtobufEnum | +
| ProtobufField | +
| ProtobufMessage | +
| ProtobufSchema
+ A
+FormatSchema implementation for protobuf, bound to specific root-level
+ ProtobufMessage, and useful for reading/writing protobuf content
+ that encodes instance of that message. |
+
| ProtobufSchemaLoader
+ Class used for loading protobuf definitions (from .proto files
+ or equivalent sources), to construct schema needed for reading
+ or writing content.
+ |
+
| TypeResolver
+ Stateful class needed to properly resolve type definitions of
+ protobuf message (and related types); some complexity coming
+ from possible nested nature of definitions.
+ |
+
| Class and Description | +
|---|
| ProtobufSchema
+ A
+FormatSchema implementation for protobuf, bound to specific root-level
+ ProtobufMessage, and useful for reading/writing protobuf content
+ that encodes instance of that message. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/AnnotationBasedTagGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/AnnotationBasedTagGenerator.html new file mode 100644 index 000000000..a72dad4fa --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/AnnotationBasedTagGenerator.html @@ -0,0 +1,273 @@ + + + + + + +public class AnnotationBasedTagGenerator +extends Object+
| Constructor and Description | +
|---|
AnnotationBasedTagGenerator() |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+nextTag(com.fasterxml.jackson.databind.BeanProperty writer) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/DefaultTagGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/DefaultTagGenerator.html new file mode 100644 index 000000000..d36884d3e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/DefaultTagGenerator.html @@ -0,0 +1,334 @@ + + + + + + +public class DefaultTagGenerator +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_tagCounter |
+
| Constructor and Description | +
|---|
DefaultTagGenerator() |
+
DefaultTagGenerator(int startingTag) |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+nextTag() |
+
int |
+nextTag(com.fasterxml.jackson.databind.BeanProperty writer) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/DefinedTypeElementBuilders.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/DefinedTypeElementBuilders.html new file mode 100644 index 000000000..c906143f8 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/DefinedTypeElementBuilders.html @@ -0,0 +1,430 @@ + + + + + + +public class DefinedTypeElementBuilders +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected Map<com.fasterxml.jackson.databind.JavaType,TypeElementBuilder> |
+_definedTypeElementBuilders |
+
protected Set<com.fasterxml.jackson.databind.JavaType> |
+_isNestedType |
+
| Constructor and Description | +
|---|
DefinedTypeElementBuilders() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addTypeElement(com.fasterxml.jackson.databind.JavaType type,
+ TypeElementBuilder builder,
+ boolean isNested) |
+
boolean |
+containsBuilderFor(com.fasterxml.jackson.databind.JavaType type) |
+
Set<TypeElementBuilder> |
+getAllBuilders() |
+
protected HashSet<TypeElementBuilder> |
+getAllBuildersFor(Collection<com.fasterxml.jackson.databind.JavaType> types) |
+
Set<TypeElementBuilder> |
+getAllNestedBuilders() |
+
TypeElementBuilder |
+getBuilderFor(com.fasterxml.jackson.databind.JavaType type) |
+
Set<TypeElementBuilder> |
+getDependencyBuilders() |
+
Set<TypeElementBuilder> |
+getNonNestedBuilders() |
+
Set<TypeElementBuilder> |
+getNonNestedBuilders(boolean excludeRoot) |
+
protected Map<com.fasterxml.jackson.databind.JavaType,TypeElementBuilder> _definedTypeElementBuilders+
protected Set<com.fasterxml.jackson.databind.JavaType> _isNestedType+
public DefinedTypeElementBuilders()+
public void addTypeElement(com.fasterxml.jackson.databind.JavaType type, + TypeElementBuilder builder, + boolean isNested)+
public boolean containsBuilderFor(com.fasterxml.jackson.databind.JavaType type)+
public TypeElementBuilder getBuilderFor(com.fasterxml.jackson.databind.JavaType type)+
public Set<TypeElementBuilder> getAllBuilders()+
public Set<TypeElementBuilder> getAllNestedBuilders()+
public Set<TypeElementBuilder> getDependencyBuilders()+
public Set<TypeElementBuilder> getNonNestedBuilders()+
public Set<TypeElementBuilder> getNonNestedBuilders(boolean excludeRoot)+
protected HashSet<TypeElementBuilder> getAllBuildersFor(Collection<com.fasterxml.jackson.databind.JavaType> types)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/EnumElementVisitor.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/EnumElementVisitor.html new file mode 100644 index 000000000..8faa619ed --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/EnumElementVisitor.html @@ -0,0 +1,359 @@ + + + + + + +public class EnumElementVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor.Base +implements TypeElementBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor.Base| Constructor and Description | +
|---|
EnumElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ com.fasterxml.jackson.databind.JavaType type,
+ DefinedTypeElementBuilders definedTypeElementBuilders,
+ boolean isNested) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.squareup.protoparser.TypeElement |
+build() |
+
protected com.squareup.protoparser.EnumConstantElement |
+buildEnumConstant(String name) |
+
void |
+enumTypes(Set<String> enums) |
+
formatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatpublic EnumElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, + com.fasterxml.jackson.databind.JavaType type, + DefinedTypeElementBuilders definedTypeElementBuilders, + boolean isNested)+
public com.squareup.protoparser.TypeElement build()+
build in interface TypeElementBuilderpublic void enumTypes(Set<String> enums)+
enumTypes in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitorenumTypes in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Baseprotected com.squareup.protoparser.EnumConstantElement buildEnumConstant(String name)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/MessageElementVisitor.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/MessageElementVisitor.html new file mode 100644 index 000000000..9c6ea4dab --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/MessageElementVisitor.html @@ -0,0 +1,564 @@ + + + + + + +public class MessageElementVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base +implements TypeElementBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base| Modifier and Type | +Field and Description | +
|---|---|
protected com.squareup.protoparser.MessageElement.Builder |
+_builder |
+
protected DefinedTypeElementBuilders |
+_definedTypeElementBuilders |
+
protected Set<com.fasterxml.jackson.databind.JavaType> |
+_nestedTypes |
+
protected com.fasterxml.jackson.dataformat.protobuf.schemagen.TagGenerator |
+_tagGenerator |
+
protected com.fasterxml.jackson.databind.JavaType |
+_type |
+
_provider| Constructor and Description | +
|---|
MessageElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ com.fasterxml.jackson.databind.JavaType type,
+ DefinedTypeElementBuilders definedTypeElementBuilders,
+ boolean isNested) |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.squareup.protoparser.TypeElement |
+build() |
+
protected com.squareup.protoparser.FieldElement |
+buildFieldElement(com.fasterxml.jackson.databind.BeanProperty writer,
+ com.squareup.protoparser.FieldElement.Label label) |
+
protected com.squareup.protoparser.DataType |
+getDataType(com.fasterxml.jackson.databind.JavaType type) |
+
protected void |
+getTagGenerator(com.fasterxml.jackson.databind.BeanProperty writer) |
+
protected int |
+nextTag(com.fasterxml.jackson.databind.BeanProperty writer) |
+
void |
+optionalProperty(com.fasterxml.jackson.databind.BeanProperty writer) |
+
void |
+optionalProperty(String name,
+ com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
+ com.fasterxml.jackson.databind.JavaType propertyTypeHint) |
+
void |
+property(com.fasterxml.jackson.databind.BeanProperty writer) |
+
void |
+property(String name,
+ com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
+ com.fasterxml.jackson.databind.JavaType propertyTypeHint) |
+
getProvider, setProviderprotected com.squareup.protoparser.MessageElement.Builder _builder+
protected com.fasterxml.jackson.dataformat.protobuf.schemagen.TagGenerator _tagGenerator+
protected com.fasterxml.jackson.databind.JavaType _type+
protected Set<com.fasterxml.jackson.databind.JavaType> _nestedTypes+
protected DefinedTypeElementBuilders _definedTypeElementBuilders+
public MessageElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, + com.fasterxml.jackson.databind.JavaType type, + DefinedTypeElementBuilders definedTypeElementBuilders, + boolean isNested)+
public com.squareup.protoparser.TypeElement build()+
build in interface TypeElementBuilderpublic void property(com.fasterxml.jackson.databind.BeanProperty writer) + throws com.fasterxml.jackson.databind.JsonMappingException+
property in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitorproperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionpublic void property(String name, + com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, + com.fasterxml.jackson.databind.JavaType propertyTypeHint)+
property in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitorproperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Basepublic void optionalProperty(com.fasterxml.jackson.databind.BeanProperty writer) + throws com.fasterxml.jackson.databind.JsonMappingException+
optionalProperty in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitoroptionalProperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Basecom.fasterxml.jackson.databind.JsonMappingExceptionpublic void optionalProperty(String name, + com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, + com.fasterxml.jackson.databind.JavaType propertyTypeHint)+
optionalProperty in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitoroptionalProperty in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Baseprotected com.squareup.protoparser.FieldElement buildFieldElement(com.fasterxml.jackson.databind.BeanProperty writer, + com.squareup.protoparser.FieldElement.Label label) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionprotected int nextTag(com.fasterxml.jackson.databind.BeanProperty writer)+
protected void getTagGenerator(com.fasterxml.jackson.databind.BeanProperty writer)+
protected com.squareup.protoparser.DataType getDataType(com.fasterxml.jackson.databind.JavaType type) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtoBufSchemaVisitor.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtoBufSchemaVisitor.html new file mode 100644 index 000000000..daa597b49 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtoBufSchemaVisitor.html @@ -0,0 +1,645 @@ + + + + + + +public class ProtoBufSchemaVisitor +extends com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base +implements TypeElementBuilder+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base| Modifier and Type | +Field and Description | +
|---|---|
protected TypeElementBuilder |
+_builder
+When visiting Object (Record) types, Enums, Arrays, we get
+ this type builder.
+ |
+
protected DefinedTypeElementBuilders |
+_definedTypeElementBuilders |
+
protected boolean |
+_isNested |
+
protected com.squareup.protoparser.DataType |
+_simpleType
+When visiting simple scalar types, we'll get this assigned
+ |
+
_provider| Modifier | +Constructor and Description | +
|---|---|
protected |
+ProtoBufSchemaVisitor() |
+
|
+ProtoBufSchemaVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ DefinedTypeElementBuilders defBuilders,
+ boolean isNested) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected <T> T |
+_throwUnsupported() |
+
protected <T> T |
+_throwUnsupported(String msg) |
+
com.squareup.protoparser.TypeElement |
+build() |
+
Set<com.squareup.protoparser.TypeElement> |
+buildWithDependencies() |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonAnyFormatVisitor |
+expectAnyFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor |
+expectArrayFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor |
+expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor |
+expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor |
+expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNullFormatVisitor |
+expectNullFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor |
+expectNumberFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor |
+expectObjectFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor |
+expectStringFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.squareup.protoparser.DataType |
+getSimpleType() |
+
getProvider, setProviderprotected final DefinedTypeElementBuilders _definedTypeElementBuilders+
protected TypeElementBuilder _builder+
protected com.squareup.protoparser.DataType _simpleType+
protected boolean _isNested+
protected ProtoBufSchemaVisitor()+
public ProtoBufSchemaVisitor(com.fasterxml.jackson.databind.SerializerProvider provider, + DefinedTypeElementBuilders defBuilders, + boolean isNested)+
public com.squareup.protoparser.TypeElement build()+
build in interface TypeElementBuilderpublic com.squareup.protoparser.DataType getSimpleType()+
public Set<com.squareup.protoparser.TypeElement> buildWithDependencies()+
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType type)+
expectObjectFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectObjectFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType)+
expectMapFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectMapFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor expectArrayFormat(com.fasterxml.jackson.databind.JavaType type)+
expectArrayFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectArrayFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor expectStringFormat(com.fasterxml.jackson.databind.JavaType type)+
expectStringFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectStringFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor expectNumberFormat(com.fasterxml.jackson.databind.JavaType type)+
expectNumberFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectNumberFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type)+
expectIntegerFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectIntegerFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectBooleanFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectBooleanFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNullFormatVisitor expectNullFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectNullFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectNullFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Basepublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonAnyFormatVisitor expectAnyFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectAnyFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectAnyFormat in class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Baseprotected <T> T _throwUnsupported()+
protected <T> T _throwUnsupported(String msg)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtobufSchemaGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtobufSchemaGenerator.html new file mode 100644 index 000000000..9f0771bf7 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtobufSchemaGenerator.html @@ -0,0 +1,540 @@ + + + + + + +public class ProtobufSchemaGenerator +extends ProtoBufSchemaVisitor+
ProtobufSchema for a given Java POJO, using
+ definitions Jackson would use for serialization. An instance is typically
+ given to
+ ObjectMapper.acceptJsonFormatVisitor(java.lang.Class<?>, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)
+ which will invoke necessary callbacks.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base| Modifier and Type | +Field and Description | +
|---|---|
protected HashSet<com.fasterxml.jackson.databind.JavaType> |
+_generated |
+
protected com.fasterxml.jackson.databind.JavaType |
+_rootType |
+
_builder, _definedTypeElementBuilders, _isNested, _simpleType_provider| Constructor and Description | +
|---|
ProtobufSchemaGenerator() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor |
+expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor |
+expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor |
+expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor |
+expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor |
+expectNumberFormat(com.fasterxml.jackson.databind.JavaType convertedType) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor |
+expectObjectFormat(com.fasterxml.jackson.databind.JavaType type) |
+
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor |
+expectStringFormat(com.fasterxml.jackson.databind.JavaType type) |
+
ProtobufSchema |
+getGeneratedSchema() |
+
ProtobufSchema |
+getGeneratedSchema(boolean appendDependencies) |
+
_throwUnsupported, _throwUnsupported, build, buildWithDependencies, expectAnyFormat, expectNullFormat, getSimpleTypegetProvider, setProviderprotected HashSet<com.fasterxml.jackson.databind.JavaType> _generated+
protected com.fasterxml.jackson.databind.JavaType _rootType+
public ProtobufSchemaGenerator()+
public ProtobufSchema getGeneratedSchema() + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionpublic ProtobufSchema getGeneratedSchema(boolean appendDependencies) + throws com.fasterxml.jackson.databind.JsonMappingException+
com.fasterxml.jackson.databind.JsonMappingExceptionpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType type)+
expectObjectFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectObjectFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor expectMapFormat(com.fasterxml.jackson.databind.JavaType mapType)+
expectMapFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectMapFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectArrayFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectArrayFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonStringFormatVisitor expectStringFormat(com.fasterxml.jackson.databind.JavaType type)+
expectStringFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectStringFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor expectNumberFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectNumberFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectNumberFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor expectIntegerFormat(com.fasterxml.jackson.databind.JavaType type)+
expectIntegerFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectIntegerFormat in class ProtoBufSchemaVisitorpublic com.fasterxml.jackson.databind.jsonFormatVisitors.JsonBooleanFormatVisitor expectBooleanFormat(com.fasterxml.jackson.databind.JavaType convertedType)+
expectBooleanFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapperexpectBooleanFormat in class ProtoBufSchemaVisitorCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtobufSchemaHelper.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtobufSchemaHelper.html new file mode 100644 index 000000000..75313f911 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/ProtobufSchemaHelper.html @@ -0,0 +1,265 @@ + + + + + + +public class ProtobufSchemaHelper +extends Object+
| Modifier and Type | +Method and Description | +
|---|---|
static String |
+getNamespace(com.fasterxml.jackson.databind.JavaType type) |
+
static boolean |
+hasIndex(com.fasterxml.jackson.databind.BeanProperty writer) |
+
static boolean |
+isBinaryType(com.fasterxml.jackson.databind.JavaType type) |
+
public static String getNamespace(com.fasterxml.jackson.databind.JavaType type)+
public static boolean hasIndex(com.fasterxml.jackson.databind.BeanProperty writer)+
public static boolean isBinaryType(com.fasterxml.jackson.databind.JavaType type)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/TypeElementBuilder.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/TypeElementBuilder.html new file mode 100644 index 000000000..c181be73e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/TypeElementBuilder.html @@ -0,0 +1,227 @@ + + + + + + +public interface TypeElementBuilder
+| Modifier and Type | +Method and Description | +
|---|---|
com.squareup.protoparser.TypeElement |
+build() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/AnnotationBasedTagGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/AnnotationBasedTagGenerator.html new file mode 100644 index 000000000..6b63a5190 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/AnnotationBasedTagGenerator.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/DefaultTagGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/DefaultTagGenerator.html new file mode 100644 index 000000000..c0b02699a --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/DefaultTagGenerator.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/DefinedTypeElementBuilders.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/DefinedTypeElementBuilders.html new file mode 100644 index 000000000..653d9e108 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/DefinedTypeElementBuilders.html @@ -0,0 +1,198 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schemagen | +
+ Contains functionality for generating Protobuf schema instances
+ from POJO definitions, instead of reading external protoc definitions.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected DefinedTypeElementBuilders |
+MessageElementVisitor._definedTypeElementBuilders |
+
protected DefinedTypeElementBuilders |
+ProtoBufSchemaVisitor._definedTypeElementBuilders |
+
| Constructor and Description | +
|---|
EnumElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ com.fasterxml.jackson.databind.JavaType type,
+ DefinedTypeElementBuilders definedTypeElementBuilders,
+ boolean isNested) |
+
MessageElementVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ com.fasterxml.jackson.databind.JavaType type,
+ DefinedTypeElementBuilders definedTypeElementBuilders,
+ boolean isNested) |
+
ProtoBufSchemaVisitor(com.fasterxml.jackson.databind.SerializerProvider provider,
+ DefinedTypeElementBuilders defBuilders,
+ boolean isNested) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/EnumElementVisitor.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/EnumElementVisitor.html new file mode 100644 index 000000000..a15fe2e77 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/EnumElementVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/MessageElementVisitor.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/MessageElementVisitor.html new file mode 100644 index 000000000..e7d2fa2e8 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/MessageElementVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtoBufSchemaVisitor.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtoBufSchemaVisitor.html new file mode 100644 index 000000000..9e3025664 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtoBufSchemaVisitor.html @@ -0,0 +1,172 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schemagen | +
+ Contains functionality for generating Protobuf schema instances
+ from POJO definitions, instead of reading external protoc definitions.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ProtobufSchemaGenerator
+Class that can generate a
+ProtobufSchema for a given Java POJO, using
+ definitions Jackson would use for serialization. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtobufSchemaGenerator.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtobufSchemaGenerator.html new file mode 100644 index 000000000..b935ad8c4 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtobufSchemaGenerator.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtobufSchemaHelper.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtobufSchemaHelper.html new file mode 100644 index 000000000..b32cb7903 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/ProtobufSchemaHelper.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/TypeElementBuilder.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/TypeElementBuilder.html new file mode 100644 index 000000000..58acab6f9 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/class-use/TypeElementBuilder.html @@ -0,0 +1,274 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schemagen | +
+ Contains functionality for generating Protobuf schema instances
+ from POJO definitions, instead of reading external protoc definitions.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+EnumElementVisitor |
+
class |
+MessageElementVisitor |
+
class |
+ProtobufSchemaGenerator
+Class that can generate a
+ProtobufSchema for a given Java POJO, using
+ definitions Jackson would use for serialization. |
+
class |
+ProtoBufSchemaVisitor |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected TypeElementBuilder |
+ProtoBufSchemaVisitor._builder
+When visiting Object (Record) types, Enums, Arrays, we get
+ this type builder.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected Map<com.fasterxml.jackson.databind.JavaType,TypeElementBuilder> |
+DefinedTypeElementBuilders._definedTypeElementBuilders |
+
| Modifier and Type | +Method and Description | +
|---|---|
TypeElementBuilder |
+DefinedTypeElementBuilders.getBuilderFor(com.fasterxml.jackson.databind.JavaType type) |
+
| Modifier and Type | +Method and Description | +
|---|---|
Set<TypeElementBuilder> |
+DefinedTypeElementBuilders.getAllBuilders() |
+
protected HashSet<TypeElementBuilder> |
+DefinedTypeElementBuilders.getAllBuildersFor(Collection<com.fasterxml.jackson.databind.JavaType> types) |
+
Set<TypeElementBuilder> |
+DefinedTypeElementBuilders.getAllNestedBuilders() |
+
Set<TypeElementBuilder> |
+DefinedTypeElementBuilders.getDependencyBuilders() |
+
Set<TypeElementBuilder> |
+DefinedTypeElementBuilders.getNonNestedBuilders() |
+
Set<TypeElementBuilder> |
+DefinedTypeElementBuilders.getNonNestedBuilders(boolean excludeRoot) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+DefinedTypeElementBuilders.addTypeElement(com.fasterxml.jackson.databind.JavaType type,
+ TypeElementBuilder builder,
+ boolean isNested) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-frame.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-frame.html new file mode 100644 index 000000000..b5cee762e --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +See: Description
+| Interface | +Description | +
|---|---|
| TypeElementBuilder | ++ |
| Class | +Description | +
|---|---|
| AnnotationBasedTagGenerator | ++ |
| DefaultTagGenerator | ++ |
| DefinedTypeElementBuilders | ++ |
| EnumElementVisitor | ++ |
| MessageElementVisitor | ++ |
| ProtobufSchemaGenerator | +
+ Class that can generate a
+ProtobufSchema for a given Java POJO, using
+ definitions Jackson would use for serialization. |
+
| ProtobufSchemaHelper | ++ |
| ProtoBufSchemaVisitor | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-tree.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-tree.html new file mode 100644 index 000000000..d088f5f1a --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-tree.html @@ -0,0 +1,169 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-use.html b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-use.html new file mode 100644 index 000000000..b0a58fbfa --- /dev/null +++ b/docs/javadoc/protobuf/2.13/com/fasterxml/jackson/dataformat/protobuf/schemagen/package-use.html @@ -0,0 +1,168 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf.schemagen | +
+ Contains functionality for generating Protobuf schema instances
+ from POJO definitions, instead of reading external protoc definitions.
+ |
+
| Class and Description | +
|---|
| DefinedTypeElementBuilders | +
| ProtoBufSchemaVisitor | +
| TypeElementBuilder | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/constant-values.html b/docs/javadoc/protobuf/2.13/constant-values.html new file mode 100644 index 000000000..cf49f9590 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/constant-values.html @@ -0,0 +1,268 @@ + + + + + + +| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+SECONDARY_BUFFER_LENGTH |
+64000 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final String |
+DESCRIPTOR_PROTO |
+"/descriptor.proto" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+FORMAT_NAME_PROTOBUF |
+"protobuf" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+DEFAULT_SCHEMA_NAME |
+"Unnamed-protobuf-schema" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+FIXED_32BIT |
+5 |
+
+
+public static final int |
+FIXED_64BIT |
+1 |
+
+
+public static final int |
+GROUP_END |
+4 |
+
+
+public static final int |
+GROUP_START |
+3 |
+
+
+public static final int |
+LENGTH_PREFIXED |
+2 |
+
+
+public static final int |
+VINT |
+0 |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/deprecated-list.html b/docs/javadoc/protobuf/2.13/deprecated-list.html new file mode 100644 index 000000000..7006d5ed9 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/help-doc.html b/docs/javadoc/protobuf/2.13/help-doc.html new file mode 100644 index 000000000..916477412 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/index-all.html b/docs/javadoc/protobuf/2.13/index-all.html new file mode 100644 index 000000000..03ba273eb --- /dev/null +++ b/docs/javadoc/protobuf/2.13/index-all.html @@ -0,0 +1,2078 @@ + + + + + + +ProtobufFactory instances with
+ different configuration.JsonGenerator for generating
+ protobuf-encoded output.loadDescriptorSet
+ methods, if alternate sources need to be used.FieldType.ENUM, mapping from names to ids.ProtobufField instances
+ need to be looked up by name.ProtobufMessage type that
+ is usually the root type for this schema.FormatSchema, used by code Jackson
+ databinding functionality.ProtobufParser.nextToken(), or
+ after encountering end-of-input), returns null.InputStream will be closed by this method.Reader will be closed by this method.FieldType.MESSAGE, reference to actual
+ message type definition.ProtobufSchema to use for
+ reading/writing protobuf encoded contentProtobufFactoryBuilder for instantiation.TSFBuilder
+ implementation for constructing ProtobufFactory
+ instances.ObjectMapper, used with
+ Protobuf backend.JsonReadContext
+ to support features needed to decode nested Protobuf messages.FormatSchema implementation for protobuf, bound to specific root-level
+ ProtobufMessage, and useful for reading/writing protobuf content
+ that encodes instance of that message.ProtobufSchema for a given Java POJO, using
+ definitions Jackson would use for serialization.ProtobufSchemaLoader which can be
+ used for loading protoc definitions from files and other external
+ sources.ProtobufParser.getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once.JsonToken.FIELD_NAME is written,
+ cleared once value has been writtenDescriptorLoader, used for loading
+ structured protoc definitions from multiple files._idOffset), if
+ fields ids are in contiguous (enough) range.ProtobufParser.getTextCharacters() method (instead of String
+ returning alternatives)ByteAccumulator._prefixBuffer where there is room for encoding
+ prefix (type, tag, length).FileDescriptorSet objects.Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/index.html b/docs/javadoc/protobuf/2.13/index.html new file mode 100644 index 000000000..281cf738c --- /dev/null +++ b/docs/javadoc/protobuf/2.13/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/docs/javadoc/protobuf/2.13/overview-summary.html b/docs/javadoc/protobuf/2.13/overview-summary.html new file mode 100644 index 000000000..ff8a4a2bb --- /dev/null +++ b/docs/javadoc/protobuf/2.13/overview-summary.html @@ -0,0 +1,154 @@ + + + + + + +
| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.protobuf | ++ |
| com.fasterxml.jackson.dataformat.protobuf.schema | +
+ Contains functionality for generating internal Protobuf schema instances
+ from external protoc resources.
+ |
+
| com.fasterxml.jackson.dataformat.protobuf.schemagen | +
+ Contains functionality for generating Protobuf schema instances
+ from POJO definitions, instead of reading external protoc definitions.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/overview-tree.html b/docs/javadoc/protobuf/2.13/overview-tree.html new file mode 100644 index 000000000..3b1b1a5da --- /dev/null +++ b/docs/javadoc/protobuf/2.13/overview-tree.html @@ -0,0 +1,276 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/package-list b/docs/javadoc/protobuf/2.13/package-list new file mode 100644 index 000000000..c17c55d9b --- /dev/null +++ b/docs/javadoc/protobuf/2.13/package-list @@ -0,0 +1,3 @@ +com.fasterxml.jackson.dataformat.protobuf +com.fasterxml.jackson.dataformat.protobuf.schema +com.fasterxml.jackson.dataformat.protobuf.schemagen diff --git a/docs/javadoc/protobuf/2.13/script.js b/docs/javadoc/protobuf/2.13/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/protobuf/2.13/serialized-form.html b/docs/javadoc/protobuf/2.13/serialized-form.html new file mode 100644 index 000000000..67df302c0 --- /dev/null +++ b/docs/javadoc/protobuf/2.13/serialized-form.html @@ -0,0 +1,201 @@ + + + + + + +protected Object readResolve()+
ProtobufSchemaLoader _schemaLoader+
DescriptorLoader _descriptorLoader+
DescriptorLoader, used for loading
+ structured protoc definitions from multiple files.Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/protobuf/2.13/stylesheet.css b/docs/javadoc/protobuf/2.13/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/docs/javadoc/protobuf/2.13/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/smile/2.13/allclasses-frame.html b/docs/javadoc/smile/2.13/allclasses-frame.html new file mode 100644 index 000000000..c08ac935b --- /dev/null +++ b/docs/javadoc/smile/2.13/allclasses-frame.html @@ -0,0 +1,37 @@ + + + + + + +public final class PackageVersion +extends Object +implements com.fasterxml.jackson.core.Versioned+
| Modifier and Type | +Field and Description | +
|---|---|
static com.fasterxml.jackson.core.Version |
+VERSION |
+
| Constructor and Description | +
|---|
PackageVersion() |
+
| Modifier and Type | +Method and Description | +
|---|---|
com.fasterxml.jackson.core.Version |
+version() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileBufferRecycler.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileBufferRecycler.html new file mode 100644 index 000000000..fb2e686a1 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileBufferRecycler.html @@ -0,0 +1,405 @@ + + + + + + +T - Type of name entries stored in arrays to recyclepublic class SmileBufferRecycler<T> +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected T[] |
+_seenNamesBuffer |
+
protected T[] |
+_seenStringValuesBuffer |
+
static int |
+DEFAULT_NAME_BUFFER_LENGTH |
+
static int |
+DEFAULT_STRING_VALUE_BUFFER_LENGTH |
+
| Constructor and Description | +
|---|
SmileBufferRecycler() |
+
| Modifier and Type | +Method and Description | +
|---|---|
T[] |
+allocSeenNamesBuffer() |
+
T[] |
+allocSeenStringValuesBuffer() |
+
void |
+releaseSeenNamesBuffer(T[] buffer) |
+
void |
+releaseSeenStringValuesBuffer(T[] buffer) |
+
public static final int DEFAULT_NAME_BUFFER_LENGTH+
public static final int DEFAULT_STRING_VALUE_BUFFER_LENGTH+
protected T[] _seenNamesBuffer+
protected T[] _seenStringValuesBuffer+
public T[] allocSeenNamesBuffer()+
public T[] allocSeenStringValuesBuffer()+
public void releaseSeenNamesBuffer(T[] buffer)+
public void releaseSeenStringValuesBuffer(T[] buffer)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileConstants.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileConstants.html new file mode 100644 index 000000000..fb5a17511 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileConstants.html @@ -0,0 +1,1405 @@ + + + + + + +public final class SmileConstants +extends Object+
SmileGenerator and SmileParser| Modifier and Type | +Field and Description | +
|---|---|
static byte |
+BYTE_MARKER_END_OF_CONTENT
+In addition we can use a marker to allow simple framing; splitting
+ of physical data (like file) into distinct logical sections like
+ JSON documents.
+ |
+
static byte |
+BYTE_MARKER_END_OF_STRING |
+
static int |
+HEADER_BIT_HAS_RAW_BINARY
+Indicator bit that indicates whether encoded content may
+ contain raw (unquoted) binary values.
+ |
+
static int |
+HEADER_BIT_HAS_SHARED_NAMES
+Indicator bit that indicates whether encoded content may
+ have Shared names (back references to recently encoded field
+ names).
+ |
+
static int |
+HEADER_BIT_HAS_SHARED_STRING_VALUES
+Indicator bit that indicates whether encoded content may
+ have shared String values (back references to recently encoded
+ 'short' String values, where short is defined as 64 bytes or less).
+ |
+
static byte |
+HEADER_BYTE_1
+First byte of data header (0x3A)
+ |
+
static byte |
+HEADER_BYTE_2
+Second byte of data header (0x29)
+ |
+
static byte |
+HEADER_BYTE_3
+Third byte of data header
+ |
+
static byte |
+HEADER_BYTE_4
+Fourth byte of data header; contains version nibble, may
+ have flags
+ |
+
static int |
+HEADER_VERSION_0
+Current version consists of four zero bits (nibble)
+ |
+
static int |
+INT_MARKER_END_OF_STRING
+We need a byte marker to denote end of variable-length Strings.
+ |
+
static int |
+INT_MISC_BINARY_7BIT |
+
static int |
+INT_MISC_BINARY_RAW |
+
static int |
+MAX_SHARED_NAMES
+Longest back reference we use for field names is 10 bits; no point
+ in keeping much more around
+ |
+
static int |
+MAX_SHARED_STRING_LENGTH_BYTES
+Also: whereas we can refer to names of any length, we will only consider
+ text values that are considered "tiny" or "short" (ones encoded with
+ length prefix); this value thereby has to be maximum length of Strings
+ that can be encoded as such.
+ |
+
static int |
+MAX_SHARED_STRING_VALUES
+Longest back reference we use for short shared String values is 10 bits,
+ so up to
+(1 << 10) values to keep track of. |
+
static int |
+MAX_SHORT_NAME_ANY_BYTES
+Regardless of ASCII/non-ASCII aspect, maximum byte length for any
+ short name is then 64 bytes.
+ |
+
static int |
+MAX_SHORT_NAME_ASCII_BYTES
+Maximum byte length for short ASCII names is 64.
+ |
+
static int |
+MAX_SHORT_NAME_UNICODE_BYTES
+Maximum byte length for short non-ASCII names is slightly
+ less due to having to reserve bytes 0xF8 and above (but
+ we get one more as values 0 and 1 are not valid)
+ |
+
static int |
+MAX_SHORT_VALUE_STRING_BYTES
+Encoding has special "short" forms for value Strings that can
+ be represented by 64 bytes of UTF-8 or less.
+ |
+
static int |
+MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING
+And to make encoding logic tight and simple, we can always
+ require that output buffer has this amount of space
+ available before encoding possibly short String (3 bytes since
+ longest UTF-8 encoded Java char is 3 bytes).
+ |
+
static int[] |
+sUtf8UnitLengths
+Additionally we can combine UTF-8 decoding info into similar
+ data table.
+ |
+
static byte |
+TOKEN_KEY_EMPTY_STRING
+Let's use same code for empty key as for empty String value
+ |
+
static byte |
+TOKEN_KEY_LONG_STRING |
+
static byte |
+TOKEN_LITERAL_EMPTY_STRING |
+
static byte |
+TOKEN_LITERAL_END_ARRAY |
+
static byte |
+TOKEN_LITERAL_END_OBJECT |
+
static byte |
+TOKEN_LITERAL_FALSE |
+
static byte |
+TOKEN_LITERAL_NULL |
+
static byte |
+TOKEN_LITERAL_START_ARRAY |
+
static byte |
+TOKEN_LITERAL_START_OBJECT |
+
static byte |
+TOKEN_LITERAL_TRUE |
+
static byte |
+TOKEN_MISC_BINARY_7BIT
+Type (for misc, other) used
+ for "safe" (encoded by only using 7 LSB, giving 8/7 expansion ratio).
+ |
+
static byte |
+TOKEN_MISC_BINARY_RAW
+Raw binary data marker is specifically chosen as separate from
+ other types, since it can have significant impact on framing
+ (or rather fast scanning based on structure and framing markers).
+ |
+
static int |
+TOKEN_MISC_FLOAT_32
+Numeric subtype (2 LSB) for
+ indicating 32-bit IEEE single precision floating point number.
+ |
+
static int |
+TOKEN_MISC_FLOAT_64
+Numeric subtype (2 LSB)
+ indicating 64-bit IEEE double precision floating point number.
+ |
+
static int |
+TOKEN_MISC_FLOAT_BIG
+Numeric subtype (2 LSB) for
+ indicating
+BigDecimal type. |
+
static int |
+TOKEN_MISC_INTEGER_32
+Numeric subtype (2 LSB)
+ indicating 32-bit integer (int)
+ |
+
static int |
+TOKEN_MISC_INTEGER_64
+Numeric subtype (2 LSB)
+ indicating 32-bit integer (long)
+ |
+
static int |
+TOKEN_MISC_INTEGER_BIG
+Numeric subtype (2 LSB) for
+ indicating
+BigInteger type. |
+
static byte |
+TOKEN_MISC_LONG_TEXT_ASCII
+Type (for misc, other) used for
+ variable length UTF-8 encoded text, when it is known to only contain ASCII chars.
+ |
+
static byte |
+TOKEN_MISC_LONG_TEXT_UNICODE
+Type (for misc, other) used
+ for variable length UTF-8 encoded text, when it is NOT known to only contain ASCII chars
+ (which means it MAY have multi-byte characters)
+ Note: 2 LSB are reserved for future use; must be zeroes for now
+ |
+
static int |
+TOKEN_PREFIX_FP |
+
static int |
+TOKEN_PREFIX_INTEGER |
+
static int |
+TOKEN_PREFIX_KEY_ASCII |
+
static int |
+TOKEN_PREFIX_KEY_SHARED_LONG |
+
static int |
+TOKEN_PREFIX_KEY_SHARED_SHORT |
+
static int |
+TOKEN_PREFIX_KEY_UNICODE |
+
static int |
+TOKEN_PREFIX_MISC_OTHER |
+
static int |
+TOKEN_PREFIX_SHARED_STRING_LONG |
+
static int |
+TOKEN_PREFIX_SHARED_STRING_SHORT |
+
static int |
+TOKEN_PREFIX_SHORT_UNICODE |
+
static int |
+TOKEN_PREFIX_SMALL_ASCII |
+
static int |
+TOKEN_PREFIX_SMALL_INT |
+
static int |
+TOKEN_PREFIX_TINY_ASCII |
+
static int |
+TOKEN_PREFIX_TINY_UNICODE |
+
| Constructor and Description | +
|---|
SmileConstants() |
+
public static final int MAX_SHORT_VALUE_STRING_BYTES+
public static final int MAX_SHORT_NAME_ASCII_BYTES+
public static final int MAX_SHORT_NAME_UNICODE_BYTES+
public static final int MAX_SHORT_NAME_ANY_BYTES+
public static final int MAX_SHARED_NAMES+
public static final int MAX_SHARED_STRING_VALUES+
(1 << 10) values to keep track of.public static final int MAX_SHARED_STRING_LENGTH_BYTES+
public static final int MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING+
public static final int INT_MARKER_END_OF_STRING+
public static final byte BYTE_MARKER_END_OF_STRING+
public static final byte BYTE_MARKER_END_OF_CONTENT+
public static final byte HEADER_BYTE_1+
public static final byte HEADER_BYTE_2+
public static final byte HEADER_BYTE_3+
public static final int HEADER_VERSION_0+
public static final byte HEADER_BYTE_4+
public static final int HEADER_BIT_HAS_SHARED_NAMES+
public static final int HEADER_BIT_HAS_SHARED_STRING_VALUES+
public static final int HEADER_BIT_HAS_RAW_BINARY+
+ Note that this bit being true does not automatically mean that + such raw binary content indeed exists; just that it may exist. + This because header is written before any binary data may be + written.
public static final int TOKEN_PREFIX_INTEGER+
public static final int TOKEN_PREFIX_FP+
public static final int TOKEN_PREFIX_SHARED_STRING_SHORT+
public static final int TOKEN_PREFIX_SHARED_STRING_LONG+
public static final int TOKEN_PREFIX_TINY_ASCII+
public static final int TOKEN_PREFIX_SMALL_ASCII+
public static final int TOKEN_PREFIX_TINY_UNICODE+
public static final int TOKEN_PREFIX_SHORT_UNICODE+
public static final int TOKEN_PREFIX_SMALL_INT+
public static final int TOKEN_PREFIX_MISC_OTHER+
public static final byte TOKEN_LITERAL_EMPTY_STRING+
public static final byte TOKEN_LITERAL_NULL+
public static final byte TOKEN_LITERAL_FALSE+
public static final byte TOKEN_LITERAL_TRUE+
public static final byte TOKEN_LITERAL_START_ARRAY+
public static final byte TOKEN_LITERAL_END_ARRAY+
public static final byte TOKEN_LITERAL_START_OBJECT+
public static final byte TOKEN_LITERAL_END_OBJECT+
public static final int INT_MISC_BINARY_7BIT+
public static final int INT_MISC_BINARY_RAW+
public static final byte TOKEN_MISC_LONG_TEXT_ASCII+
public static final byte TOKEN_MISC_LONG_TEXT_UNICODE+
public static final byte TOKEN_MISC_BINARY_7BIT+
public static final byte TOKEN_MISC_BINARY_RAW+
public static final int TOKEN_MISC_INTEGER_32+
public static final int TOKEN_MISC_INTEGER_64+
public static final int TOKEN_MISC_INTEGER_BIG+
BigInteger type.public static final int TOKEN_MISC_FLOAT_32+
public static final int TOKEN_MISC_FLOAT_64+
public static final int TOKEN_MISC_FLOAT_BIG+
BigDecimal type.public static final byte TOKEN_KEY_EMPTY_STRING+
public static final int TOKEN_PREFIX_KEY_SHARED_LONG+
public static final byte TOKEN_KEY_LONG_STRING+
public static final int TOKEN_PREFIX_KEY_SHARED_SHORT+
public static final int TOKEN_PREFIX_KEY_ASCII+
public static final int TOKEN_PREFIX_KEY_UNICODE+
public static final int[] sUtf8UnitLengths+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileFactory.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileFactory.html new file mode 100644 index 000000000..0e34d340b --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileFactory.html @@ -0,0 +1,1310 @@ + + + + + + +public class SmileFactory
+extends com.fasterxml.jackson.core.JsonFactory
+SmileParser and SmileGenerator
+ instances; both of which handle
+ Smile encoded data.
+
+ Extends JsonFactory mostly so that users can actually use it in place
+ of regular non-Smile factory instances.
+
+ Note on using non-byte-based sources/targets (char based, like
+ Reader and Writer): these can not be
+ used for Smile-format documents, and thus will either downgrade to
+ textual JSON (when parsing), or throw exception (when trying to create
+ generator).
com.fasterxml.jackson.core.JsonFactory.Feature| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_cfgDelegateToTextual
+Whether non-supported methods (ones trying to output using
+ char-based targets like
+Writer, for example)
+ should be delegated to regular Jackson JSON processing
+ (if set to true); or throw UnsupportedOperationException
+ (if set to false) |
+
protected int |
+_smileGeneratorFeatures |
+
protected int |
+_smileParserFeatures |
+
static String |
+FORMAT_NAME_SMILE
+Name used to identify Smile format.
+ |
+
_byteSymbolCanonicalizer, _characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON| Modifier | +Constructor and Description | +
|---|---|
|
+SmileFactory()
+Default constructor used to create factory instances.
+ |
+
|
+SmileFactory(com.fasterxml.jackson.core.ObjectCodec oc) |
+
protected |
+SmileFactory(SmileFactoryBuilder b)
+Constructors used by
+SmileFactoryBuilder for instantiation. |
+
|
+SmileFactory(SmileFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc)
+Note: REQUIRES 2.2.1 -- unfortunate intra-patch dep but seems
+ preferable to just leaving bug be as is
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected SmileGenerator |
+_createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonGenerator |
+_createGenerator(Writer out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected SmileParser |
+_createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(char[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt,
+ boolean recyclable) |
+
protected SmileParser |
+_createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired parser.
+ |
+
protected com.fasterxml.jackson.core.JsonParser |
+_createParser(Reader r,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected com.fasterxml.jackson.core.JsonGenerator |
+_createUTF8Generator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected Writer |
+_createWriter(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected <T> T |
+_nonByteSource() |
+
protected <T> T |
+_nonByteTarget() |
+
static SmileFactoryBuilder |
+builder()
+Main factory method to use for constructing
+SmileFactory instances with
+ different configuration. |
+
boolean |
+canHandleBinaryNatively() |
+
boolean |
+canParseAsync() |
+
boolean |
+canUseCharArrays() |
+
SmileFactory |
+configure(SmileGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileFactory |
+configure(SmileParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+SmileParser.Feature for list of features) |
+
SmileFactory |
+copy() |
+
SmileGenerator |
+createGenerator(OutputStream out)
+Method for constructing
+JsonGenerator for generating
+ Smile-encoded output. |
+
SmileGenerator |
+createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc)
+Method for constructing
+JsonGenerator for generating
+ Smile-encoded output. |
+
NonBlockingByteArrayParser |
+createNonBlockingByteArrayParser() |
+
SmileParser |
+createParser(byte[] data) |
+
SmileParser |
+createParser(byte[] data,
+ int offset,
+ int len) |
+
SmileParser |
+createParser(File f) |
+
SmileParser |
+createParser(InputStream in) |
+
SmileParser |
+createParser(URL url) |
+
void |
+delegateToTextual(boolean state) |
+
SmileFactory |
+disable(SmileGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileFactory |
+disable(SmileParser.Feature f)
+Method for disabling specified parser features
+ (check
+SmileParser.Feature for list of features) |
+
SmileFactory |
+enable(SmileGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileFactory |
+enable(SmileParser.Feature f)
+Method for enabling specified parser feature
+ (check
+SmileParser.Feature for list of features) |
+
int |
+getFormatGeneratorFeatures() |
+
String |
+getFormatName() |
+
int |
+getFormatParserFeatures() |
+
Class<SmileParser.Feature> |
+getFormatReadFeatureType() |
+
Class<SmileGenerator.Feature> |
+getFormatWriteFeatureType() |
+
com.fasterxml.jackson.core.format.MatchStrength |
+hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
+Sub-classes need to override this method (as of 1.8)
+ |
+
boolean |
+isEnabled(SmileGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
boolean |
+isEnabled(SmileParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
protected Object |
+readResolve()
+Method that we need to override to actually make restoration go
+ through constructors etc.
+ |
+
SmileFactoryBuilder |
+rebuild() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_checkInvalidCopy, _createContentReference, _createContentReference, _createContext, _createContext, _createNonBlockingContext, _createParser, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, canUseSchema, configure, configure, configure, createGenerator, createGenerator, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createParser, createParser, createParser, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, requiresCustomCodec, requiresPropertyOrdering, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator_createDataOutputWrapper, _optimizedStreamFromURLpublic static final String FORMAT_NAME_SMILE+
getFormatName()protected boolean _cfgDelegateToTextual+
Writer, for example)
+ should be delegated to regular Jackson JSON processing
+ (if set to true); or throw UnsupportedOperationException
+ (if set to false)protected int _smileParserFeatures+
protected int _smileGeneratorFeatures+
public SmileFactory()+
public SmileFactory(com.fasterxml.jackson.core.ObjectCodec oc)+
public SmileFactory(SmileFactory src, + com.fasterxml.jackson.core.ObjectCodec oc)+
protected SmileFactory(SmileFactoryBuilder b)+
SmileFactoryBuilder for instantiation.public SmileFactoryBuilder rebuild()+
rebuild in class com.fasterxml.jackson.core.JsonFactorypublic static SmileFactoryBuilder builder()+
SmileFactory instances with
+ different configuration.public SmileFactory copy()+
copy in class com.fasterxml.jackson.core.JsonFactorypublic void delegateToTextual(boolean state)+
protected Object readResolve()+
readResolve in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonFactorypublic String getFormatName()+
getFormatName in class com.fasterxml.jackson.core.JsonFactorypublic com.fasterxml.jackson.core.format.MatchStrength hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + throws IOException+
hasFormat in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic boolean canUseCharArrays()+
canUseCharArrays in class com.fasterxml.jackson.core.JsonFactorypublic boolean canHandleBinaryNatively()+
canHandleBinaryNatively in class com.fasterxml.jackson.core.JsonFactorypublic boolean canParseAsync()+
canParseAsync in class com.fasterxml.jackson.core.JsonFactorypublic Class<SmileParser.Feature> getFormatReadFeatureType()+
getFormatReadFeatureType in class com.fasterxml.jackson.core.JsonFactorypublic Class<SmileGenerator.Feature> getFormatWriteFeatureType()+
getFormatWriteFeatureType in class com.fasterxml.jackson.core.JsonFactorypublic final SmileFactory configure(SmileParser.Feature f, + boolean state)+
SmileParser.Feature for list of features)public SmileFactory enable(SmileParser.Feature f)+
SmileParser.Feature for list of features)public SmileFactory disable(SmileParser.Feature f)+
SmileParser.Feature for list of features)public final boolean isEnabled(SmileParser.Feature f)+
public int getFormatParserFeatures()+
getFormatParserFeatures in class com.fasterxml.jackson.core.JsonFactorypublic final SmileFactory configure(SmileGenerator.Feature f, + boolean state)+
SmileGenerator.Feature for list of features)public SmileFactory enable(SmileGenerator.Feature f)+
SmileGenerator.Feature for list of features)public SmileFactory disable(SmileGenerator.Feature f)+
SmileGenerator.Feature for list of features)public final boolean isEnabled(SmileGenerator.Feature f)+
public int getFormatGeneratorFeatures()+
getFormatGeneratorFeatures in class com.fasterxml.jackson.core.JsonFactorypublic SmileParser createParser(File f) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic SmileParser createParser(URL url) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic SmileParser createParser(InputStream in) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic SmileParser createParser(byte[] data) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic SmileParser createParser(byte[] data, + int offset, + int len) + throws IOException+
createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic SmileGenerator createGenerator(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc) + throws IOException+
JsonGenerator for generating
+ Smile-encoded output.
+
+ Since Smile format always uses UTF-8 internally, enc
+ argument is ignored.
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic SmileGenerator createGenerator(OutputStream out) + throws IOException+
JsonGenerator for generating
+ Smile-encoded output.
++ Since Smile format always uses UTF-8 internally, no encoding need + to be passed to this method.
createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionpublic NonBlockingByteArrayParser createNonBlockingByteArrayParser() + throws IOException+
createNonBlockingByteArrayParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected SmileParser _createParser(InputStream in, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(Reader r, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonParser _createParser(char[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt, + boolean recyclable) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected SmileParser _createParser(byte[] data, + int offset, + int len, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createParser in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonGenerator _createGenerator(Writer out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createGenerator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected com.fasterxml.jackson.core.JsonGenerator _createUTF8Generator(OutputStream out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createUTF8Generator in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected Writer _createWriter(OutputStream out, + com.fasterxml.jackson.core.JsonEncoding enc, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
_createWriter in class com.fasterxml.jackson.core.JsonFactoryIOExceptionprotected <T> T _nonByteSource() + throws IOException+
IOExceptionprotected <T> T _nonByteTarget() + throws IOException+
IOExceptionprotected SmileGenerator _createGenerator(OutputStream out, + com.fasterxml.jackson.core.io.IOContext ctxt) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileFactoryBuilder.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileFactoryBuilder.html new file mode 100644 index 000000000..184be79a2 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileFactoryBuilder.html @@ -0,0 +1,541 @@ + + + + + + +public class SmileFactoryBuilder +extends com.fasterxml.jackson.core.TSFBuilder<SmileFactory,SmileFactoryBuilder>+
TSFBuilder
+ implementation for constructing SmileFactory
+ instances.| Modifier and Type | +Field and Description | +
|---|---|
protected int |
+_formatGeneratorFeatures
+Set of
+SmileGenerator.Features enabled, as bitmask. |
+
protected int |
+_formatParserFeatures
+Set of
+SmileParser.Features enabled, as bitmask. |
+
_factoryFeatures, _inputDecorator, _outputDecorator, _streamReadFeatures, _streamWriteFeatures, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS| Modifier | +Constructor and Description | +
|---|---|
protected |
+SmileFactoryBuilder() |
+
|
+SmileFactoryBuilder(SmileFactory base) |
+
| Modifier and Type | +Method and Description | +
|---|---|
SmileFactory |
+build() |
+
SmileFactoryBuilder |
+configure(SmileGenerator.Feature f,
+ boolean state) |
+
SmileFactoryBuilder |
+configure(SmileParser.Feature f,
+ boolean state) |
+
SmileFactoryBuilder |
+disable(SmileGenerator.Feature f) |
+
SmileFactoryBuilder |
+disable(SmileGenerator.Feature first,
+ SmileGenerator.Feature... other) |
+
SmileFactoryBuilder |
+disable(SmileParser.Feature f) |
+
SmileFactoryBuilder |
+disable(SmileParser.Feature first,
+ SmileParser.Feature... other) |
+
SmileFactoryBuilder |
+enable(SmileGenerator.Feature f) |
+
SmileFactoryBuilder |
+enable(SmileGenerator.Feature first,
+ SmileGenerator.Feature... other) |
+
SmileFactoryBuilder |
+enable(SmileParser.Feature f) |
+
SmileFactoryBuilder |
+enable(SmileParser.Feature first,
+ SmileParser.Feature... other) |
+
int |
+formatGeneratorFeaturesMask() |
+
int |
+formatParserFeaturesMask() |
+
_legacyDisable, _legacyDisable, _legacyEnable, _legacyEnable, _this, configure, configure, configure, configure, configure, disable, disable, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, enable, enable, factoryFeaturesMask, inputDecorator, inputDecorator, outputDecorator, outputDecorator, streamReadFeatures, streamWriteFeaturesprotected int _formatParserFeatures+
SmileParser.Features enabled, as bitmask.protected int _formatGeneratorFeatures+
SmileGenerator.Features enabled, as bitmask.protected SmileFactoryBuilder()+
public SmileFactoryBuilder(SmileFactory base)+
public SmileFactory build()+
build in class com.fasterxml.jackson.core.TSFBuilder<SmileFactory,SmileFactoryBuilder>public SmileFactoryBuilder enable(SmileParser.Feature f)+
public SmileFactoryBuilder enable(SmileParser.Feature first, + SmileParser.Feature... other)+
public SmileFactoryBuilder disable(SmileParser.Feature f)+
public SmileFactoryBuilder disable(SmileParser.Feature first, + SmileParser.Feature... other)+
public SmileFactoryBuilder configure(SmileParser.Feature f, + boolean state)+
public SmileFactoryBuilder enable(SmileGenerator.Feature f)+
public SmileFactoryBuilder enable(SmileGenerator.Feature first, + SmileGenerator.Feature... other)+
public SmileFactoryBuilder disable(SmileGenerator.Feature f)+
public SmileFactoryBuilder disable(SmileGenerator.Feature first, + SmileGenerator.Feature... other)+
public SmileFactoryBuilder configure(SmileGenerator.Feature f, + boolean state)+
public int formatParserFeaturesMask()+
public int formatGeneratorFeaturesMask()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.Feature.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.Feature.html new file mode 100644 index 000000000..70e314e61 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.Feature.html @@ -0,0 +1,589 @@ + + + + + + +public static enum SmileGenerator.Feature +extends Enum<SmileGenerator.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Enum Constant and Description | +
|---|
CHECK_SHARED_NAMES
+Whether generator should check if it can "share" field names during generating
+ content or not.
+ |
+
CHECK_SHARED_STRING_VALUES
+Whether generator should check if it can "share" short (at most 64 bytes encoded)
+ String value during generating
+ content or not.
+ |
+
ENCODE_BINARY_AS_7BIT
+Whether to use simple 7-bit per byte encoding for binary content when output.
+ |
+
LENIENT_UTF_ENCODING
+Feature that determines if an invalid surrogate encoding found in the
+ incoming String should fail with an exception or silently be output
+ as the Unicode 'REPLACEMENT CHARACTER' (U+FFFD) or not; if not,
+ an exception will be thrown to indicate invalid content.
+ |
+
WRITE_END_MARKER
+Whether write byte marker that signifies end of logical content segment
+ (
+SmileConstants.BYTE_MARKER_END_OF_CONTENT) when
+ SmileGenerator.close() is called or not. |
+
WRITE_HEADER
+Whether to write 4-byte header sequence when starting output or not.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_defaultState |
+
protected int |
+_mask |
+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that
+ are enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static SmileGenerator.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static SmileGenerator.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final SmileGenerator.Feature WRITE_HEADER+
+ Default setting is true, meaning that header will be written.
public static final SmileGenerator.Feature WRITE_END_MARKER+
SmileConstants.BYTE_MARKER_END_OF_CONTENT) when
+ SmileGenerator.close() is called or not. This can be useful when outputting
+ multiple adjacent logical content segments (documents) into single
+ physical output unit (file).
++ Default setting is false meaning that such marker is not written.
public static final SmileGenerator.Feature ENCODE_BINARY_AS_7BIT+
+ Default setting is true, indicating that binary data is quoted as 7-bit bytes + instead of written raw.
public static final SmileGenerator.Feature CHECK_SHARED_NAMES+
+ Since field names tend to repeat quite often, this setting is enabled by default.
public static final SmileGenerator.Feature CHECK_SHARED_STRING_VALUES+
+ Since efficiency of this option depends a lot on type of content being produced, + this option is disabled by default, and should only be enabled if it is likely that + same values repeat relatively often.
public static final SmileGenerator.Feature LENIENT_UTF_ENCODING+
+ Default value is false (for backwards compatibility) meaning that
+ an invalid surrogate will result in exception (IllegalArgumentException
protected final boolean _defaultState+
protected final int _mask+
public static SmileGenerator.Feature[] values()+
+for (SmileGenerator.Feature c : SmileGenerator.Feature.values()) + System.out.println(c); +
public static SmileGenerator.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.SharedStringNode.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.SharedStringNode.html new file mode 100644 index 000000000..76c3dea3a --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.SharedStringNode.html @@ -0,0 +1,311 @@ + + + + + + +protected static final class SmileGenerator.SharedStringNode +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
int |
+index |
+
SmileGenerator.SharedStringNode |
+next |
+
String |
+value |
+
| Constructor and Description | +
|---|
SharedStringNode(String value,
+ int index,
+ SmileGenerator.SharedStringNode next) |
+
public final String value+
public final int index+
public SmileGenerator.SharedStringNode next+
public SharedStringNode(String value, + int index, + SmileGenerator.SharedStringNode next)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.html new file mode 100644 index 000000000..172f631a5 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileGenerator.html @@ -0,0 +1,2270 @@ + + + + + + +public class SmileGenerator
+extends com.fasterxml.jackson.core.base.GeneratorBase
+JsonGenerator implementation for Smile-encoded content
+ (see Smile Format Specification)| Modifier and Type | +Class and Description | +
|---|---|
static class |
+SmileGenerator.Feature
+Enumeration that defines all togglable features for Smile generators.
+ |
+
protected static class |
+SmileGenerator.SharedStringNode
+Helper class used for keeping track of possibly shareable String
+ references (for field names and/or short String values)
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_bufferRecyclable
+Flag that indicates whether the output buffer is recycable (and
+ needs to be returned to recycler once we are done) or not.
+ |
+
protected int |
+_bytesWritten
+Let's keep track of how many bytes have been output, may prove useful
+ when debugging.
+ |
+
protected int |
+_formatFeatures
+Bit flag composed of bits that indicate which
+
+SmileGenerator.Features
+ are enabled. |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext |
+
protected OutputStream |
+_out |
+
protected byte[] |
+_outputBuffer
+Intermediate buffer in which contents are buffered before
+ being written using
+_out. |
+
protected int |
+_outputEnd
+Offset to index after the last valid index in
+_outputBuffer. |
+
protected int |
+_outputTail
+Pointer to the next available byte in
+_outputBuffer |
+
protected int |
+_seenNameCount
+Number of entries in
+_seenNames; -1 if no shared name
+ detection is enabled |
+
protected SmileGenerator.SharedStringNode[] |
+_seenNames
+Raw data structure used for checking whether field name to
+ write can be output using back reference or not.
+ |
+
protected int |
+_seenStringValueCount
+Number of entries in
+_seenStringValues; -1 if no shared text value
+ detection is enabled |
+
protected SmileGenerator.SharedStringNode[] |
+_seenStringValues
+Raw data structure used for checking whether String value to
+ write can be output using back reference or not.
+ |
+
protected SmileBufferRecycler<SmileGenerator.SharedStringNode> |
+_smileBufferRecycler
+Helper object used for low-level recycling of Smile-generator
+ specific buffers.
+ |
+
protected static ThreadLocal<SoftReference<SmileBufferRecycler<SmileGenerator.SharedStringNode>>> |
+_smileRecyclerRef
+This
+ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers. |
+
protected SmileWriteContext |
+_streamWriteContext |
+
protected static long |
+MAX_INT_AS_LONG |
+
protected static long |
+MIN_INT_AS_LONG |
+
protected static int |
+REPLACEMENT_CHAR
+The replacement character to use to fix invalid Unicode sequences
+ (mismatched surrogate pair).
+ |
+
protected static byte |
+TOKEN_BYTE_BIG_DECIMAL |
+
protected static byte |
+TOKEN_BYTE_BIG_INTEGER |
+
protected static byte |
+TOKEN_BYTE_FLOAT_32 |
+
protected static byte |
+TOKEN_BYTE_FLOAT_64 |
+
protected static byte |
+TOKEN_BYTE_INT_32 |
+
protected static byte |
+TOKEN_BYTE_INT_64 |
+
protected static byte |
+TOKEN_BYTE_LONG_STRING_ASCII |
+
_cfgNumbersAsStrings, _closed, _features, _objectCodec, _writeContext, DERIVED_FEATURES_MASK, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING_cfgPrettyPrinter, DEFAULT_BINARY_WRITE_CAPABILITIES, DEFAULT_TEXTUAL_WRITE_CAPABILITIES, DEFAULT_WRITE_CAPABILITIES| Constructor and Description | +
|---|
SmileGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int stdFeatures,
+ int smileFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ OutputStream out) |
+
SmileGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int stdFeatures,
+ int smileFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ OutputStream out,
+ byte[] outputBuffer,
+ int offset,
+ boolean bufferRecyclable) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_flushBuffer() |
+
protected UnsupportedOperationException |
+_notSupported() |
+
protected void |
+_releaseBuffers() |
+
protected static SmileBufferRecycler<SmileGenerator.SharedStringNode> |
+_smileBufferRecycler() |
+
protected void |
+_verifyValueWrite(String typeMsg) |
+
protected void |
+_write7BitBinaryWithLength(byte[] data,
+ int offset,
+ int len) |
+
protected int |
+_write7BitBinaryWithLength(InputStream in,
+ int bytesLeft,
+ byte[] buffer) |
+
protected void |
+_writeDecimalNumber(String enc) |
+
protected void |
+_writeFieldName(com.fasterxml.jackson.core.SerializableString name) |
+
protected void |
+_writeFieldNameUnicode(com.fasterxml.jackson.core.SerializableString name,
+ byte[] bytes) |
+
protected void |
+_writeIntegralNumber(String enc,
+ boolean neg) |
+
void |
+assignCurrentValue(Object v) |
+
boolean |
+canWriteBinaryNatively() |
+
void |
+close() |
+
SmileGenerator |
+configure(SmileGenerator.Feature f,
+ boolean state) |
+
Object |
+currentValue() |
+
SmileGenerator |
+disable(SmileGenerator.Feature f) |
+
SmileGenerator |
+enable(SmileGenerator.Feature f) |
+
void |
+flush() |
+
Object |
+getCurrentValue() |
+
int |
+getFormatFeatures() |
+
int |
+getOutputBuffered() |
+
com.fasterxml.jackson.core.JsonStreamContext |
+getOutputContext() |
+
Object |
+getOutputTarget() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> |
+getWriteCapabilities() |
+
boolean |
+isEnabled(SmileGenerator.Feature f) |
+
protected long |
+outputOffset()
+Method for accessing offset of the next byte within the whole output
+ stream that this generator has produced.
+ |
+
com.fasterxml.jackson.core.JsonGenerator |
+overrideFormatFeatures(int values,
+ int mask) |
+
void |
+setCurrentValue(Object v) |
+
com.fasterxml.jackson.core.JsonGenerator |
+setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)
+No way (or need) to indent anything, so let's block any attempts.
+ |
+
com.fasterxml.jackson.core.JsonGenerator |
+useDefaultPrettyPrinter()
+No way (or need) to indent anything, so let's block any attempts.
+ |
+
com.fasterxml.jackson.core.Version |
+version() |
+
void |
+writeArray(double[] array,
+ int offset,
+ int length) |
+
void |
+writeArray(int[] array,
+ int offset,
+ int length) |
+
void |
+writeArray(long[] array,
+ int offset,
+ int length) |
+
void |
+writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
+ byte[] data,
+ int offset,
+ int len) |
+
int |
+writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
+ InputStream data,
+ int dataLength) |
+
int |
+writeBinary(InputStream data,
+ int dataLength) |
+
void |
+writeBoolean(boolean state) |
+
void |
+writeBytes(byte[] data,
+ int offset,
+ int len)
+Method for directly inserting specified bytes in output at
+ current position.
+ |
+
void |
+writeEndArray() |
+
void |
+writeEndObject() |
+
void |
+writeFieldName(com.fasterxml.jackson.core.SerializableString name) |
+
void |
+writeFieldName(String name) |
+
void |
+writeHeader()
+Method that can be called to explicitly write Smile document header.
+ |
+
void |
+writeNull() |
+
void |
+writeNumber(BigDecimal dec) |
+
void |
+writeNumber(BigInteger v) |
+
void |
+writeNumber(double d) |
+
void |
+writeNumber(float f) |
+
void |
+writeNumber(int i) |
+
void |
+writeNumber(long l) |
+
void |
+writeNumber(String encodedValue) |
+
void |
+writeRaw(byte b)
+Method for directly inserting specified byte in output at
+ current position.
+ |
+
void |
+writeRaw(char c) |
+
void |
+writeRaw(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRaw(String text) |
+
void |
+writeRaw(String text,
+ int offset,
+ int len) |
+
void |
+writeRawUTF8String(byte[] text,
+ int offset,
+ int len) |
+
void |
+writeRawValue(char[] text,
+ int offset,
+ int len) |
+
void |
+writeRawValue(String text) |
+
void |
+writeRawValue(String text,
+ int offset,
+ int len) |
+
void |
+writeStartArray() |
+
void |
+writeStartArray(int size)
+Deprecated.
+ |
+
void |
+writeStartArray(Object forValue) |
+
void |
+writeStartArray(Object forValue,
+ int elementsToWrite) |
+
void |
+writeStartObject() |
+
void |
+writeStartObject(Object forValue) |
+
void |
+writeString(char[] text,
+ int offset,
+ int len) |
+
void |
+writeString(com.fasterxml.jackson.core.SerializableString sstr) |
+
void |
+writeString(String text) |
+
void |
+writeUTF8String(byte[] text,
+ int offset,
+ int len) |
+
_asString, _checkStdFeatureChanges, _constructDefaultPrettyPrinter, _decodeSurrogate, disable, enable, getCodec, getFeatureMask, isClosed, isEnabled, overrideStdFeatures, setCodec, setFeatureMask, writeObject, writeRawValue, writeTree_copyCurrentContents, _reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, canOmitFields, canUseSchema, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, configure, copyCurrentEvent, copyCurrentStructure, getCharacterEscapes, getHighestEscapedChar, getPrettyPrinter, getSchema, isEnabled, setCharacterEscapes, setHighestNonEscapedChar, setRootValueSeparator, setSchema, writeArray, writeArrayFieldStart, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeFieldId, writeNullField, writeNumber, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writePOJO, writePOJOField, writeRaw, writeStartObject, writeString, writeStringField, writeTypeId, writeTypePrefix, writeTypeSuffixprotected static final byte TOKEN_BYTE_LONG_STRING_ASCII+
protected static final byte TOKEN_BYTE_INT_32+
protected static final byte TOKEN_BYTE_INT_64+
protected static final byte TOKEN_BYTE_BIG_INTEGER+
protected static final byte TOKEN_BYTE_FLOAT_32+
protected static final byte TOKEN_BYTE_FLOAT_64+
protected static final byte TOKEN_BYTE_BIG_DECIMAL+
protected static final long MIN_INT_AS_LONG+
protected static final long MAX_INT_AS_LONG+
protected static final int REPLACEMENT_CHAR+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected final OutputStream _out+
protected int _formatFeatures+
SmileGenerator.Features
+ are enabled.protected final SmileBufferRecycler<SmileGenerator.SharedStringNode> _smileBufferRecycler+
protected SmileWriteContext _streamWriteContext+
protected byte[] _outputBuffer+
_out.protected int _outputTail+
_outputBufferprotected final int _outputEnd+
_outputBuffer.
+ Typically same as length of the buffer.protected int _bytesWritten+
protected SmileGenerator.SharedStringNode[] _seenNames+
protected int _seenNameCount+
_seenNames; -1 if no shared name
+ detection is enabledprotected SmileGenerator.SharedStringNode[] _seenStringValues+
protected int _seenStringValueCount+
_seenStringValues; -1 if no shared text value
+ detection is enabledprotected boolean _bufferRecyclable+
protected static final ThreadLocal<SoftReference<SmileBufferRecycler<SmileGenerator.SharedStringNode>>> _smileRecyclerRef+
ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers.public SmileGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, + int stdFeatures, + int smileFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + OutputStream out)+
public SmileGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, + int stdFeatures, + int smileFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + OutputStream out, + byte[] outputBuffer, + int offset, + boolean bufferRecyclable)+
public void writeHeader() + throws IOException+
SmileFactory calls this method.IOExceptionprotected static final SmileBufferRecycler<SmileGenerator.SharedStringNode> _smileBufferRecycler()+
public com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.base.GeneratorBasepublic boolean canWriteBinaryNatively()+
canWriteBinaryNatively in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamWriteCapability> getWriteCapabilities()+
getWriteCapabilities in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator useDefaultPrettyPrinter()+
useDefaultPrettyPrinter in class com.fasterxml.jackson.core.base.GeneratorBasepublic com.fasterxml.jackson.core.JsonGenerator setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)+
setPrettyPrinter in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getOutputTarget()+
getOutputTarget in class com.fasterxml.jackson.core.JsonGeneratorpublic int getOutputBuffered()+
getOutputBuffered in class com.fasterxml.jackson.core.JsonGeneratorpublic int getFormatFeatures()+
getFormatFeatures in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator overrideFormatFeatures(int values, + int mask)+
overrideFormatFeatures in class com.fasterxml.jackson.core.JsonGeneratorpublic Object currentValue()+
currentValue in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.base.GeneratorBasepublic void assignCurrentValue(Object v)+
assignCurrentValue in class com.fasterxml.jackson.core.JsonGeneratorpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.base.GeneratorBasepublic com.fasterxml.jackson.core.JsonStreamContext getOutputContext()+
getOutputContext in class com.fasterxml.jackson.core.base.GeneratorBasepublic final void writeFieldName(String name) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeFieldName(com.fasterxml.jackson.core.SerializableString name) + throws IOException+
writeFieldName in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic SmileGenerator enable(SmileGenerator.Feature f)+
public SmileGenerator disable(SmileGenerator.Feature f)+
public final boolean isEnabled(SmileGenerator.Feature f)+
public SmileGenerator configure(SmileGenerator.Feature f, + boolean state)+
public void writeRaw(byte b) + throws IOException+
+ NOTE: only use this method if you really know what you are doing.
IOExceptionpublic void writeBytes(byte[] data, + int offset, + int len) + throws IOException+
+ NOTE: only use this method if you really know what you are doing.
IOExceptionpublic final void writeStartArray() + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartArray(Object forValue) + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartArray(Object forValue, + int elementsToWrite) + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOException@Deprecated +public final void writeStartArray(int size) + throws IOException+
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeEndArray() + throws IOException+
writeEndArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartObject() + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeStartObject(Object forValue) + throws IOException+
writeStartObject in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void writeEndObject() + throws IOException+
writeEndObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(int[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(long[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeArray(double[] array, + int offset, + int length) + throws IOException+
writeArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected final void _writeFieldName(com.fasterxml.jackson.core.SerializableString name) + throws IOException+
IOExceptionprotected final void _writeFieldNameUnicode(com.fasterxml.jackson.core.SerializableString name, + byte[] bytes) + throws IOException+
IOExceptionpublic void writeString(String text) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(char[] text, + int offset, + int len) + throws IOException+
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeString(com.fasterxml.jackson.core.SerializableString sstr) + throws IOException+
writeString in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawUTF8String(byte[] text, + int offset, + int len) + throws IOException+
writeRawUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic final void writeUTF8String(byte[] text, + int offset, + int len) + throws IOException+
writeUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String text) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char[] text, + int offset, + int len) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char c) + throws IOException+
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(String text) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(String text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeRawValue(char[] text, + int offset, + int len) + throws IOException+
writeRawValue in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, + byte[] data, + int offset, + int len) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic int writeBinary(InputStream data, + int dataLength) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic int writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, + InputStream data, + int dataLength) + throws IOException+
writeBinary in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void writeBoolean(boolean state) + throws IOException+
writeBoolean in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNull() + throws IOException+
writeNull in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(int i) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(long l) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigInteger v) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(double d) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(float f) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigDecimal dec) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(String encodedValue) + throws IOException+
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionprotected void _writeIntegralNumber(String enc, + boolean neg) + throws IOException+
IOExceptionprotected void _writeDecimalNumber(String enc) + throws IOException+
IOExceptionprotected final void _verifyValueWrite(String typeMsg) + throws IOException+
_verifyValueWrite in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic final void flush() + throws IOException+
flush in interface Flushableflush in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionprotected void _write7BitBinaryWithLength(byte[] data, + int offset, + int len) + throws IOException+
IOExceptionprotected int _write7BitBinaryWithLength(InputStream in, + int bytesLeft, + byte[] buffer) + throws IOException+
IOExceptionprotected void _releaseBuffers()+
_releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBaseprotected final void _flushBuffer() + throws IOException+
IOExceptionprotected long outputOffset()+
protected UnsupportedOperationException _notSupported()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParser.Feature.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParser.Feature.html new file mode 100644 index 000000000..db41aacc4 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParser.Feature.html @@ -0,0 +1,419 @@ + + + + + + +public static enum SmileParser.Feature +extends Enum<SmileParser.Feature> +implements com.fasterxml.jackson.core.FormatFeature+
| Enum Constant and Description | +
|---|
REQUIRE_HEADER
+Feature that determines whether 4-byte Smile header is mandatory in input,
+ or optional.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+collectDefaults()
+Method that calculates bit set (flags) of all features that
+ are enabled by default.
+ |
+
boolean |
+enabledByDefault() |
+
boolean |
+enabledIn(int flags) |
+
int |
+getMask() |
+
static SmileParser.Feature |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static SmileParser.Feature[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final SmileParser.Feature REQUIRE_HEADER+
public static SmileParser.Feature[] values()+
+for (SmileParser.Feature c : SmileParser.Feature.values()) + System.out.println(c); +
public static SmileParser.Feature valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()+
public boolean enabledByDefault()+
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeatureenabledByDefault in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic int getMask()+
getMask in interface com.fasterxml.jackson.core.FormatFeaturegetMask in interface com.fasterxml.jackson.core.util.JacksonFeaturepublic boolean enabledIn(int flags)+
enabledIn in interface com.fasterxml.jackson.core.FormatFeatureenabledIn in interface com.fasterxml.jackson.core.util.JacksonFeatureCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParser.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParser.html new file mode 100644 index 000000000..2caa2fd03 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParser.html @@ -0,0 +1,1603 @@ + + + + + + +public class SmileParser +extends SmileParserBase+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+SmileParser.Feature
+Enumeration that defines all togglable features for Smile generators.
+ |
+
com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_bufferRecyclable
+Flag that indicates whether the input buffer is recycable (and
+ needs to be returned to recycler once we are done) or not.
+ |
+
protected byte[] |
+_inputBuffer
+Current buffer from which data is read; generally data is read into
+ buffer from input source, but in some cases pre-loaded buffer
+ is handed to the parser.
+ |
+
protected InputStream |
+_inputStream
+Input stream that can be used for reading more content, if one
+ in use.
+ |
+
protected com.fasterxml.jackson.core.ObjectCodec |
+_objectCodec
+Codec used for data binding when (if) requested.
+ |
+
protected boolean |
+_tokenIncomplete
+Flag that indicates that the current token has not yet
+ been fully processed, and needs to be finished for
+ some access (or skipped to obtain the next token)
+ |
+
protected int |
+_typeAsInt
+Type byte of the current token (as in)
+ |
+
_binaryValue, _closed, _currInputProcessed, _formatFeatures, _inputEnd, _inputPtr, _ioContext, _mayContainRawBinary, _nameCopied, _nameCopyBuffer, _numberBigDecimal, _numberBigInt, _numberDouble, _numberFloat, _numberInt, _numberLong, _numberType, _numTypesValid, _quad1, _quad2, _quad3, _quadBuffer, _seenNameCount, _seenNames, _seenStringValueCount, _seenStringValues, _smileBufferRecycler, _smileRecyclerRef, _streamReadContext, _symbols, _symbolsCanonical, _textBuffer, _tokenOffsetForTotal, LONGEST_NON_CHUNKED_BINARY, NO_STRINGS_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
SmileParser(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int smileFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym,
+ InputStream in,
+ byte[] inputBuffer,
+ int start,
+ int end,
+ boolean bufferRecyclable) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected void |
+_closeInput() |
+
protected String |
+_decodeShortAsciiValue(int len) |
+
protected String |
+_decodeShortUnicodeValue(int byteLen) |
+
protected byte[] |
+_finishBinary7BitLong(int expLen) |
+
protected byte[] |
+_finishBinaryRawLong(int expLen) |
+
protected void |
+_finishNumberToken(int tb) |
+
protected void |
+_finishToken()
+Method called to finish parsing of a token so that token contents
+ are retrievable
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_handleFieldName()
+Method that handles initial token type recognition for token
+ that has to be either FIELD_NAME or END_OBJECT.
+ |
+
protected boolean |
+_loadMore() |
+
protected void |
+_loadMoreGuaranteed() |
+
protected void |
+_loadToHaveAtLeast(int minAvailable)
+Helper method that will try to load at least specified number bytes in
+ input buffer, possible moving existing data around if necessary.
+ |
+
protected void |
+_parseNumericValue() |
+
protected int |
+_readUnsignedVInt() |
+
protected int |
+_readUnsignedVIntSlow() |
+
protected void |
+_releaseBuffers2()
+Method called to release internal buffers owned by the base
+ reader.
+ |
+
protected void |
+_reportIncompleteBinaryRead7Bit(int expLen,
+ int actLen) |
+
protected void |
+_reportIncompleteBinaryReadRaw(int expLen,
+ int actLen) |
+
protected void |
+_reportInvalidChar(int c) |
+
protected void |
+_reportInvalidInitial(int mask) |
+
protected void |
+_reportInvalidOther(int mask) |
+
protected void |
+_reportInvalidOther(int mask,
+ int ptr) |
+
protected void |
+_reportInvalidSharedName(int index) |
+
protected void |
+_reportInvalidSharedStringValue(int index) |
+
protected void |
+_reportInvalidUnsignedVInt(int firstCh,
+ int lastCh) |
+
protected String |
+_reportTruncatedUTF8InName(int strLenBytes,
+ int truncatedCharOffset,
+ int firstUTFByteValue,
+ int bytesExpected) |
+
protected String |
+_reportTruncatedUTF8InString(int strLenBytes,
+ int truncatedCharOffset,
+ int firstUTFByteValue,
+ int bytesExpected) |
+
protected void |
+_skip7BitBinary()
+Helper method for skipping length-prefixed binary data
+ section
+ |
+
protected void |
+_skipBytes(int len) |
+
protected void |
+_skipIncomplete()
+Method called to skip remainders of an incomplete token, when
+ contents themselves will not be needed any more
+ |
+
protected int |
+_tryToLoadToHaveAtLeast(int minAvailable)
+Helper method that will try to load at least specified number bytes in
+ input buffer, possible moving existing data around if necessary.
+ |
+
void |
+finishToken()
+Method for forcing full read of current token, even if it might otherwise
+ only be read if data is accessed via
+getText() and similar methods. |
+
byte[] |
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) |
+
com.fasterxml.jackson.core.ObjectCodec |
+getCodec() |
+
Object |
+getEmbeddedObject() |
+
Object |
+getInputSource() |
+
String |
+getText()
+Method for accessing textual representation of the current event;
+ if no current event (before first call to
+nextToken(), or
+ after encountering end-of-input), returns null. |
+
int |
+getText(Writer writer) |
+
char[] |
+getTextCharacters() |
+
int |
+getTextLength() |
+
int |
+getTextOffset() |
+
String |
+getValueAsString() |
+
String |
+getValueAsString(String defaultValue) |
+
protected boolean |
+handleSignature(boolean consumeFirstByte,
+ boolean throwException)
+Helper method called when it looks like input might contain the signature;
+ and it is necessary to detect and handle signature to get configuration
+ information it might have.
+ |
+
boolean |
+hasTextCharacters() |
+
Boolean |
+nextBooleanValue() |
+
String |
+nextFieldName() |
+
boolean |
+nextFieldName(com.fasterxml.jackson.core.SerializableString str) |
+
int |
+nextIntValue(int defaultValue) |
+
long |
+nextLongValue(long defaultValue) |
+
String |
+nextTextValue() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
int |
+readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
+ OutputStream out) |
+
int |
+releaseBuffered(OutputStream out) |
+
void |
+setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
+
_handleEOF, _releaseBuffers, _reportMismatchedEndMarker, _smileBufferRecycler, _sourceReference, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToFloat, convertNumberToInt, convertNumberToLong, getBigIntegerValue, getCurrentLocation, getCurrentName, getDecimalValue, getDoubleValue, getFloatValue, getFormatFeatures, getIntValue, getLongValue, getNumberType, getNumberValue, getNumberValueExact, getParsingContext, getReadCapabilities, getTokenLocation, isClosed, isNaN, mayContainRawBinary, overrideCurrentName, overrideFormatFeatures, version_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getNonBlockingInputFeeder, getObjectId, getSchema, getShortValue, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected com.fasterxml.jackson.core.ObjectCodec _objectCodec+
protected InputStream _inputStream+
protected byte[] _inputBuffer+
protected boolean _bufferRecyclable+
+ If it is not, it also means that parser can NOT modify underlying + buffer.
protected int _typeAsInt+
protected boolean _tokenIncomplete+
public SmileParser(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int smileFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym, + InputStream in, + byte[] inputBuffer, + int start, + int end, + boolean bufferRecyclable)+
public com.fasterxml.jackson.core.ObjectCodec getCodec()+
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)+
setCodec in class com.fasterxml.jackson.core.JsonParserprotected boolean handleSignature(boolean consumeFirstByte, + boolean throwException) + throws IOException+
IOExceptionpublic int releaseBuffered(OutputStream out) + throws IOException+
releaseBuffered in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Object getInputSource()+
getInputSource in class com.fasterxml.jackson.core.JsonParserprotected final void _loadMoreGuaranteed() + throws IOException+
IOExceptionprotected final boolean _loadMore() + throws IOException+
IOExceptionprotected final void _loadToHaveAtLeast(int minAvailable) + throws IOException+
minAvailable - Minimum number of bytes we absolutely needIOException - if read failed, either due to I/O issue or because not
+ enough content could be read before end-of-input.protected final int _tryToLoadToHaveAtLeast(int minAvailable) + throws IOException+
0 for successful
+ readIOExceptionprotected void _closeInput() + throws IOException+
_closeInput in class SmileParserBaseIOExceptionpublic boolean hasTextCharacters()+
hasTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseprotected void _releaseBuffers2()+
_closeInput() (for
+ example, when explicitly closing this reader instance), or
+ separately (if need be)._releaseBuffers2 in class SmileParserBasepublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic void finishToken() + throws IOException+
getText() and similar methods.finishToken in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic boolean nextFieldName(com.fasterxml.jackson.core.SerializableString str) + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String nextFieldName() + throws IOException+
nextFieldName in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String nextTextValue() + throws IOException+
nextTextValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int nextIntValue(int defaultValue) + throws IOException+
nextIntValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic long nextLongValue(long defaultValue) + throws IOException+
nextLongValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Boolean nextBooleanValue() + throws IOException+
nextBooleanValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic String getText() + throws IOException+
nextToken(), or
+ after encountering end-of-input), returns null.
+ Method can be called for any event.getText in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic char[] getTextCharacters() + throws IOException+
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextLength() + throws IOException+
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextOffset() + throws IOException+
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getValueAsString() + throws IOException+
getValueAsString in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic String getValueAsString(String defaultValue) + throws IOException+
getValueAsString in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getText(Writer writer) + throws IOException+
getText in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) + throws IOException+
getBinaryValue in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic Object getEmbeddedObject() + throws IOException+
getEmbeddedObject in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant, + OutputStream out) + throws IOException+
readBinaryValue in class com.fasterxml.jackson.core.JsonParserIOExceptionprotected final com.fasterxml.jackson.core.JsonToken _handleFieldName() + throws IOException+
IOExceptionprotected void _parseNumericValue() + throws IOException+
_parseNumericValue in class SmileParserBaseIOExceptionprotected final void _finishToken() + throws IOException+
IOExceptionprotected final void _finishNumberToken(int tb) + throws IOException+
IOExceptionprotected final int _readUnsignedVInt() + throws IOException+
IOExceptionprotected final int _readUnsignedVIntSlow() + throws IOException+
IOExceptionprotected final void _reportInvalidUnsignedVInt(int firstCh, + int lastCh) + throws IOException+
IOExceptionprotected final String _decodeShortAsciiValue(int len) + throws IOException+
IOExceptionprotected final String _decodeShortUnicodeValue(int byteLen) + throws IOException+
IOExceptionprotected byte[] _finishBinaryRawLong(int expLen) + throws IOException+
IOExceptionprotected byte[] _finishBinary7BitLong(int expLen) + throws IOException+
IOExceptionprotected void _skipIncomplete() + throws IOException+
IOExceptionprotected void _skipBytes(int len) + throws IOException+
IOExceptionprotected void _skip7BitBinary() + throws IOException+
IOExceptionprotected void _reportInvalidSharedName(int index) + throws IOException+
IOExceptionprotected void _reportInvalidSharedStringValue(int index) + throws IOException+
IOExceptionprotected void _reportInvalidChar(int c) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportInvalidInitial(int mask) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportInvalidOther(int mask) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportInvalidOther(int mask, + int ptr) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportIncompleteBinaryReadRaw(int expLen, + int actLen) + throws IOException+
IOExceptionprotected void _reportIncompleteBinaryRead7Bit(int expLen, + int actLen) + throws IOException+
IOExceptionprotected String _reportTruncatedUTF8InString(int strLenBytes, + int truncatedCharOffset, + int firstUTFByteValue, + int bytesExpected) + throws IOException+
IOExceptionprotected String _reportTruncatedUTF8InName(int strLenBytes, + int truncatedCharOffset, + int firstUTFByteValue, + int bytesExpected) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParserBase.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParserBase.html new file mode 100644 index 000000000..35e710556 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParserBase.html @@ -0,0 +1,1633 @@ + + + + + + +public abstract class SmileParserBase
+extends com.fasterxml.jackson.core.base.ParserMinimalBase
+com.fasterxml.jackson.core.JsonParser.Feature, com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected byte[] |
+_binaryValue
+We will hold on to decoded binary data, for duration of
+ current event, so that multiple calls to
+
+ParserMinimalBase.getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once. |
+
protected boolean |
+_closed
+Flag that indicates whether parser is closed or not.
+ |
+
protected long |
+_currInputProcessed
+Number of characters/bytes that were contained in previous blocks
+ (blocks that were already processed prior to the current buffer).
+ |
+
protected int |
+_formatFeatures
+Bit flag composed of bits that indicate which
+
+SmileParser.Features are enabled. |
+
protected int |
+_inputEnd
+Index of character after last available one in the buffer.
+ |
+
protected int |
+_inputPtr
+Pointer to next available character in buffer
+ |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_ioContext
+I/O context for this reader.
+ |
+
protected boolean |
+_mayContainRawBinary
+Flag that indicates whether content can legally have raw (unquoted)
+ binary data.
+ |
+
protected boolean |
+_nameCopied
+Flag set to indicate whether the field name is available
+ from the name copy buffer or not (in addition to its String
+ representation being available via read context)
+ |
+
protected char[] |
+_nameCopyBuffer
+Temporary buffer that is needed if field name is accessed
+ using
+ParserMinimalBase.getTextCharacters() method (instead of String
+ returning alternatives) |
+
protected BigDecimal |
+_numberBigDecimal |
+
protected BigInteger |
+_numberBigInt |
+
protected double |
+_numberDouble |
+
protected float |
+_numberFloat |
+
protected int |
+_numberInt |
+
protected long |
+_numberLong |
+
protected com.fasterxml.jackson.core.JsonParser.NumberType |
+_numberType |
+
protected int |
+_numTypesValid
+Bitfield that indicates which numeric representations
+ have been calculated for the current type
+ |
+
protected int |
+_quad1
+Quads used for hash calculation
+ |
+
protected int |
+_quad2
+Quads used for hash calculation
+ |
+
protected int |
+_quad3
+Quads used for hash calculation
+ |
+
protected int[] |
+_quadBuffer
+Temporary buffer used for name parsing.
+ |
+
protected int |
+_seenNameCount |
+
protected String[] |
+_seenNames
+Array of recently seen field names, which may be back referenced
+ by later fields.
+ |
+
protected int |
+_seenStringValueCount |
+
protected String[] |
+_seenStringValues
+Array of recently seen field names, which may be back referenced
+ by later fields
+ Defaults set to disable handling if no header found.
+ |
+
protected SmileBufferRecycler<String> |
+_smileBufferRecycler
+Helper object used for low-level recycling of Smile-generator
+ specific buffers.
+ |
+
protected static ThreadLocal<SoftReference<SmileBufferRecycler<String>>> |
+_smileRecyclerRef
+ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers. |
+
protected com.fasterxml.jackson.core.json.JsonReadContext |
+_streamReadContext
+Information about parser context, context in which
+ the next token is to be parsed (root, array, object).
+ |
+
protected com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer |
+_symbols
+Symbol table that contains field names encountered so far
+ |
+
protected boolean |
+_symbolsCanonical
+Marker flag to indicate that standard symbol handling is used
+ (one with symbol table assisted canonicalization.
+ |
+
protected com.fasterxml.jackson.core.util.TextBuffer |
+_textBuffer
+Buffer that contains contents of String values, including
+ field names if necessary (name split across boundary,
+ contains escape sequence, or access needed to char array)
+ |
+
protected int |
+_tokenOffsetForTotal
+Alternative to
+_tokenInputTotal that will only contain
+ offset within input buffer, as int. |
+
protected static int |
+LONGEST_NON_CHUNKED_BINARY |
+
protected static String[] |
+NO_STRINGS |
+
_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
SmileParserBase(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int formatFeatures,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected abstract void |
+_closeInput() |
+
protected void |
+_handleEOF()
+Method called when an EOF is encountered between tokens.
+ |
+
protected abstract void |
+_parseNumericValue() |
+
protected void |
+_releaseBuffers() |
+
protected abstract void |
+_releaseBuffers2() |
+
protected void |
+_reportMismatchedEndMarker(int actCh,
+ char expCh) |
+
protected static SmileBufferRecycler<String> |
+_smileBufferRecycler() |
+
protected com.fasterxml.jackson.core.io.ContentReference |
+_sourceReference()
+Helper method used to encapsulate logic of including (or not) of
+ "source reference" when constructing
+JsonLocation instances. |
+
void |
+close() |
+
protected void |
+convertNumberToBigDecimal() |
+
protected void |
+convertNumberToBigInteger() |
+
protected void |
+convertNumberToDouble() |
+
protected void |
+convertNumberToFloat() |
+
protected void |
+convertNumberToInt() |
+
protected void |
+convertNumberToLong() |
+
BigInteger |
+getBigIntegerValue() |
+
com.fasterxml.jackson.core.JsonLocation |
+getCurrentLocation()
+Overridden since we do not really have character-based locations,
+ but we do have byte offset to specify.
+ |
+
String |
+getCurrentName()
+Method that can be called to get the name associated with
+ the current event.
+ |
+
BigDecimal |
+getDecimalValue() |
+
double |
+getDoubleValue() |
+
float |
+getFloatValue() |
+
int |
+getFormatFeatures() |
+
int |
+getIntValue() |
+
long |
+getLongValue() |
+
com.fasterxml.jackson.core.JsonParser.NumberType |
+getNumberType() |
+
Number |
+getNumberValue() |
+
Number |
+getNumberValueExact() |
+
com.fasterxml.jackson.core.json.JsonReadContext |
+getParsingContext() |
+
com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> |
+getReadCapabilities() |
+
com.fasterxml.jackson.core.JsonLocation |
+getTokenLocation()
+Overridden since we do not really have character-based locations,
+ but we do have byte offset to specify.
+ |
+
boolean |
+isClosed() |
+
boolean |
+isNaN() |
+
boolean |
+mayContainRawBinary() |
+
void |
+overrideCurrentName(String name) |
+
com.fasterxml.jackson.core.JsonParser |
+overrideFormatFeatures(int values,
+ int mask) |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getBinaryValue, getCurrentToken, getCurrentTokenId, getLastClearedToken, getText, getTextCharacters, getTextLength, getTextOffset, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasTextCharacters, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCodec, getCurrentValue, getEmbeddedObject, getFeatureMask, getInputSource, getNonBlockingInputFeeder, getObjectId, getSchema, getShortValue, getText, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideStdFeatures, readBinaryValue, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, releaseBuffered, requiresCustomCodec, setCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected static final String[] NO_STRINGS+
protected static final int LONGEST_NON_CHUNKED_BINARY+
protected int _formatFeatures+
SmileParser.Features are enabled.
+
+ NOTE: currently the only feature (SmileParser.Feature.REQUIRE_HEADER
+ takes effect during bootstrapping.
protected boolean _mayContainRawBinary+
protected final com.fasterxml.jackson.core.io.IOContext _ioContext+
protected boolean _closed+
close()) or when end-of-input is reached.protected int _inputPtr+
protected int _inputEnd+
protected long _currInputProcessed+
protected int _tokenOffsetForTotal+
_tokenInputTotal that will only contain
+ offset within input buffer, as int.protected com.fasterxml.jackson.core.json.JsonReadContext _streamReadContext+
+ NOTE: before 2.13 was "_parsingContext"
protected final com.fasterxml.jackson.core.util.TextBuffer _textBuffer+
protected char[] _nameCopyBuffer+
ParserMinimalBase.getTextCharacters() method (instead of String
+ returning alternatives)protected boolean _nameCopied+
protected byte[] _binaryValue+
ParserMinimalBase.getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once.protected com.fasterxml.jackson.core.JsonParser.NumberType _numberType+
protected int _numTypesValid+
protected BigInteger _numberBigInt+
protected BigDecimal _numberBigDecimal+
protected int _numberInt+
protected float _numberFloat+
protected long _numberLong+
protected double _numberDouble+
protected final com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer _symbols+
protected int[] _quadBuffer+
protected int _quad1+
protected int _quad2+
protected int _quad3+
protected String[] _seenNames+
protected int _seenNameCount+
protected String[] _seenStringValues+
protected int _seenStringValueCount+
protected final boolean _symbolsCanonical+
protected static final ThreadLocal<SoftReference<SmileBufferRecycler<String>>> _smileRecyclerRef+
ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers.protected final SmileBufferRecycler<String> _smileBufferRecycler+
public SmileParserBase(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int formatFeatures, + com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym)+
protected static final SmileBufferRecycler<String> _smileBufferRecycler()+
public final com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonParserpublic final boolean mayContainRawBinary()+
public final int getFormatFeatures()+
getFormatFeatures in class com.fasterxml.jackson.core.JsonParserpublic final com.fasterxml.jackson.core.JsonParser overrideFormatFeatures(int values, + int mask)+
overrideFormatFeatures in class com.fasterxml.jackson.core.JsonParserpublic com.fasterxml.jackson.core.util.JacksonFeatureSet<com.fasterxml.jackson.core.StreamReadCapability> getReadCapabilities()+
getReadCapabilities in class com.fasterxml.jackson.core.JsonParserprotected abstract void _closeInput() + throws IOException+
IOExceptionprotected abstract void _parseNumericValue() + throws IOException+
IOExceptionpublic final com.fasterxml.jackson.core.JsonLocation getTokenLocation()+
getTokenLocation in class com.fasterxml.jackson.core.JsonParserpublic final com.fasterxml.jackson.core.JsonLocation getCurrentLocation()+
getCurrentLocation in class com.fasterxml.jackson.core.JsonParserpublic final String getCurrentName() + throws IOException+
getCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic final void overrideCurrentName(String name)+
overrideCurrentName in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic final void close() + throws IOException+
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionprotected final void _releaseBuffers() + throws IOException+
IOExceptionprotected abstract void _releaseBuffers2()+
public final boolean isClosed()+
isClosed in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic final com.fasterxml.jackson.core.json.JsonReadContext getParsingContext()+
getParsingContext in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic final boolean isNaN() + throws IOException+
isNaN in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final Number getNumberValue() + throws IOException+
getNumberValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final Number getNumberValueExact() + throws IOException+
getNumberValueExact in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() + throws IOException+
getNumberType in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final int getIntValue() + throws IOException+
getIntValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final long getLongValue() + throws IOException+
getLongValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final BigInteger getBigIntegerValue() + throws IOException+
getBigIntegerValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final float getFloatValue() + throws IOException+
getFloatValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final double getDoubleValue() + throws IOException+
getDoubleValue in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic final BigDecimal getDecimalValue() + throws IOException+
getDecimalValue in class com.fasterxml.jackson.core.JsonParserIOExceptionprotected final void convertNumberToInt() + throws IOException+
IOExceptionprotected final void convertNumberToLong() + throws IOException+
IOExceptionprotected final void convertNumberToBigInteger() + throws IOException+
IOExceptionprotected final void convertNumberToFloat() + throws IOException+
IOExceptionprotected final void convertNumberToDouble() + throws IOException+
IOExceptionprotected final void convertNumberToBigDecimal() + throws IOException+
IOExceptionprotected void _handleEOF() + throws com.fasterxml.jackson.core.JsonParseException+
_handleEOF in class com.fasterxml.jackson.core.base.ParserMinimalBasecom.fasterxml.jackson.core.JsonParseExceptionprotected void _reportMismatchedEndMarker(int actCh, + char expCh) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected com.fasterxml.jackson.core.io.ContentReference _sourceReference()+
JsonLocation instances.Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParserBootstrapper.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParserBootstrapper.html new file mode 100644 index 000000000..746efe7d5 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileParserBootstrapper.html @@ -0,0 +1,455 @@ + + + + + + +public class SmileParserBootstrapper +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_bufferRecyclable
+Flag that indicates whether buffer above is to be recycled
+ after being used or not.
+ |
+
protected com.fasterxml.jackson.core.io.IOContext |
+_context |
+
protected InputStream |
+_in |
+
protected byte[] |
+_inputBuffer |
+
protected int |
+_inputEnd |
+
protected int |
+_inputProcessed
+Current number of input units (bytes or chars) that were processed in
+ previous blocks,
+ before contents of current input buffer.
+ |
+
protected int |
+_inputPtr |
+
| Constructor and Description | +
|---|
SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
+ byte[] inputBuffer,
+ int inputStart,
+ int inputLen) |
+
SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
+ InputStream in) |
+
| Modifier and Type | +Method and Description | +
|---|---|
SmileParser |
+constructParser(int factoryFeatures,
+ int generalParserFeatures,
+ int smileFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) |
+
static com.fasterxml.jackson.core.format.MatchStrength |
+hasSmileFormat(com.fasterxml.jackson.core.format.InputAccessor acc) |
+
protected final com.fasterxml.jackson.core.io.IOContext _context+
protected final InputStream _in+
protected final byte[] _inputBuffer+
protected int _inputPtr+
protected int _inputEnd+
protected final boolean _bufferRecyclable+
protected int _inputProcessed+
+ Note: includes possible BOMs, if those were part of the input.
public SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, + InputStream in)+
public SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, + byte[] inputBuffer, + int inputStart, + int inputLen)+
public SmileParser constructParser(int factoryFeatures, + int generalParserFeatures, + int smileFeatures, + com.fasterxml.jackson.core.ObjectCodec codec, + com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) + throws IOException, + com.fasterxml.jackson.core.JsonParseException+
IOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic static com.fasterxml.jackson.core.format.MatchStrength hasSmileFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileUtil.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileUtil.html new file mode 100644 index 000000000..af2bc6829 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileUtil.html @@ -0,0 +1,313 @@ + + + + + + +public class SmileUtil +extends Object+
| Modifier and Type | +Method and Description | +
|---|---|
static int |
+zigzagDecode(int encoded) |
+
static long |
+zigzagDecode(long encoded) |
+
static int |
+zigzagEncode(int input) |
+
static long |
+zigzagEncode(long input) |
+
public static int zigzagEncode(int input)+
public static int zigzagDecode(int encoded)+
public static long zigzagEncode(long input)+
public static long zigzagDecode(long encoded)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileWriteContext.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileWriteContext.html new file mode 100644 index 000000000..b4f42f0b7 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/SmileWriteContext.html @@ -0,0 +1,618 @@ + + + + + + +public final class SmileWriteContext
+extends com.fasterxml.jackson.core.JsonStreamContext
+JsonWriteContext; while not strictly
+ needed is more streamlined, optimal since there's no need to
+ keep track of separators etc.| Modifier and Type | +Field and Description | +
|---|---|
protected SmileWriteContext |
+_childToRecycle |
+
protected String |
+_currentName
+Name of the field of which value is to be written; only
+ used for OBJECT contexts
+ |
+
protected Object |
+_currentValue |
+
protected com.fasterxml.jackson.core.json.DupDetector |
+_dups |
+
protected boolean |
+_gotFieldId
+Marker used to indicate that we just wrote a field name (or Map name / id)
+ and now expect a value to write
+ |
+
protected SmileWriteContext |
+_parent
+Parent context for this context; null for root context.
+ |
+
_index, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT| Modifier | +Constructor and Description | +
|---|---|
protected |
+SmileWriteContext(int type,
+ SmileWriteContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups,
+ Object currentValue) |
+
| Modifier and Type | +Method and Description | +
|---|---|
SmileWriteContext |
+clearAndGetParent()
+Method that can be used to both clear the accumulated references
+ (specifically value set with
+setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ getParent() do). |
+
SmileWriteContext |
+createChildArrayContext(Object currentValue) |
+
SmileWriteContext |
+createChildObjectContext(Object currentValue) |
+
static SmileWriteContext |
+createRootContext(com.fasterxml.jackson.core.json.DupDetector dd) |
+
String |
+getCurrentName() |
+
Object |
+getCurrentValue() |
+
com.fasterxml.jackson.core.json.DupDetector |
+getDupDetector() |
+
SmileWriteContext |
+getParent() |
+
boolean |
+hasCurrentName() |
+
void |
+setCurrentValue(Object v) |
+
SmileWriteContext |
+withDupDetector(com.fasterxml.jackson.core.json.DupDetector dups) |
+
boolean |
+writeFieldName(String name)
+Method that writer is to call before it writes a field name.
+ |
+
boolean |
+writeValue() |
+
getCurrentIndex, getEntryCount, getStartLocation, getTypeDesc, hasCurrentIndex, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, toString, typeDescprotected final SmileWriteContext _parent+
protected com.fasterxml.jackson.core.json.DupDetector _dups+
protected SmileWriteContext _childToRecycle+
protected String _currentName+
protected Object _currentValue+
protected boolean _gotFieldId+
protected SmileWriteContext(int type, + SmileWriteContext parent, + com.fasterxml.jackson.core.json.DupDetector dups, + Object currentValue)+
public SmileWriteContext withDupDetector(com.fasterxml.jackson.core.json.DupDetector dups)+
public Object getCurrentValue()+
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)+
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic static SmileWriteContext createRootContext(com.fasterxml.jackson.core.json.DupDetector dd)+
public SmileWriteContext createChildArrayContext(Object currentValue)+
public SmileWriteContext createChildObjectContext(Object currentValue)+
public final SmileWriteContext getParent()+
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic final String getCurrentName()+
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic boolean hasCurrentName()+
hasCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic SmileWriteContext clearAndGetParent()+
setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ getParent() do). Typically called when closing the active
+ context when encountering JsonToken.END_ARRAY or
+ JsonToken.END_OBJECT.public com.fasterxml.jackson.core.json.DupDetector getDupDetector()+
public boolean writeFieldName(String name) + throws com.fasterxml.jackson.core.JsonProcessingException+
com.fasterxml.jackson.core.JsonProcessingExceptionpublic boolean writeValue()+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/NonBlockingByteArrayParser.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/NonBlockingByteArrayParser.html new file mode 100644 index 000000000..736d805bd --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/NonBlockingByteArrayParser.html @@ -0,0 +1,738 @@ + + + + + + +public class NonBlockingByteArrayParser +extends NonBlockingParserBase +implements com.fasterxml.jackson.core.async.ByteArrayFeeder+
com.fasterxml.jackson.core.JsonParser.Feature, com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected byte[] |
+_inputBuffer
+This buffer is actually provided via
+NonBlockingInputFeeder |
+
protected int |
+_origBufferLen
+In addition to current buffer pointer, and end pointer,
+ we will also need to know number of bytes originally
+ contained.
+ |
+
_byteArrayBuilder, _endOfInput, _inputCopy, _inputCopyLen, _majorState, _majorStateAfterValue, _minorState, _pending32, _pending64, MAJOR_ARRAY_ELEMENT, MAJOR_CLOSED, MAJOR_INITIAL, MAJOR_OBJECT_FIELD, MAJOR_OBJECT_VALUE, MAJOR_ROOT, MINOR_FIELD_NAME_2BYTE, MINOR_FIELD_NAME_LONG, MINOR_FIELD_NAME_SHORT_ASCII, MINOR_FIELD_NAME_SHORT_UNICODE, MINOR_HEADER_INITIAL, MINOR_HEADER_INLINE, MINOR_VALUE_BINARY_7BIT_BODY, MINOR_VALUE_BINARY_7BIT_LEN, MINOR_VALUE_BINARY_RAW_BODY, MINOR_VALUE_BINARY_RAW_LEN, MINOR_VALUE_NUMBER_BIGDEC_BODY, MINOR_VALUE_NUMBER_BIGDEC_LEN, MINOR_VALUE_NUMBER_BIGDEC_SCALE, MINOR_VALUE_NUMBER_BIGINT_BODY, MINOR_VALUE_NUMBER_BIGINT_LEN, MINOR_VALUE_NUMBER_DOUBLE, MINOR_VALUE_NUMBER_FLOAT, MINOR_VALUE_NUMBER_INT, MINOR_VALUE_NUMBER_LONG, MINOR_VALUE_STRING_LONG_ASCII, MINOR_VALUE_STRING_LONG_UNICODE, MINOR_VALUE_STRING_SHARED_2BYTE, MINOR_VALUE_STRING_SHORT_ASCII, MINOR_VALUE_STRING_SHORT_UNICODE_binaryValue, _closed, _currInputProcessed, _formatFeatures, _inputEnd, _inputPtr, _ioContext, _mayContainRawBinary, _nameCopied, _nameCopyBuffer, _numberBigDecimal, _numberBigInt, _numberDouble, _numberFloat, _numberInt, _numberLong, _numberType, _numTypesValid, _quad1, _quad2, _quad3, _quadBuffer, _seenNameCount, _seenNames, _seenStringValueCount, _seenStringValues, _smileBufferRecycler, _smileRecyclerRef, _streamReadContext, _symbols, _symbolsCanonical, _textBuffer, _tokenOffsetForTotal, LONGEST_NON_CHUNKED_BINARY, NO_STRINGS_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
NonBlockingByteArrayParser(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int smileFeatures,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected boolean |
+_decode7BitEncodedTail(int bytesToDecode,
+ int buffered) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_finishDouble(long value,
+ int bytesRead) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_finishFloat(int value,
+ int bytesRead) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_finishHeader(int state)
+Helper method that will decode information from a header block that has been
+ detected.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_finishToken()
+Method called when a (scalar) value type has been detected, but not all of
+ contents have been decoded due to incomplete input available.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_startDouble() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_startFieldName(int ch)
+Method that handles initial token type recognition for token
+ that has to be either FIELD_NAME or END_OBJECT.
+ |
+
protected com.fasterxml.jackson.core.JsonToken |
+_startFloat() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_startLongUnicode() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_startRawBinary() |
+
void |
+endOfInput() |
+
void |
+feedInput(byte[] buf,
+ int start,
+ int end) |
+
com.fasterxml.jackson.core.async.ByteArrayFeeder |
+getNonBlockingInputFeeder() |
+
boolean |
+needMoreInput() |
+
com.fasterxml.jackson.core.JsonToken |
+nextToken() |
+
int |
+releaseBuffered(OutputStream out) |
+
_addDecodedToSymbols, _addSeenStringValue, _closeArrayScope, _closeInput, _closeObjectScope, _eofAsNextToken, _expandSeenNames, _findDecodedFromSymbols, _handleSharedName, _handleSharedString, _initByteArrayBuilder, _parseNumericValue, _releaseBuffers2, _reportInvalidInitial, _reportInvalidOther, _reportInvalidSharedName, _reportInvalidSharedStringValue, _reportMissingHeader, _startArrayScope, _startObjectScope, _valueComplete, canParseAsync, getBinaryValue, getCodec, getEmbeddedObject, getInputSource, getText, getText, getTextCharacters, getTextLength, getTextOffset, hasTextCharacters, readBinaryValue, setCodec, symbolTableForTests_handleEOF, _releaseBuffers, _reportMismatchedEndMarker, _smileBufferRecycler, _sourceReference, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToFloat, convertNumberToInt, convertNumberToLong, getBigIntegerValue, getCurrentLocation, getCurrentName, getDecimalValue, getDoubleValue, getFloatValue, getFormatFeatures, getIntValue, getLongValue, getNumberType, getNumberValue, getNumberValueExact, getParsingContext, getReadCapabilities, getTokenLocation, isClosed, isNaN, mayContainRawBinary, overrideCurrentName, overrideFormatFeatures, version_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getObjectId, getSchema, getShortValue, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected byte[] _inputBuffer+
NonBlockingInputFeederprotected int _origBufferLen+
public NonBlockingByteArrayParser(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int smileFeatures, + com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym)+
public com.fasterxml.jackson.core.async.ByteArrayFeeder getNonBlockingInputFeeder()+
getNonBlockingInputFeeder in class com.fasterxml.jackson.core.JsonParserpublic final boolean needMoreInput()+
needMoreInput in interface com.fasterxml.jackson.core.async.NonBlockingInputFeederpublic void feedInput(byte[] buf, + int start, + int end) + throws IOException+
feedInput in interface com.fasterxml.jackson.core.async.ByteArrayFeederIOExceptionpublic void endOfInput()+
endOfInput in interface com.fasterxml.jackson.core.async.NonBlockingInputFeederpublic int releaseBuffered(OutputStream out) + throws IOException+
releaseBuffered in class NonBlockingParserBaseIOExceptionpublic com.fasterxml.jackson.core.JsonToken nextToken() + throws IOException+
nextToken in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionprotected final com.fasterxml.jackson.core.JsonToken _finishToken() + throws IOException+
IOExceptionprotected com.fasterxml.jackson.core.JsonToken _finishHeader(int state) + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _startFieldName(int ch) + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _startLongUnicode() + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _startFloat() + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _finishFloat(int value, + int bytesRead) + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _startDouble() + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _finishDouble(long value, + int bytesRead) + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _startRawBinary() + throws IOException+
IOExceptionprotected final boolean _decode7BitEncodedTail(int bytesToDecode, + int buffered) + throws IOException+
IOExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/NonBlockingParserBase.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/NonBlockingParserBase.html new file mode 100644 index 000000000..b653ab107 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/NonBlockingParserBase.html @@ -0,0 +1,1729 @@ + + + + + + +public abstract class NonBlockingParserBase +extends SmileParserBase+
com.fasterxml.jackson.core.JsonParser.Feature, com.fasterxml.jackson.core.JsonParser.NumberType| Modifier and Type | +Field and Description | +
|---|---|
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
+_byteArrayBuilder
+ByteArrayBuilder is needed if 'getBinaryValue' is called.
+ |
+
protected boolean |
+_endOfInput
+Flag that is sent when calling application indicates that there will
+ be no more input to parse.
+ |
+
protected byte[] |
+_inputCopy
+Temporary buffer for holding content if input not contiguous (but can
+ fit in buffer)
+ |
+
protected int |
+_inputCopyLen
+Number of bytes buffered in
+_inputCopy |
+
protected int |
+_majorState
+Current main decoding state
+ |
+
protected int |
+_majorStateAfterValue
+Value of
+_majorState after completing a scalar value |
+
protected int |
+_minorState
+Addition indicator within state; contextually relevant for just that state
+ |
+
protected int |
+_pending32
+Temporary storage for 32-bit values (int, float), as well as length markers
+ for length-prefixed values.
+ |
+
protected long |
+_pending64
+Temporary storage for 64-bit values (long, double), secondary storage
+ for some other things (scale of BigDecimal values)
+ |
+
protected static int |
+MAJOR_ARRAY_ELEMENT |
+
protected static int |
+MAJOR_CLOSED
+State after non-blocking input source has indicated that no more input
+ is forthcoming AND we have exhausted all the input
+ |
+
protected static int |
+MAJOR_INITIAL
+State right after parser has been constructed, before seeing the first byte
+ to know if there's header.
+ |
+
protected static int |
+MAJOR_OBJECT_FIELD |
+
protected static int |
+MAJOR_OBJECT_VALUE |
+
protected static int |
+MAJOR_ROOT
+State right after parser a root value has been
+ finished, but next token has not yet been recognized.
+ |
+
protected static int |
+MINOR_FIELD_NAME_2BYTE |
+
protected static int |
+MINOR_FIELD_NAME_LONG |
+
protected static int |
+MINOR_FIELD_NAME_SHORT_ASCII |
+
protected static int |
+MINOR_FIELD_NAME_SHORT_UNICODE |
+
protected static int |
+MINOR_HEADER_INITIAL |
+
protected static int |
+MINOR_HEADER_INLINE |
+
protected static int |
+MINOR_VALUE_BINARY_7BIT_BODY |
+
protected static int |
+MINOR_VALUE_BINARY_7BIT_LEN |
+
protected static int |
+MINOR_VALUE_BINARY_RAW_BODY |
+
protected static int |
+MINOR_VALUE_BINARY_RAW_LEN |
+
protected static int |
+MINOR_VALUE_NUMBER_BIGDEC_BODY |
+
protected static int |
+MINOR_VALUE_NUMBER_BIGDEC_LEN |
+
protected static int |
+MINOR_VALUE_NUMBER_BIGDEC_SCALE |
+
protected static int |
+MINOR_VALUE_NUMBER_BIGINT_BODY |
+
protected static int |
+MINOR_VALUE_NUMBER_BIGINT_LEN |
+
protected static int |
+MINOR_VALUE_NUMBER_DOUBLE |
+
protected static int |
+MINOR_VALUE_NUMBER_FLOAT |
+
protected static int |
+MINOR_VALUE_NUMBER_INT |
+
protected static int |
+MINOR_VALUE_NUMBER_LONG |
+
protected static int |
+MINOR_VALUE_STRING_LONG_ASCII |
+
protected static int |
+MINOR_VALUE_STRING_LONG_UNICODE |
+
protected static int |
+MINOR_VALUE_STRING_SHARED_2BYTE |
+
protected static int |
+MINOR_VALUE_STRING_SHORT_ASCII |
+
protected static int |
+MINOR_VALUE_STRING_SHORT_UNICODE |
+
_binaryValue, _closed, _currInputProcessed, _formatFeatures, _inputEnd, _inputPtr, _ioContext, _mayContainRawBinary, _nameCopied, _nameCopyBuffer, _numberBigDecimal, _numberBigInt, _numberDouble, _numberFloat, _numberInt, _numberLong, _numberType, _numTypesValid, _quad1, _quad2, _quad3, _quadBuffer, _seenNameCount, _seenNames, _seenStringValueCount, _seenStringValues, _smileBufferRecycler, _smileRecyclerRef, _streamReadContext, _symbols, _symbolsCanonical, _textBuffer, _tokenOffsetForTotal, LONGEST_NON_CHUNKED_BINARY, NO_STRINGS_currToken, _lastClearedToken, BD_MAX_INT, BD_MAX_LONG, BD_MIN_INT, BD_MIN_LONG, BI_MAX_INT, BI_MAX_LONG, BI_MIN_INT, BI_MIN_LONG, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN_features, _requestPayload, DEFAULT_READ_CAPABILITIES| Constructor and Description | +
|---|
NonBlockingParserBase(com.fasterxml.jackson.core.io.IOContext ctxt,
+ int parserFeatures,
+ int smileFeatures,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym) |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected String |
+_addDecodedToSymbols(int len,
+ String name) |
+
protected void |
+_addSeenStringValue(String v) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_closeArrayScope() |
+
protected void |
+_closeInput() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_closeObjectScope() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_eofAsNextToken()
+Helper method called at point when all input has been exhausted and
+ input feeder has indicated no more input will be forthcoming.
+ |
+
protected String[] |
+_expandSeenNames(String[] oldShared)
+Method called to try to expand shared name area to fit one more potentially
+ shared String.
+ |
+
protected String |
+_findDecodedFromSymbols(byte[] inBuf,
+ int inPtr,
+ int len) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_handleSharedName(int index) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_handleSharedString(int index) |
+
void |
+_initByteArrayBuilder() |
+
protected void |
+_parseNumericValue() |
+
protected void |
+_releaseBuffers2()
+Method called to release internal buffers owned by the base
+ reader.
+ |
+
protected void |
+_reportInvalidInitial(int mask) |
+
protected void |
+_reportInvalidOther(int mask,
+ int ptr) |
+
protected void |
+_reportInvalidSharedName(int index) |
+
protected void |
+_reportInvalidSharedStringValue(int index) |
+
protected void |
+_reportMissingHeader(int unmaskedFirstByte) |
+
protected com.fasterxml.jackson.core.JsonToken |
+_startArrayScope() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_startObjectScope() |
+
protected com.fasterxml.jackson.core.JsonToken |
+_valueComplete(com.fasterxml.jackson.core.JsonToken t) |
+
boolean |
+canParseAsync() |
+
byte[] |
+getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) |
+
com.fasterxml.jackson.core.ObjectCodec |
+getCodec() |
+
Object |
+getEmbeddedObject() |
+
Object |
+getInputSource() |
+
String |
+getText()
+Method for accessing textual representation of the current event;
+ if no current event (before first call to
+ParserMinimalBase.nextToken(), or
+ after encountering end-of-input), returns null. |
+
int |
+getText(Writer w) |
+
char[] |
+getTextCharacters() |
+
int |
+getTextLength() |
+
int |
+getTextOffset() |
+
boolean |
+hasTextCharacters() |
+
int |
+readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
+ OutputStream out) |
+
abstract int |
+releaseBuffered(OutputStream out) |
+
void |
+setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
+
protected com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer |
+symbolTableForTests() |
+
_handleEOF, _releaseBuffers, _reportMismatchedEndMarker, _smileBufferRecycler, _sourceReference, close, convertNumberToBigDecimal, convertNumberToBigInteger, convertNumberToDouble, convertNumberToFloat, convertNumberToInt, convertNumberToLong, getBigIntegerValue, getCurrentLocation, getCurrentName, getDecimalValue, getDoubleValue, getFloatValue, getFormatFeatures, getIntValue, getLongValue, getNumberType, getNumberValue, getNumberValueExact, getParsingContext, getReadCapabilities, getTokenLocation, isClosed, isNaN, mayContainRawBinary, overrideCurrentName, overrideFormatFeatures, version_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInputCoercion, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, getValueAsString, getValueAsString, hasCurrentToken, hasToken, hasTokenId, isExpectedNumberIntToken, isExpectedStartArrayToken, isExpectedStartObjectToken, nextToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowInt, reportOverflowInt, reportOverflowLong, reportOverflowLong, reportOverflowLong, reportUnexpectedNumberChar, skipChildren_codec, _constructError, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _constructReadException, _reportUnsupportedOperation, assignCurrentValue, canReadObjectId, canReadTypeId, canUseSchema, configure, currentLocation, currentName, currentTokenLocation, currentValue, disable, enable, finishToken, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getNonBlockingInputFeeder, getObjectId, getSchema, getShortValue, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, isEnabled, nextBooleanValue, nextFieldName, nextFieldName, nextIntValue, nextLongValue, nextTextValue, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchemaprotected static final int MAJOR_INITIAL+
protected static final int MAJOR_ROOT+
protected static final int MAJOR_OBJECT_FIELD+
protected static final int MAJOR_OBJECT_VALUE+
protected static final int MAJOR_ARRAY_ELEMENT+
protected static final int MAJOR_CLOSED+
protected static final int MINOR_HEADER_INITIAL+
protected static final int MINOR_HEADER_INLINE+
protected static final int MINOR_FIELD_NAME_2BYTE+
protected static final int MINOR_FIELD_NAME_LONG+
protected static final int MINOR_FIELD_NAME_SHORT_ASCII+
protected static final int MINOR_FIELD_NAME_SHORT_UNICODE+
protected static final int MINOR_VALUE_NUMBER_INT+
protected static final int MINOR_VALUE_NUMBER_LONG+
protected static final int MINOR_VALUE_NUMBER_FLOAT+
protected static final int MINOR_VALUE_NUMBER_DOUBLE+
protected static final int MINOR_VALUE_NUMBER_BIGINT_LEN+
protected static final int MINOR_VALUE_NUMBER_BIGINT_BODY+
protected static final int MINOR_VALUE_NUMBER_BIGDEC_SCALE+
protected static final int MINOR_VALUE_NUMBER_BIGDEC_LEN+
protected static final int MINOR_VALUE_NUMBER_BIGDEC_BODY+
protected static final int MINOR_VALUE_STRING_SHORT_ASCII+
protected static final int MINOR_VALUE_STRING_SHORT_UNICODE+
protected static final int MINOR_VALUE_STRING_LONG_ASCII+
protected static final int MINOR_VALUE_STRING_LONG_UNICODE+
protected static final int MINOR_VALUE_STRING_SHARED_2BYTE+
protected static final int MINOR_VALUE_BINARY_RAW_LEN+
protected static final int MINOR_VALUE_BINARY_RAW_BODY+
protected static final int MINOR_VALUE_BINARY_7BIT_LEN+
protected static final int MINOR_VALUE_BINARY_7BIT_BODY+
protected int _majorState+
protected int _minorState+
protected int _majorStateAfterValue+
_majorState after completing a scalar valueprotected boolean _endOfInput+
protected byte[] _inputCopy+
protected int _inputCopyLen+
_inputCopyprotected int _pending32+
protected long _pending64+
protected com.fasterxml.jackson.core.util.ByteArrayBuilder _byteArrayBuilder+
public NonBlockingParserBase(com.fasterxml.jackson.core.io.IOContext ctxt, + int parserFeatures, + int smileFeatures, + com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym)+
public com.fasterxml.jackson.core.ObjectCodec getCodec()+
getCodec in class com.fasterxml.jackson.core.JsonParserpublic void setCodec(com.fasterxml.jackson.core.ObjectCodec c)+
setCodec in class com.fasterxml.jackson.core.JsonParserpublic boolean canParseAsync()+
canParseAsync in class com.fasterxml.jackson.core.JsonParserprotected void _releaseBuffers2()+
_closeInput() (for
+ example, when explicitly closing this reader instance), or
+ separately (if need be)._releaseBuffers2 in class SmileParserBaseprotected com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer symbolTableForTests()+
public abstract int releaseBuffered(OutputStream out) + throws IOException+
releaseBuffered in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic Object getInputSource()+
getInputSource in class com.fasterxml.jackson.core.JsonParserprotected void _closeInput() + throws IOException+
_closeInput in class SmileParserBaseIOExceptionprotected void _parseNumericValue() + throws IOException+
_parseNumericValue in class SmileParserBaseIOExceptionpublic boolean hasTextCharacters()+
hasTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBasepublic String getText() + throws IOException+
ParserMinimalBase.nextToken(), or
+ after encountering end-of-input), returns null.
+ Method can be called for any event.getText in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic char[] getTextCharacters() + throws IOException+
getTextCharacters in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextLength() + throws IOException+
getTextLength in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getTextOffset() + throws IOException+
getTextOffset in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic int getText(Writer w) + throws IOException+
getText in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) + throws IOException+
getBinaryValue in class com.fasterxml.jackson.core.base.ParserMinimalBaseIOExceptionpublic Object getEmbeddedObject() + throws IOException+
getEmbeddedObject in class com.fasterxml.jackson.core.JsonParserIOExceptionpublic int readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant, + OutputStream out) + throws IOException+
readBinaryValue in class com.fasterxml.jackson.core.JsonParserIOExceptionprotected final com.fasterxml.jackson.core.JsonToken _startArrayScope() + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _startObjectScope() + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _closeArrayScope() + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _closeObjectScope() + throws IOException+
IOExceptionprotected final String _findDecodedFromSymbols(byte[] inBuf, + int inPtr, + int len) + throws IOException+
IOExceptionprotected final String[] _expandSeenNames(String[] oldShared)+
protected final com.fasterxml.jackson.core.JsonToken _eofAsNextToken() + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _valueComplete(com.fasterxml.jackson.core.JsonToken t) + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _handleSharedString(int index) + throws IOException+
IOExceptionprotected final com.fasterxml.jackson.core.JsonToken _handleSharedName(int index) + throws IOException+
IOExceptionprotected final void _addSeenStringValue(String v) + throws IOException+
IOExceptionpublic void _initByteArrayBuilder()+
protected void _reportMissingHeader(int unmaskedFirstByte) + throws IOException+
IOExceptionprotected void _reportInvalidSharedName(int index) + throws IOException+
IOExceptionprotected void _reportInvalidSharedStringValue(int index) + throws IOException+
IOExceptionprotected void _reportInvalidInitial(int mask) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionprotected void _reportInvalidOther(int mask, + int ptr) + throws com.fasterxml.jackson.core.JsonParseException+
com.fasterxml.jackson.core.JsonParseExceptionCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/class-use/NonBlockingByteArrayParser.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/class-use/NonBlockingByteArrayParser.html new file mode 100644 index 000000000..0702774da --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/class-use/NonBlockingByteArrayParser.html @@ -0,0 +1,171 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
NonBlockingByteArrayParser |
+SmileFactory.createNonBlockingByteArrayParser() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/class-use/NonBlockingParserBase.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/class-use/NonBlockingParserBase.html new file mode 100644 index 000000000..cd59987fe --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/class-use/NonBlockingParserBase.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile.async | +
+ Package that contains experimental non-blocking ("asynchronous")
+ implementation of reader-part of Jackson streaming API,
+ working on Smile format.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+NonBlockingByteArrayParser |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-frame.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-frame.html new file mode 100644 index 000000000..e837be311 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +See: Description
+| Class | +Description | +
|---|---|
| NonBlockingByteArrayParser | ++ |
| NonBlockingParserBase | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-tree.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-tree.html new file mode 100644 index 000000000..6b4a3028f --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-tree.html @@ -0,0 +1,155 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-use.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-use.html new file mode 100644 index 000000000..2cc57d9dd --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/async/package-use.html @@ -0,0 +1,187 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| com.fasterxml.jackson.dataformat.smile.async | +
+ Package that contains experimental non-blocking ("asynchronous")
+ implementation of reader-part of Jackson streaming API,
+ working on Smile format.
+ |
+
| Class and Description | +
|---|
| NonBlockingByteArrayParser | +
| Class and Description | +
|---|
| NonBlockingParserBase | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/PackageVersion.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/PackageVersion.html new file mode 100644 index 000000000..9ea43a950 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/PackageVersion.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileBufferRecycler.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileBufferRecycler.html new file mode 100644 index 000000000..d8efed1a0 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileBufferRecycler.html @@ -0,0 +1,223 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected SmileBufferRecycler<SmileGenerator.SharedStringNode> |
+SmileGenerator._smileBufferRecycler
+Helper object used for low-level recycling of Smile-generator
+ specific buffers.
+ |
+
protected SmileBufferRecycler<String> |
+SmileParserBase._smileBufferRecycler
+Helper object used for low-level recycling of Smile-generator
+ specific buffers.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected static ThreadLocal<SoftReference<SmileBufferRecycler<SmileGenerator.SharedStringNode>>> |
+SmileGenerator._smileRecyclerRef
+This
+ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers. |
+
protected static ThreadLocal<SoftReference<SmileBufferRecycler<String>>> |
+SmileParserBase._smileRecyclerRef
+ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers. |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected static SmileBufferRecycler<SmileGenerator.SharedStringNode> |
+SmileGenerator._smileBufferRecycler() |
+
protected static SmileBufferRecycler<String> |
+SmileParserBase._smileBufferRecycler() |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileConstants.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileConstants.html new file mode 100644 index 000000000..4c31ace17 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileConstants.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileFactory.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileFactory.html new file mode 100644 index 000000000..792f11492 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileFactory.html @@ -0,0 +1,283 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| com.fasterxml.jackson.dataformat.smile.databind | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SmileFactory |
+SmileFactoryBuilder.build() |
+
SmileFactory |
+SmileFactory.configure(SmileGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileFactory |
+SmileFactory.configure(SmileParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+SmileParser.Feature for list of features) |
+
SmileFactory |
+SmileFactory.copy() |
+
SmileFactory |
+SmileFactory.disable(SmileGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileFactory |
+SmileFactory.disable(SmileParser.Feature f)
+Method for disabling specified parser features
+ (check
+SmileParser.Feature for list of features) |
+
SmileFactory |
+SmileFactory.enable(SmileGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileFactory |
+SmileFactory.enable(SmileParser.Feature f)
+Method for enabling specified parser feature
+ (check
+SmileParser.Feature for list of features) |
+
| Constructor and Description | +
|---|
SmileFactory(SmileFactory src,
+ com.fasterxml.jackson.core.ObjectCodec oc)
+Note: REQUIRES 2.2.1 -- unfortunate intra-patch dep but seems
+ preferable to just leaving bug be as is
+ |
+
SmileFactoryBuilder(SmileFactory base) |
+
| Modifier and Type | +Method and Description | +
|---|---|
SmileFactory |
+SmileMapper.getFactory() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static SmileMapper.Builder |
+SmileMapper.builder(SmileFactory streamFactory) |
+
| Constructor and Description | +
|---|
SmileMapper(SmileFactory f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileFactoryBuilder.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileFactoryBuilder.html new file mode 100644 index 000000000..00f7ca082 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileFactoryBuilder.html @@ -0,0 +1,237 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Constructor and Description | +
|---|
SmileFactory(SmileFactoryBuilder b)
+Constructors used by
+SmileFactoryBuilder for instantiation. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.Feature.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.Feature.html new file mode 100644 index 000000000..047d47a78 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.Feature.html @@ -0,0 +1,280 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static SmileGenerator.Feature |
+SmileGenerator.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static SmileGenerator.Feature[] |
+SmileGenerator.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Class<SmileGenerator.Feature> |
+SmileFactory.getFormatWriteFeatureType() |
+
| Modifier and Type | +Method and Description | +
|---|---|
SmileFactory |
+SmileFactory.configure(SmileGenerator.Feature f,
+ boolean state)
+Method for enabling or disabling specified generator feature
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileGenerator |
+SmileGenerator.configure(SmileGenerator.Feature f,
+ boolean state) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.configure(SmileGenerator.Feature f,
+ boolean state) |
+
SmileFactory |
+SmileFactory.disable(SmileGenerator.Feature f)
+Method for disabling specified generator feature
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileGenerator |
+SmileGenerator.disable(SmileGenerator.Feature f) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.disable(SmileGenerator.Feature f) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.disable(SmileGenerator.Feature first,
+ SmileGenerator.Feature... other) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.disable(SmileGenerator.Feature first,
+ SmileGenerator.Feature... other) |
+
SmileFactory |
+SmileFactory.enable(SmileGenerator.Feature f)
+Method for enabling specified generator features
+ (check
+SmileGenerator.Feature for list of features) |
+
SmileGenerator |
+SmileGenerator.enable(SmileGenerator.Feature f) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.enable(SmileGenerator.Feature f) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.enable(SmileGenerator.Feature first,
+ SmileGenerator.Feature... other) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.enable(SmileGenerator.Feature first,
+ SmileGenerator.Feature... other) |
+
boolean |
+SmileFactory.isEnabled(SmileGenerator.Feature f)
+Check whether specified generator feature is enabled.
+ |
+
boolean |
+SmileGenerator.isEnabled(SmileGenerator.Feature f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.SharedStringNode.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.SharedStringNode.html new file mode 100644 index 000000000..3a7602ff5 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.SharedStringNode.html @@ -0,0 +1,235 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected SmileGenerator.SharedStringNode[] |
+SmileGenerator._seenNames
+Raw data structure used for checking whether field name to
+ write can be output using back reference or not.
+ |
+
protected SmileGenerator.SharedStringNode[] |
+SmileGenerator._seenStringValues
+Raw data structure used for checking whether String value to
+ write can be output using back reference or not.
+ |
+
SmileGenerator.SharedStringNode |
+SmileGenerator.SharedStringNode.next |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected SmileBufferRecycler<SmileGenerator.SharedStringNode> |
+SmileGenerator._smileBufferRecycler
+Helper object used for low-level recycling of Smile-generator
+ specific buffers.
+ |
+
protected static ThreadLocal<SoftReference<SmileBufferRecycler<SmileGenerator.SharedStringNode>>> |
+SmileGenerator._smileRecyclerRef
+This
+ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers. |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected static SmileBufferRecycler<SmileGenerator.SharedStringNode> |
+SmileGenerator._smileBufferRecycler() |
+
| Constructor and Description | +
|---|
SharedStringNode(String value,
+ int index,
+ SmileGenerator.SharedStringNode next) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.html new file mode 100644 index 000000000..55ad23d1f --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileGenerator.html @@ -0,0 +1,200 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected SmileGenerator |
+SmileFactory._createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
SmileGenerator |
+SmileGenerator.configure(SmileGenerator.Feature f,
+ boolean state) |
+
SmileGenerator |
+SmileFactory.createGenerator(OutputStream out)
+Method for constructing
+JsonGenerator for generating
+ Smile-encoded output. |
+
SmileGenerator |
+SmileFactory.createGenerator(OutputStream out,
+ com.fasterxml.jackson.core.JsonEncoding enc)
+Method for constructing
+JsonGenerator for generating
+ Smile-encoded output. |
+
SmileGenerator |
+SmileGenerator.disable(SmileGenerator.Feature f) |
+
SmileGenerator |
+SmileGenerator.enable(SmileGenerator.Feature f) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParser.Feature.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParser.Feature.html new file mode 100644 index 000000000..3724e8cc6 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParser.Feature.html @@ -0,0 +1,263 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static SmileParser.Feature |
+SmileParser.Feature.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static SmileParser.Feature[] |
+SmileParser.Feature.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Class<SmileParser.Feature> |
+SmileFactory.getFormatReadFeatureType() |
+
| Modifier and Type | +Method and Description | +
|---|---|
SmileFactory |
+SmileFactory.configure(SmileParser.Feature f,
+ boolean state)
+Method for enabling or disabling specified parser feature
+ (check
+SmileParser.Feature for list of features) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.configure(SmileParser.Feature f,
+ boolean state) |
+
SmileFactory |
+SmileFactory.disable(SmileParser.Feature f)
+Method for disabling specified parser features
+ (check
+SmileParser.Feature for list of features) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.disable(SmileParser.Feature f) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.disable(SmileParser.Feature first,
+ SmileParser.Feature... other) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.disable(SmileParser.Feature first,
+ SmileParser.Feature... other) |
+
SmileFactory |
+SmileFactory.enable(SmileParser.Feature f)
+Method for enabling specified parser feature
+ (check
+SmileParser.Feature for list of features) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.enable(SmileParser.Feature f) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.enable(SmileParser.Feature first,
+ SmileParser.Feature... other) |
+
SmileFactoryBuilder |
+SmileFactoryBuilder.enable(SmileParser.Feature first,
+ SmileParser.Feature... other) |
+
boolean |
+SmileFactory.isEnabled(SmileParser.Feature f)
+Checked whether specified parser feature is enabled.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParser.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParser.html new file mode 100644 index 000000000..71e88159d --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParser.html @@ -0,0 +1,211 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
protected SmileParser |
+SmileFactory._createParser(byte[] data,
+ int offset,
+ int len,
+ com.fasterxml.jackson.core.io.IOContext ctxt) |
+
protected SmileParser |
+SmileFactory._createParser(InputStream in,
+ com.fasterxml.jackson.core.io.IOContext ctxt)
+Overridable factory method that actually instantiates desired parser.
+ |
+
SmileParser |
+SmileParserBootstrapper.constructParser(int factoryFeatures,
+ int generalParserFeatures,
+ int smileFeatures,
+ com.fasterxml.jackson.core.ObjectCodec codec,
+ com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) |
+
SmileParser |
+SmileFactory.createParser(byte[] data) |
+
SmileParser |
+SmileFactory.createParser(byte[] data,
+ int offset,
+ int len) |
+
SmileParser |
+SmileFactory.createParser(File f) |
+
SmileParser |
+SmileFactory.createParser(InputStream in) |
+
SmileParser |
+SmileFactory.createParser(URL url) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParserBase.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParserBase.html new file mode 100644 index 000000000..112943cf4 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParserBase.html @@ -0,0 +1,201 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| com.fasterxml.jackson.dataformat.smile.async | +
+ Package that contains experimental non-blocking ("asynchronous")
+ implementation of reader-part of Jackson streaming API,
+ working on Smile format.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+SmileParser |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+NonBlockingByteArrayParser |
+
class |
+NonBlockingParserBase |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParserBootstrapper.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParserBootstrapper.html new file mode 100644 index 000000000..bcbfbff2c --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileParserBootstrapper.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileUtil.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileUtil.html new file mode 100644 index 000000000..77151dc7a --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileUtil.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileWriteContext.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileWriteContext.html new file mode 100644 index 000000000..c6a19c8bc --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/class-use/SmileWriteContext.html @@ -0,0 +1,233 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected SmileWriteContext |
+SmileWriteContext._childToRecycle |
+
protected SmileWriteContext |
+SmileWriteContext._parent
+Parent context for this context; null for root context.
+ |
+
protected SmileWriteContext |
+SmileGenerator._streamWriteContext |
+
| Modifier and Type | +Method and Description | +
|---|---|
SmileWriteContext |
+SmileWriteContext.clearAndGetParent()
+Method that can be used to both clear the accumulated references
+ (specifically value set with
+setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ getParent() do). |
+
SmileWriteContext |
+SmileWriteContext.createChildArrayContext(Object currentValue) |
+
SmileWriteContext |
+SmileWriteContext.createChildObjectContext(Object currentValue) |
+
static SmileWriteContext |
+SmileWriteContext.createRootContext(com.fasterxml.jackson.core.json.DupDetector dd) |
+
SmileWriteContext |
+SmileWriteContext.getParent() |
+
SmileWriteContext |
+SmileWriteContext.withDupDetector(com.fasterxml.jackson.core.json.DupDetector dups) |
+
| Constructor and Description | +
|---|
SmileWriteContext(int type,
+ SmileWriteContext parent,
+ com.fasterxml.jackson.core.json.DupDetector dups,
+ Object currentValue) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/SmileMapper.Builder.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/SmileMapper.Builder.html new file mode 100644 index 000000000..500b15e4e --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/SmileMapper.Builder.html @@ -0,0 +1,276 @@ + + + + + + +public static class SmileMapper.Builder +extends com.fasterxml.jackson.databind.cfg.MapperBuilder<SmileMapper,SmileMapper.Builder>+
ObjectMapper, used with
+ CBOR backend._mapper| Constructor and Description | +
|---|
Builder(SmileMapper m) |
+
_this, accessorNaming, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addModule, addModules, addModules, annotationIntrospector, build, clearProblemHandlers, configure, configure, configure, configure, configure, configure, configure, constructorDetector, deactivateDefaultTyping, defaultAttributes, defaultBase64Variant, defaultDateFormat, defaultLeniency, defaultLocale, defaultMergeable, defaultPrettyPrinter, defaultPropertyInclusion, defaultSetterInfo, defaultTimeZone, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, filterProvider, findAndAddModules, findModules, findModules, handlerInstantiator, injectableValues, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, nodeFactory, polymorphicTypeValidator, propertyNamingStrategy, registerSubtypes, registerSubtypes, registerSubtypes, removeMixIn, serializationInclusion, serializerFactory, setDefaultTyping, streamFactory, subtypeResolver, typeFactory, visibility, visibility, withCoercionConfig, withCoercionConfig, withCoercionConfigDefaults, withConfigOverridepublic Builder(SmileMapper m)+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/SmileMapper.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/SmileMapper.html new file mode 100644 index 000000000..a12e51273 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/SmileMapper.html @@ -0,0 +1,451 @@ + + + + + + +public class SmileMapper
+extends com.fasterxml.jackson.databind.ObjectMapper
+ObjectMapper to use with CBOR format backend.| Modifier and Type | +Class and Description | +
|---|---|
static class |
+SmileMapper.Builder
+Base implementation for "Vanilla"
+ObjectMapper, used with
+ CBOR backend. |
+
com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder, com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping_coercionConfigs, _configOverrides, _deserializationConfig, _deserializationContext, _injectableValues, _jsonFactory, _mixIns, _registeredModuleTypes, _rootDeserializers, _serializationConfig, _serializerFactory, _serializerProvider, _subtypeResolver, _typeFactory, DEFAULT_ANNOTATION_INTROSPECTOR, DEFAULT_BASE| Modifier | +Constructor and Description | +
|---|---|
|
+SmileMapper() |
+
|
+SmileMapper(SmileFactory f) |
+
protected |
+SmileMapper(SmileMapper src) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static SmileMapper.Builder |
+builder() |
+
static SmileMapper.Builder |
+builder(SmileFactory streamFactory) |
+
SmileMapper |
+copy() |
+
SmileFactory |
+getFactory() |
+
com.fasterxml.jackson.core.Version |
+version() |
+
_assertNotNull, _checkInvalidCopy, _configAndWriteValue, _constructDefaultTypeResolverBuilder, _convert, _findRootDeserializer, _initForReading, _newReader, _newReader, _newWriter, _newWriter, _newWriter, _readMapAndClose, _readTreeAndClose, _readValue, _serializerProvider, _verifyNoTrailingTokens, _verifySchemaType, _writeValueAndClose, acceptJsonFormatVisitor, acceptJsonFormatVisitor, activateDefaultTyping, activateDefaultTyping, activateDefaultTyping, activateDefaultTypingAsProperty, addHandler, addMixIn, addMixInAnnotations, canDeserialize, canDeserialize, canSerialize, canSerialize, clearProblemHandlers, coercionConfigDefaults, coercionConfigFor, coercionConfigFor, configOverride, configure, configure, configure, configure, configure, constructType, constructType, convertValue, convertValue, convertValue, createArrayNode, createDeserializationContext, createGenerator, createGenerator, createGenerator, createGenerator, createGenerator, createNonBlockingByteArrayParser, createObjectNode, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, createParser, deactivateDefaultTyping, defaultClassIntrospector, disable, disable, disable, disable, disable, disable, disable, disableDefaultTyping, enable, enable, enable, enable, enable, enable, enable, enableDefaultTyping, enableDefaultTyping, enableDefaultTyping, enableDefaultTypingAsProperty, findAndRegisterModules, findMixInClassFor, findModules, findModules, generateJsonSchema, getDateFormat, getDeserializationConfig, getDeserializationContext, getInjectableValues, getNodeFactory, getPolymorphicTypeValidator, getPropertyNamingStrategy, getRegisteredModuleIds, getSerializationConfig, getSerializerFactory, getSerializerProvider, getSerializerProviderInstance, getSubtypeResolver, getTypeFactory, getVisibilityChecker, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, missingNode, mixInCount, nullNode, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, reader, readerFor, readerFor, readerFor, readerForArrayOf, readerForListOf, readerForMapOf, readerForUpdating, readerWithView, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readTree, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValues, readValues, readValues, readValues, registerModule, registerModules, registerModules, registerSubtypes, registerSubtypes, registerSubtypes, setAccessorNaming, setAnnotationIntrospector, setAnnotationIntrospectors, setBase64Variant, setConfig, setConfig, setConstructorDetector, setDateFormat, setDefaultAttributes, setDefaultLeniency, setDefaultMergeable, setDefaultPrettyPrinter, setDefaultPropertyInclusion, setDefaultPropertyInclusion, setDefaultSetterInfo, setDefaultTyping, setDefaultVisibility, setFilterProvider, setFilters, setHandlerInstantiator, setInjectableValues, setLocale, setMixInAnnotations, setMixInResolver, setMixIns, setNodeFactory, setPolymorphicTypeValidator, setPropertyInclusion, setPropertyNamingStrategy, setSerializationInclusion, setSerializerFactory, setSerializerProvider, setSubtypeResolver, setTimeZone, setTypeFactory, setVisibility, setVisibility, setVisibilityChecker, tokenStreamFactory, treeAsTokens, treeToValue, treeToValue, updateValue, valueToTree, writer, writer, writer, writer, writer, writer, writer, writer, writer, writer, writerFor, writerFor, writerFor, writerWithDefaultPrettyPrinter, writerWithType, writerWithType, writerWithType, writerWithView, writeTree, writeTree, writeValue, writeValue, writeValue, writeValue, writeValue, writeValueAsBytes, writeValueAsStringgetJsonFactorypublic SmileMapper()+
public SmileMapper(SmileFactory f)+
protected SmileMapper(SmileMapper src)+
public static SmileMapper.Builder builder()+
public static SmileMapper.Builder builder(SmileFactory streamFactory)+
public SmileMapper copy()+
copy in class com.fasterxml.jackson.databind.ObjectMapperpublic com.fasterxml.jackson.core.Version version()+
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.databind.ObjectMapperpublic SmileFactory getFactory()+
getFactory in class com.fasterxml.jackson.databind.ObjectMapperCopyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/class-use/SmileMapper.Builder.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/class-use/SmileMapper.Builder.html new file mode 100644 index 000000000..09f492304 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/class-use/SmileMapper.Builder.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile.databind | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static SmileMapper.Builder |
+SmileMapper.builder() |
+
static SmileMapper.Builder |
+SmileMapper.builder(SmileFactory streamFactory) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/class-use/SmileMapper.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/class-use/SmileMapper.html new file mode 100644 index 000000000..4d9ff8ef4 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/class-use/SmileMapper.html @@ -0,0 +1,180 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile.databind | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SmileMapper |
+SmileMapper.copy() |
+
| Constructor and Description | +
|---|
Builder(SmileMapper m) |
+
SmileMapper(SmileMapper src) |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-frame.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-frame.html new file mode 100644 index 000000000..c4ff846fd --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +| Class | +Description | +
|---|---|
| SmileMapper | +
+ Specialized
+ObjectMapper to use with CBOR format backend. |
+
| SmileMapper.Builder | +
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ CBOR backend. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-tree.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-tree.html new file mode 100644 index 000000000..cfe6ace2d --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-use.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-use.html new file mode 100644 index 000000000..3aa653ca9 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/databind/package-use.html @@ -0,0 +1,167 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile.databind | ++ |
| Class and Description | +
|---|
| SmileMapper
+ Specialized
+ObjectMapper to use with CBOR format backend. |
+
| SmileMapper.Builder
+ Base implementation for "Vanilla"
+ObjectMapper, used with
+ CBOR backend. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-frame.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-frame.html new file mode 100644 index 000000000..f076249d1 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-frame.html @@ -0,0 +1,37 @@ + + + + + + +See: Description
+| Class | +Description | +
|---|---|
| PackageVersion | +
+ Automatically generated from PackageVersion.java.in during
+ packageVersion-generate execution of maven-replacer-plugin in
+ pom.xml.
+ |
+
| SmileBufferRecycler<T> | +
+ Simple helper class used for implementing simple reuse system for Smile-specific
+ buffers that are used.
+ |
+
| SmileConstants | +
+ Constants used by
+SmileGenerator and SmileParser |
+
| SmileFactory | +
+ Factory used for constructing
+SmileParser and SmileGenerator
+ instances; both of which handle
+ Smile encoded data. |
+
| SmileFactoryBuilder | +
+TSFBuilder
+ implementation for constructing SmileFactory
+ instances. |
+
| SmileGenerator | +
+JsonGenerator implementation for Smile-encoded content
+ (see Smile Format Specification) |
+
| SmileGenerator.SharedStringNode | +
+ Helper class used for keeping track of possibly shareable String
+ references (for field names and/or short String values)
+ |
+
| SmileParser | ++ |
| SmileParserBase | ++ |
| SmileParserBootstrapper | +
+ Simple bootstrapper version used with Smile format parser.
+ |
+
| SmileUtil | +
+ Class for miscellaneous helper methods.
+ |
+
| SmileWriteContext | +
+ Replacement for
+JsonWriteContext; while not strictly
+ needed is more streamlined, optimal since there's no need to
+ keep track of separators etc. |
+
| Enum | +Description | +
|---|---|
| SmileGenerator.Feature | +
+ Enumeration that defines all togglable features for Smile generators.
+ |
+
| SmileParser.Feature | +
+ Enumeration that defines all togglable features for Smile generators.
+ |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-tree.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-tree.html new file mode 100644 index 000000000..86d70af96 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-tree.html @@ -0,0 +1,198 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-use.html b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-use.html new file mode 100644 index 000000000..2596567c6 --- /dev/null +++ b/docs/javadoc/smile/2.13/com/fasterxml/jackson/dataformat/smile/package-use.html @@ -0,0 +1,262 @@ + + + + + + +| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| com.fasterxml.jackson.dataformat.smile.async | +
+ Package that contains experimental non-blocking ("asynchronous")
+ implementation of reader-part of Jackson streaming API,
+ working on Smile format.
+ |
+
| com.fasterxml.jackson.dataformat.smile.databind | ++ |
| Class and Description | +
|---|
| SmileBufferRecycler
+ Simple helper class used for implementing simple reuse system for Smile-specific
+ buffers that are used.
+ |
+
| SmileFactory
+ Factory used for constructing
+SmileParser and SmileGenerator
+ instances; both of which handle
+ Smile encoded data. |
+
SmileFactoryBuilder
+TSFBuilder
+ implementation for constructing SmileFactory
+ instances. |
+
SmileGenerator
+JsonGenerator implementation for Smile-encoded content
+ (see Smile Format Specification) |
+
| SmileGenerator.Feature
+ Enumeration that defines all togglable features for Smile generators.
+ |
+
| SmileGenerator.SharedStringNode
+ Helper class used for keeping track of possibly shareable String
+ references (for field names and/or short String values)
+ |
+
| SmileParser | +
| SmileParser.Feature
+ Enumeration that defines all togglable features for Smile generators.
+ |
+
| SmileParserBase | +
| SmileWriteContext
+ Replacement for
+JsonWriteContext; while not strictly
+ needed is more streamlined, optimal since there's no need to
+ keep track of separators etc. |
+
| Class and Description | +
|---|
| SmileParserBase | +
| Class and Description | +
|---|
| SmileFactory
+ Factory used for constructing
+SmileParser and SmileGenerator
+ instances; both of which handle
+ Smile encoded data. |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/constant-values.html b/docs/javadoc/smile/2.13/constant-values.html new file mode 100644 index 000000000..d744c4a5c --- /dev/null +++ b/docs/javadoc/smile/2.13/constant-values.html @@ -0,0 +1,903 @@ + + + + + + +| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+DEFAULT_NAME_BUFFER_LENGTH |
+64 |
+
+
+public static final int |
+DEFAULT_STRING_VALUE_BUFFER_LENGTH |
+64 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final byte |
+BYTE_MARKER_END_OF_CONTENT |
+-1 |
+
+
+public static final byte |
+BYTE_MARKER_END_OF_STRING |
+-4 |
+
+
+public static final int |
+HEADER_BIT_HAS_RAW_BINARY |
+4 |
+
+
+public static final int |
+HEADER_BIT_HAS_SHARED_NAMES |
+1 |
+
+
+public static final int |
+HEADER_BIT_HAS_SHARED_STRING_VALUES |
+2 |
+
+
+public static final byte |
+HEADER_BYTE_1 |
+58 |
+
+
+public static final byte |
+HEADER_BYTE_2 |
+41 |
+
+
+public static final byte |
+HEADER_BYTE_3 |
+10 |
+
+
+public static final byte |
+HEADER_BYTE_4 |
+0 |
+
+
+public static final int |
+HEADER_VERSION_0 |
+0 |
+
+
+public static final int |
+INT_MARKER_END_OF_STRING |
+252 |
+
+
+public static final int |
+INT_MISC_BINARY_7BIT |
+232 |
+
+
+public static final int |
+INT_MISC_BINARY_RAW |
+253 |
+
+
+public static final int |
+MAX_SHARED_NAMES |
+1024 |
+
+
+public static final int |
+MAX_SHARED_STRING_LENGTH_BYTES |
+65 |
+
+
+public static final int |
+MAX_SHARED_STRING_VALUES |
+1024 |
+
+
+public static final int |
+MAX_SHORT_NAME_ANY_BYTES |
+64 |
+
+
+public static final int |
+MAX_SHORT_NAME_ASCII_BYTES |
+64 |
+
+
+public static final int |
+MAX_SHORT_NAME_UNICODE_BYTES |
+56 |
+
+
+public static final int |
+MAX_SHORT_VALUE_STRING_BYTES |
+64 |
+
+
+public static final int |
+MIN_BUFFER_FOR_POSSIBLE_SHORT_STRING |
+196 |
+
+
+public static final byte |
+TOKEN_KEY_EMPTY_STRING |
+32 |
+
+
+public static final byte |
+TOKEN_KEY_LONG_STRING |
+52 |
+
+
+public static final byte |
+TOKEN_LITERAL_EMPTY_STRING |
+32 |
+
+
+public static final byte |
+TOKEN_LITERAL_END_ARRAY |
+-7 |
+
+
+public static final byte |
+TOKEN_LITERAL_END_OBJECT |
+-5 |
+
+
+public static final byte |
+TOKEN_LITERAL_FALSE |
+34 |
+
+
+public static final byte |
+TOKEN_LITERAL_NULL |
+33 |
+
+
+public static final byte |
+TOKEN_LITERAL_START_ARRAY |
+-8 |
+
+
+public static final byte |
+TOKEN_LITERAL_START_OBJECT |
+-6 |
+
+
+public static final byte |
+TOKEN_LITERAL_TRUE |
+35 |
+
+
+public static final byte |
+TOKEN_MISC_BINARY_7BIT |
+-24 |
+
+
+public static final byte |
+TOKEN_MISC_BINARY_RAW |
+-3 |
+
+
+public static final int |
+TOKEN_MISC_FLOAT_32 |
+0 |
+
+
+public static final int |
+TOKEN_MISC_FLOAT_64 |
+1 |
+
+
+public static final int |
+TOKEN_MISC_FLOAT_BIG |
+2 |
+
+
+public static final int |
+TOKEN_MISC_INTEGER_32 |
+0 |
+
+
+public static final int |
+TOKEN_MISC_INTEGER_64 |
+1 |
+
+
+public static final int |
+TOKEN_MISC_INTEGER_BIG |
+2 |
+
+
+public static final byte |
+TOKEN_MISC_LONG_TEXT_ASCII |
+-32 |
+
+
+public static final byte |
+TOKEN_MISC_LONG_TEXT_UNICODE |
+-28 |
+
+
+public static final int |
+TOKEN_PREFIX_FP |
+40 |
+
+
+public static final int |
+TOKEN_PREFIX_INTEGER |
+36 |
+
+
+public static final int |
+TOKEN_PREFIX_KEY_ASCII |
+128 |
+
+
+public static final int |
+TOKEN_PREFIX_KEY_SHARED_LONG |
+48 |
+
+
+public static final int |
+TOKEN_PREFIX_KEY_SHARED_SHORT |
+64 |
+
+
+public static final int |
+TOKEN_PREFIX_KEY_UNICODE |
+192 |
+
+
+public static final int |
+TOKEN_PREFIX_MISC_OTHER |
+224 |
+
+
+public static final int |
+TOKEN_PREFIX_SHARED_STRING_LONG |
+236 |
+
+
+public static final int |
+TOKEN_PREFIX_SHARED_STRING_SHORT |
+0 |
+
+
+public static final int |
+TOKEN_PREFIX_SHORT_UNICODE |
+160 |
+
+
+public static final int |
+TOKEN_PREFIX_SMALL_ASCII |
+96 |
+
+
+public static final int |
+TOKEN_PREFIX_SMALL_INT |
+192 |
+
+
+public static final int |
+TOKEN_PREFIX_TINY_ASCII |
+64 |
+
+
+public static final int |
+TOKEN_PREFIX_TINY_UNICODE |
+128 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+FORMAT_NAME_SMILE |
+"Smile" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final long |
+MAX_INT_AS_LONG |
+2147483647L |
+
+
+protected static final long |
+MIN_INT_AS_LONG |
+-2147483648L |
+
+
+protected static final int |
+REPLACEMENT_CHAR |
+65533 |
+
+
+protected static final byte |
+TOKEN_BYTE_BIG_DECIMAL |
+42 |
+
+
+protected static final byte |
+TOKEN_BYTE_BIG_INTEGER |
+38 |
+
+
+protected static final byte |
+TOKEN_BYTE_FLOAT_32 |
+40 |
+
+
+protected static final byte |
+TOKEN_BYTE_FLOAT_64 |
+41 |
+
+
+protected static final byte |
+TOKEN_BYTE_INT_32 |
+36 |
+
+
+protected static final byte |
+TOKEN_BYTE_INT_64 |
+37 |
+
+
+protected static final byte |
+TOKEN_BYTE_LONG_STRING_ASCII |
+-32 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final int |
+LONGEST_NON_CHUNKED_BINARY |
+250000 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+protected static final int |
+MAJOR_ARRAY_ELEMENT |
+4 |
+
+
+protected static final int |
+MAJOR_CLOSED |
+5 |
+
+
+protected static final int |
+MAJOR_INITIAL |
+0 |
+
+
+protected static final int |
+MAJOR_OBJECT_FIELD |
+2 |
+
+
+protected static final int |
+MAJOR_OBJECT_VALUE |
+3 |
+
+
+protected static final int |
+MAJOR_ROOT |
+1 |
+
+
+protected static final int |
+MINOR_FIELD_NAME_2BYTE |
+3 |
+
+
+protected static final int |
+MINOR_FIELD_NAME_LONG |
+4 |
+
+
+protected static final int |
+MINOR_FIELD_NAME_SHORT_ASCII |
+5 |
+
+
+protected static final int |
+MINOR_FIELD_NAME_SHORT_UNICODE |
+6 |
+
+
+protected static final int |
+MINOR_HEADER_INITIAL |
+1 |
+
+
+protected static final int |
+MINOR_HEADER_INLINE |
+2 |
+
+
+protected static final int |
+MINOR_VALUE_BINARY_7BIT_BODY |
+24 |
+
+
+protected static final int |
+MINOR_VALUE_BINARY_7BIT_LEN |
+23 |
+
+
+protected static final int |
+MINOR_VALUE_BINARY_RAW_BODY |
+22 |
+
+
+protected static final int |
+MINOR_VALUE_BINARY_RAW_LEN |
+21 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_BIGDEC_BODY |
+15 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_BIGDEC_LEN |
+14 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_BIGDEC_SCALE |
+13 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_BIGINT_BODY |
+12 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_BIGINT_LEN |
+11 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_DOUBLE |
+10 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_FLOAT |
+9 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_INT |
+7 |
+
+
+protected static final int |
+MINOR_VALUE_NUMBER_LONG |
+8 |
+
+
+protected static final int |
+MINOR_VALUE_STRING_LONG_ASCII |
+18 |
+
+
+protected static final int |
+MINOR_VALUE_STRING_LONG_UNICODE |
+19 |
+
+
+protected static final int |
+MINOR_VALUE_STRING_SHARED_2BYTE |
+20 |
+
+
+protected static final int |
+MINOR_VALUE_STRING_SHORT_ASCII |
+16 |
+
+
+protected static final int |
+MINOR_VALUE_STRING_SHORT_UNICODE |
+17 |
+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/deprecated-list.html b/docs/javadoc/smile/2.13/deprecated-list.html new file mode 100644 index 000000000..ef7fe20e3 --- /dev/null +++ b/docs/javadoc/smile/2.13/deprecated-list.html @@ -0,0 +1,148 @@ + + + + + + +| Method and Description | +
|---|
| com.fasterxml.jackson.dataformat.smile.SmileGenerator.writeStartArray(int) | +
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/help-doc.html b/docs/javadoc/smile/2.13/help-doc.html new file mode 100644 index 000000000..343059850 --- /dev/null +++ b/docs/javadoc/smile/2.13/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/index-all.html b/docs/javadoc/smile/2.13/index-all.html new file mode 100644 index 000000000..cf4780988 --- /dev/null +++ b/docs/javadoc/smile/2.13/index-all.html @@ -0,0 +1,1834 @@ + + + + + + +SmileFactory instances with
+ different configuration.SmileWriteContext.setCurrentValue(Object))
+ that should not be retained, and returns parent (as would
+ SmileWriteContext.getParent() do).SmileParser.Feature for list of features)SmileGenerator.Feature for list of features)JsonGenerator for generating
+ Smile-encoded output.JsonGenerator for generating
+ Smile-encoded output.SmileParser.Feature for list of features)SmileGenerator.Feature for list of features)SmileParser.Feature for list of features)SmileGenerator.Feature for list of features)SmileParser.getText() and similar methods.ParserMinimalBase.nextToken(), or
+ after encountering end-of-input), returns null.SmileParser.nextToken(), or
+ after encountering end-of-input), returns null.(1 << 10) values to keep track of.SmileGenerator and SmileParserSmileParser and SmileGenerator
+ instances; both of which handle
+ Smile encoded data.SmileFactoryBuilder for instantiation.TSFBuilder
+ implementation for constructing SmileFactory
+ instances.JsonGenerator implementation for Smile-encoded content
+ (see Smile Format Specification)ObjectMapper to use with CBOR format backend.ObjectMapper, used with
+ CBOR backend.JsonWriteContext; while not strictly
+ needed is more streamlined, optimal since there's no need to
+ keep track of separators etc.BigDecimal type.BigInteger type.ParserMinimalBase.getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
+ than once.Writer, for example)
+ should be delegated to regular Jackson JSON processing
+ (if set to true); or throw UnsupportedOperationException
+ (if set to false)SmileGenerator.Features
+ are enabled.SmileParser.Features are enabled.SmileGenerator.Features enabled, as bitmask.SmileParser.Features enabled, as bitmask.NonBlockingInputFeeder_inputCopy_majorState after completing a scalar valueParserMinimalBase.getTextCharacters() method (instead of String
+ returning alternatives)SmileGenerator._out.SmileGenerator._outputBuffer.SmileGenerator._outputBufferSmileGenerator._seenNames; -1 if no shared name
+ detection is enabledSmileGenerator._seenStringValues; -1 if no shared text value
+ detection is enabledThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers.ThreadLocal contains a SoftReference
+ to a buffer recycler used to provide a low-cost
+ buffer recycling for Smile-specific buffers.JsonLocation instances._tokenInputTotal that will only contain
+ offset within input buffer, as int.Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/index.html b/docs/javadoc/smile/2.13/index.html new file mode 100644 index 000000000..ea3952a0c --- /dev/null +++ b/docs/javadoc/smile/2.13/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/docs/javadoc/smile/2.13/overview-summary.html b/docs/javadoc/smile/2.13/overview-summary.html new file mode 100644 index 000000000..48f3831db --- /dev/null +++ b/docs/javadoc/smile/2.13/overview-summary.html @@ -0,0 +1,157 @@ + + + + + + +
| Package | +Description | +
|---|---|
| com.fasterxml.jackson.dataformat.smile | +
+ Package that contains implementation of Jackson Streaming API that works
+ with Smile data format (see Smile format specification),
+ and can be used with standard Jackson data binding functionality to deal with
+ Smile encoded data.
+ |
+
| com.fasterxml.jackson.dataformat.smile.async | +
+ Package that contains experimental non-blocking ("asynchronous")
+ implementation of reader-part of Jackson streaming API,
+ working on Smile format.
+ |
+
| com.fasterxml.jackson.dataformat.smile.databind | ++ |
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/overview-tree.html b/docs/javadoc/smile/2.13/overview-tree.html new file mode 100644 index 000000000..bd03f6d05 --- /dev/null +++ b/docs/javadoc/smile/2.13/overview-tree.html @@ -0,0 +1,223 @@ + + + + + + +Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/package-list b/docs/javadoc/smile/2.13/package-list new file mode 100644 index 000000000..a3e3a3ff1 --- /dev/null +++ b/docs/javadoc/smile/2.13/package-list @@ -0,0 +1,3 @@ +com.fasterxml.jackson.dataformat.smile +com.fasterxml.jackson.dataformat.smile.async +com.fasterxml.jackson.dataformat.smile.databind diff --git a/docs/javadoc/smile/2.13/script.js b/docs/javadoc/smile/2.13/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/docs/javadoc/smile/2.13/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/smile/2.13/serialized-form.html b/docs/javadoc/smile/2.13/serialized-form.html new file mode 100644 index 000000000..e01fbb0d9 --- /dev/null +++ b/docs/javadoc/smile/2.13/serialized-form.html @@ -0,0 +1,193 @@ + + + + + + +protected Object readResolve()+
boolean _cfgDelegateToTextual+
Writer, for example)
+ should be delegated to regular Jackson JSON processing
+ (if set to true); or throw UnsupportedOperationException
+ (if set to false)int _smileParserFeatures+
int _smileGeneratorFeatures+
Copyright © 2021 FasterXML. All rights reserved.
+ + diff --git a/docs/javadoc/smile/2.13/stylesheet.css b/docs/javadoc/smile/2.13/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/docs/javadoc/smile/2.13/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/ion/pom.xml b/ion/pom.xml index 4699a8f4d..fa9082ab1 100644 --- a/ion/pom.xml +++ b/ion/pom.xml @@ -9,7 +9,7 @@