org.jooq.DataType.isInterval()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(134)

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

DataType.isInterval介绍

[英]Whether this data type is any interval type.

This applies to any of these types.

  • YearToMonth
  • DayToSecond
    [中]此数据类型是否为任何间隔类型。
    这适用于这些类型中的任何一种。
    *下一年
    *日秒

代码示例

代码示例来源:origin: com.torodb.torod.backends/common

public boolean isInterval() {
  return dataType.isInterval();
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics

if (getDataType().isInterval()) {
  switch (context.configuration().dialect().family()) {

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics

boolean intervalOverlaps = type0.isDateTime() && (type1.isInterval() || type1.isNumeric());

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics

lhs.getDataType().isDateTime() &&
(rhs.get(0).getDataType().isNumeric() ||
 rhs.get(0).getDataType().isInterval())) {

代码示例来源:origin: org.jooq/jooq

boolean intervalOverlaps = type0.isDateTime() && (type1.isInterval() || type1.isNumeric());

代码示例来源:origin: org.jooq/jooq

lhs.getDataType().isDateTime() &&
(rhs.get(0).getDataType().isNumeric() ||
 rhs.get(0).getDataType().isInterval()))
return new DateExpression();

相关文章