| 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 | |
| protected SerializerProvider | |
| protected final DefinedSchemas | |
| protected Schema | _valueSchema
Schema for simple types that do not need a visitor. |
| protected boolean |
| 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) | |
| _logicalTypesEnabled | back to summary |
|---|---|
protected boolean _logicalTypesEnabled
| |
| _provider | back to summary |
|---|---|
| protected SerializerProvider _provider | |
| _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
| |
| VisitorFormatWrapperImpl | back to summary |
|---|---|
| public VisitorFormatWrapperImpl(DefinedSchemas schemas, SerializerProvider p) | |
| 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) throws JsonMappingException Implements com.
| |
| expectArrayFormat | back to summary |
|---|---|
| public JsonArrayFormatVisitor expectArrayFormat(final JavaType convertedType) Implements com.
| |
| expectAvroFormat | back to summary |
|---|---|
| public void expectAvroFormat(AvroSchema schema) | |
| expectBooleanFormat | back to summary |
|---|---|
| public JsonBooleanFormatVisitor expectBooleanFormat(JavaType convertedType) Implements com.
| |
| expectIntegerFormat | back to summary |
|---|---|
| public JsonIntegerFormatVisitor expectIntegerFormat(JavaType type) Implements com.
| |
| expectMapFormat | back to summary |
|---|---|
| public JsonMapFormatVisitor expectMapFormat(JavaType mapType) Implements com. Doc from com. Method called when type is of Java
| |
| expectNullFormat | back to summary |
|---|---|
| public JsonNullFormatVisitor expectNullFormat(JavaType convertedType) Implements com.
| |
| expectNumberFormat | back to summary |
|---|---|
| public JsonNumberFormatVisitor expectNumberFormat(JavaType convertedType) Implements com.
| |
| expectObjectFormat | back to summary |
|---|---|
| public JsonObjectFormatVisitor expectObjectFormat(JavaType type) Implements com.
| |
| expectStringFormat | back to summary |
|---|---|
| public JsonStringFormatVisitor expectStringFormat(JavaType type) Implements com.
| |
| getAvroSchema | back to summary |
|---|---|
| public Schema getAvroSchema() | |
| getProvider | back to summary |
|---|---|
| public SerializerProvider getProvider() Implements com.
| |
| getSchemas | back to summary |
|---|---|
| protected DefinedSchemas getSchemas() | |
| isLogicalTypesEnabled | back to summary |
|---|---|
| public boolean isLogicalTypesEnabled() | |
| isWriteEnumAsStringEnabled | back to summary |
|---|---|
| public boolean isWriteEnumAsStringEnabled() | |
| setProvider | back to summary |
|---|---|
| public void setProvider(SerializerProvider provider) Implements com.
| |