gpt4 book ai didi

io.debezium.time.ZonedTime.builder()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-13 13:12:26 28 4
gpt4 key购买 nike

本文整理了Java中io.debezium.time.ZonedTime.builder()方法的一些代码示例,展示了ZonedTime.builder()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZonedTime.builder()方法的具体详情如下:
包路径:io.debezium.time.ZonedTime
类名称:ZonedTime
方法名:builder

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",

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com