本文整理了Java中io.debezium.time.ZonedTime.builder()
方法的一些代码示例,展示了ZonedTime.builder()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZonedTime.builder()
方法的具体详情如下:
包路径:io.debezium.time.ZonedTime
类名称:ZonedTime
方法名:builder
[英]Returns a SchemaBuilder for a ZonedTime. You can use the resulting SchemaBuilder to set additional schema settings such as required/optional, default value, and documentation.
[中]返回分区时间的SchemaBuilder。您可以使用生成的SchemaBuilder设置其他模式设置,例如必需/可选、默认值和文档。
代码示例来源:origin: debezium/debezium
/**
* Returns a Schema for a {@link ZonedTime} but with all other default Schema settings.
*
* @return the schema
* @see #builder()
*/
public static Schema schema() {
return builder().build();
}
代码示例来源:origin: debezium/debezium
return ZonedTime.builder();
case Types.TIMESTAMP_WITH_TIMEZONE:
return ZonedTimestamp.builder();
代码示例来源:origin: debezium/debezium
case PgOid.TIMETZ:
return ZonedTime.builder();
case PgOid.OID:
return SchemaBuilder.int64();
代码示例来源:origin: debezium/debezium
assertTableSchema("public.time_table", "ts, tz, date, ti, ttz, it",
MicroTimestamp.builder().optional().build(), ZonedTimestamp.builder().optional().build(),
Date.builder().optional().build(), MicroTime.builder().optional().build(), ZonedTime.builder().optional().build(),
MicroDuration.builder().optional().build());
assertTableSchema("public.text_table", "j, jb, x, u",
代码示例来源:origin: io.debezium/debezium-core
/**
* Returns a Schema for a {@link ZonedTime} but with all other default Schema settings.
*
* @return the schema
* @see #builder()
*/
public static Schema schema() {
return builder().build();
}
代码示例来源:origin: io.debezium/debezium-core
return ZonedTime.builder();
case Types.TIMESTAMP_WITH_TIMEZONE:
return ZonedTimestamp.builder();
代码示例来源:origin: io.debezium/debezium-connector-postgres
case PgOid.TIMETZ:
return ZonedTime.builder();
case PgOid.OID:
return SchemaBuilder.int64();
代码示例来源:origin: io.debezium/debezium-connector-postgres
assertTableSchema("public.time_table", "ts, tz, date, ti, ttz, it",
MicroTimestamp.builder().optional().build(), ZonedTimestamp.builder().optional().build(),
Date.builder().optional().build(), MicroTime.builder().optional().build(), ZonedTime.builder().optional().build(),
MicroDuration.builder().optional().build());
assertTableSchema("public.text_table", "j, jb, x, u",
内容来源于网络,如有侵权,请联系作者删除!