Stay organized with collections
Save and categorize content based on your preferences.
RowIdLifetime
class RowIdLifetime
Enumeration for RowId life-time values.
Summary
Enum values |
Indicates that this data source does not support the ROWID type.
|
Indicates that the lifetime of a RowId from this data source is, effectively, unlimited.
|
Indicates that the lifetime of a RowId from this data source is indeterminate; but not one of ROWID_VALID_TRANSACTION, ROWID_VALID_SESSION, or, ROWID_VALID_FOREVER.
|
Indicates that the lifetime of a RowId from this data source is at least the containing session.
|
Indicates that the lifetime of a RowId from this data source is at least the containing transaction.
|
Enum values
ROWID_UNSUPPORTED
enum val ROWID_UNSUPPORTED : RowIdLifetime
Indicates that this data source does not support the ROWID type.
ROWID_VALID_FOREVER
enum val ROWID_VALID_FOREVER : RowIdLifetime
Indicates that the lifetime of a RowId from this data source is, effectively, unlimited.
ROWID_VALID_OTHER
enum val ROWID_VALID_OTHER : RowIdLifetime
Indicates that the lifetime of a RowId from this data source is indeterminate; but not one of ROWID_VALID_TRANSACTION, ROWID_VALID_SESSION, or, ROWID_VALID_FOREVER.
ROWID_VALID_SESSION
enum val ROWID_VALID_SESSION : RowIdLifetime
Indicates that the lifetime of a RowId from this data source is at least the containing session.
ROWID_VALID_TRANSACTION
enum val ROWID_VALID_TRANSACTION : RowIdLifetime
Indicates that the lifetime of a RowId from this data source is at least the containing transaction.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# RowIdLifetime\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRowIdLifetime\n=============\n\n```\nclass RowIdLifetime\n```\n\n|---|---|-----------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[java.sql.RowIdLifetime](#)\\\u003e ||\n| | ↳ | [java.sql.RowIdLifetime](#) |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [RowIdLifetime.ROWID_UNSUPPORTED](#ENUM_VALUE:ROWID_UNSUPPORTED), [RowIdLifetime.ROWID_VALID_FOREVER](#ENUM_VALUE:ROWID_VALID_FOREVER), [RowIdLifetime.ROWID_VALID_OTHER](#ENUM_VALUE:ROWID_VALID_OTHER), [RowIdLifetime.ROWID_VALID_SESSION](#ENUM_VALUE:ROWID_VALID_SESSION), [RowIdLifetime.ROWID_VALID_TRANSACTION](#ENUM_VALUE:ROWID_VALID_TRANSACTION) |------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [RowIdLifetime.ROWID_UNSUPPORTED](#ENUM_VALUE:ROWID_UNSUPPORTED) | Indicates that this data source does not support the ROWID type. | | [RowIdLifetime.ROWID_VALID_FOREVER](#ENUM_VALUE:ROWID_VALID_FOREVER) | Indicates that the lifetime of a RowId from this data source is, effectively, unlimited. | | [RowIdLifetime.ROWID_VALID_OTHER](#ENUM_VALUE:ROWID_VALID_OTHER) | Indicates that the lifetime of a RowId from this data source is indeterminate; but not one of ROWID_VALID_TRANSACTION, ROWID_VALID_SESSION, or, ROWID_VALID_FOREVER. | | [RowIdLifetime.ROWID_VALID_SESSION](#ENUM_VALUE:ROWID_VALID_SESSION) | Indicates that the lifetime of a RowId from this data source is at least the containing session. | | [RowIdLifetime.ROWID_VALID_TRANSACTION](#ENUM_VALUE:ROWID_VALID_TRANSACTION) | Indicates that the lifetime of a RowId from this data source is at least the containing transaction. | |\n\nEnumeration for RowId life-time values.\n\nSummary\n-------\n\n| Enum values ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ROWID_UNSUPPORTED](#ENUM_VALUE:ROWID_UNSUPPORTED) Indicates that this data source does not support the ROWID type. |\n| [ROWID_VALID_FOREVER](#ENUM_VALUE:ROWID_VALID_FOREVER) Indicates that the lifetime of a RowId from this data source is, effectively, unlimited. |\n| [ROWID_VALID_OTHER](#ENUM_VALUE:ROWID_VALID_OTHER) Indicates that the lifetime of a RowId from this data source is indeterminate; but not one of ROWID_VALID_TRANSACTION, ROWID_VALID_SESSION, or, ROWID_VALID_FOREVER. |\n| [ROWID_VALID_SESSION](#ENUM_VALUE:ROWID_VALID_SESSION) Indicates that the lifetime of a RowId from this data source is at least the containing session. |\n| [ROWID_VALID_TRANSACTION](#ENUM_VALUE:ROWID_VALID_TRANSACTION) Indicates that the lifetime of a RowId from this data source is at least the containing transaction. |\n\nEnum values\n-----------\n\n### ROWID_UNSUPPORTED\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val ROWID_UNSUPPORTED : RowIdLifetime\n```\n\nIndicates that this data source does not support the ROWID type. \n\n### ROWID_VALID_FOREVER\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val ROWID_VALID_FOREVER : RowIdLifetime\n```\n\nIndicates that the lifetime of a RowId from this data source is, effectively, unlimited. \n\n### ROWID_VALID_OTHER\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val ROWID_VALID_OTHER : RowIdLifetime\n```\n\nIndicates that the lifetime of a RowId from this data source is indeterminate; but not one of ROWID_VALID_TRANSACTION, ROWID_VALID_SESSION, or, ROWID_VALID_FOREVER. \n\n### ROWID_VALID_SESSION\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val ROWID_VALID_SESSION : RowIdLifetime\n```\n\nIndicates that the lifetime of a RowId from this data source is at least the containing session. \n\n### ROWID_VALID_TRANSACTION\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val ROWID_VALID_TRANSACTION : RowIdLifetime\n```\n\nIndicates that the lifetime of a RowId from this data source is at least the containing transaction."]]