Package io.debezium.data
Class Json
java.lang.Object
io.debezium.data.Json
A semantic type for a JSON string.
- Author:
- Randall Hauch
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOGICAL_NAME
- See Also:
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION- See Also:
-
-
Constructor Details
-
Json
public Json()
-
-
Method Details
-
builder
public static org.apache.kafka.connect.data.SchemaBuilder builder()Returns aSchemaBuilder
for a JSON field. You can use the resulting SchemaBuilder to set additional schema settings such as required/optional, default value, and documentation.- Returns:
- the schema builder
-
schema
public static org.apache.kafka.connect.data.Schema schema()Returns aSchemaBuilder
for a JSON field, with all other default Schema settings.- Returns:
- the schema
- See Also:
-