public class Year extends Object
Schema that represents year values.| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEMA_NAME |
| Modifier | Constructor and Description |
|---|---|
private |
Year() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.kafka.connect.data.SchemaBuilder |
builder()
Returns a
SchemaBuilder for a Year. |
static org.apache.kafka.connect.data.Schema |
schema()
Returns a Schema for a
Year but with all other default Schema settings. |
public static final String SCHEMA_NAME
public static org.apache.kafka.connect.data.SchemaBuilder builder()
SchemaBuilder for a Year. The builder will create a schema that describes a field
with the "io.debezium.time.Year" as the name and INT32 for the literal
type storing the year number.
You can use the resulting SchemaBuilder to set or override additional schema settings such as required/optional, default value, and documentation.
public static org.apache.kafka.connect.data.Schema schema()
Year but with all other default Schema settings. The schema describes a field
with the "io.debezium.time.Year" as the name and INT32 for the literal
type storing the year number.builder()Copyright © 2020 JBoss by Red Hat. All rights reserved.