| Modifier and Type | Field and Description |
|---|---|
| protected SchemaBuilder | _builder
Visitor used for resolving actual Schema, if structured type (or one with complex configuration) |
| protected SerializationContext | |
| protected boolean | |
| protected final DefinedSchemas | |
| protected Schema | _valueSchema
Schema for simple types that do not need a visitor. |
| protected boolean | |
| public static final boolean | DEFAULT_ENUM_AS_STRING
Default value for |
| public static final boolean | DEFAULT_LOGICAL_TYPES_ENABLED
Default value for |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| _builder | back to summary |
|---|---|
| protected SchemaBuilder _builder Visitor used for resolving actual Schema, if structured type (or one with complex configuration) | |
| _context | back to summary |
|---|---|
| protected SerializationContext _context | |
| _logicalTypesEnabled | back to summary |
|---|---|
| protected boolean _logicalTypesEnabled | |
| _schemas | back to summary |
|---|---|
| protected final DefinedSchemas _schemas | |
| _valueSchema | back to summary |
|---|---|
| protected Schema _valueSchema Schema for simple types that do not need a visitor. | |
| _writeEnumAsString | back to summary |
|---|---|
| protected boolean _writeEnumAsString | |
| DEFAULT_ENUM_AS_STRING | back to summary |
|---|---|
| public static final boolean DEFAULT_ENUM_AS_STRING Default value for | |
| DEFAULT_LOGICAL_TYPES_ENABLED | back to summary |
|---|---|
| public static final boolean DEFAULT_LOGICAL_TYPES_ENABLED Default value for | |
| VisitorFormatWrapperImpl | back to summary |
|---|---|
| public VisitorFormatWrapperImpl(DefinedSchemas schemas, SerializationContext ctxt) | |
| VisitorFormatWrapperImpl | back to summary |
|---|---|
| protected VisitorFormatWrapperImpl(VisitorFormatWrapperImpl src) | |
| _isDateTimeType | back to summary |
|---|---|
| private boolean _isDateTimeType(JavaType type) | |
| _throwUnsupported | back to summary |
|---|---|
| protected <T> T _throwUnsupported() | |
| _throwUnsupported | back to summary |
|---|---|
| protected <T> T _throwUnsupported(String msg) | |
| createChildWrapper | back to summary |
|---|---|
| protected VisitorFormatWrapperImpl createChildWrapper() Creates new
| |
| disableLogicalTypes | back to summary |
|---|---|
| public VisitorFormatWrapperImpl disableLogicalTypes() Disables Avro schema with Logical Types generation. | |
| disableWriteEnumAsString | back to summary |
|---|---|
| public VisitorFormatWrapperImpl disableWriteEnumAsString() Disable Java enum to Avro string mapping. | |
| enableLogicalTypes | back to summary |
|---|---|
| public VisitorFormatWrapperImpl enableLogicalTypes() Enables Avro schema with Logical Types generation. | |
| enableWriteEnumAsString | back to summary |
|---|---|
| public VisitorFormatWrapperImpl enableWriteEnumAsString() Enable Java enum to Avro string mapping. | |
| expectAnyFormat | back to summary |
|---|---|
| public JsonAnyFormatVisitor expectAnyFormat(JavaType convertedType) Implements tools.
| |
| expectArrayFormat | back to summary |
|---|---|
| public JsonArrayFormatVisitor expectArrayFormat(final JavaType convertedType) Implements tools.
| |
| expectAvroFormat | back to summary |
|---|---|
| public void expectAvroFormat(AvroSchema schema) | |
| expectBooleanFormat | back to summary |
|---|---|
| public JsonBooleanFormatVisitor expectBooleanFormat(JavaType convertedType) Implements tools.
| |
| expectIntegerFormat | back to summary |
|---|---|
| public JsonIntegerFormatVisitor expectIntegerFormat(JavaType type) Implements tools.
| |
| expectMapFormat | back to summary |
|---|---|
| public JsonMapFormatVisitor expectMapFormat(JavaType mapType) Implements tools. Doc from tools. Method called when type is of Java
| |
| expectNullFormat | back to summary |
|---|---|
| public JsonNullFormatVisitor expectNullFormat(JavaType convertedType) Implements tools.
| |
| expectNumberFormat | back to summary |
|---|---|
| public JsonNumberFormatVisitor expectNumberFormat(JavaType convertedType) Implements tools.
| |
| expectObjectFormat | back to summary |
|---|---|
| public JsonObjectFormatVisitor expectObjectFormat(JavaType type) Implements tools.
| |
| expectStringFormat | back to summary |
|---|---|
| public JsonStringFormatVisitor expectStringFormat(JavaType type) Implements tools.
| |
| getAvroSchema | back to summary |
|---|---|
| public Schema getAvroSchema() | |
| getContext | back to summary |
|---|---|
| public SerializationContext getContext() Implements tools.
| |
| getSchemas | back to summary |
|---|---|
| protected DefinedSchemas getSchemas() | |
| isLogicalTypesEnabled | back to summary |
|---|---|
| public boolean isLogicalTypesEnabled() | |
| isWriteEnumAsStringEnabled | back to summary |
|---|---|
| public boolean isWriteEnumAsStringEnabled() | |
| setContext | back to summary |
|---|---|
| public void setContext(SerializationContext ctxt) Implements tools.
| |