public enum RowIdLifetime extends Enum<RowIdLifetime>
Enum Constant and Description |
---|
ROWID_UNSUPPORTED
表示此数据源不支持ROWID类型。
|
ROWID_VALID_FOREVER
表示来自该数据源的RowId的生存期实际上是无限制的。
|
ROWID_VALID_OTHER
表示来自此数据源的RowId的生命周期是不确定的;
但不是ROWID_VALID_TRANSACTION,ROWID_VALID_SESSION或ROWID_VALID_FOREVER之一。
|
ROWID_VALID_SESSION
表示来自此数据源的RowId的生命周期至少为包含会话。
|
ROWID_VALID_TRANSACTION
表示来自此数据源的RowId的生命周期至少为包含事务。
|
Modifier and Type | Method and Description |
---|---|
static RowIdLifetime |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static RowIdLifetime[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final RowIdLifetime ROWID_UNSUPPORTED
public static final RowIdLifetime ROWID_VALID_OTHER
public static final RowIdLifetime ROWID_VALID_SESSION
public static final RowIdLifetime ROWID_VALID_TRANSACTION
public static final RowIdLifetime ROWID_VALID_FOREVER
public static RowIdLifetime[] values()
for (RowIdLifetime c : RowIdLifetime.values())
System.out.println(c);
public static RowIdLifetime valueOf(String name)
name
- 要返回的枚举常量的名称。
IllegalArgumentException
- 如果此枚举类型没有指定名称的常量
NullPointerException
- 如果参数为空
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.