public static enum KSQLWindow.TimeUnit extends Enum<KSQLWindow.TimeUnit>
| 枚举常量和说明 |
|---|
DAY |
DAYS |
HOUR |
HOURS |
MILLISECOND |
MILLISECONDS |
MINUTE |
MINUTES |
SECOND |
SECONDS |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getTimeUnit() |
static KSQLWindow.TimeUnit |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static KSQLWindow.TimeUnit[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final KSQLWindow.TimeUnit DAY
public static final KSQLWindow.TimeUnit HOUR
public static final KSQLWindow.TimeUnit MINUTE
public static final KSQLWindow.TimeUnit SECOND
public static final KSQLWindow.TimeUnit MILLISECOND
public static final KSQLWindow.TimeUnit DAYS
public static final KSQLWindow.TimeUnit HOURS
public static final KSQLWindow.TimeUnit MINUTES
public static final KSQLWindow.TimeUnit SECONDS
public static final KSQLWindow.TimeUnit MILLISECONDS
public static KSQLWindow.TimeUnit[] values()
for (KSQLWindow.TimeUnit c : KSQLWindow.TimeUnit.values()) System.out.println(c);
public static KSQLWindow.TimeUnit valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getTimeUnit()
Copyright © 2026. All rights reserved.