Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Datafile.Builder |
allocatedSizeKB(BigDecimal allocatedSizeKB)
The allocated file size in KB.
|
Datafile |
build() |
Datafile.Builder |
copy(Datafile model) |
Datafile.Builder |
freeSpaceKB(BigDecimal freeSpaceKB)
The free space available in the data file in KB.
|
Datafile.Builder |
incrementBy(BigDecimal incrementBy)
The number of blocks used as auto-extension increment.
|
Datafile.Builder |
instanceId(BigDecimal instanceId)
Instance ID of the instance to which the temp file belongs.
|
Datafile.Builder |
isAutoExtensible(Boolean isAutoExtensible)
Indicates whether the data file is auto-extensible.
|
Datafile.Builder |
lostWriteProtect(Datafile.LostWriteProtect lostWriteProtect)
The lost write protection status of the file.
|
Datafile.Builder |
maxSizeKB(BigDecimal maxSizeKB)
The maximum file size in KB.
|
Datafile.Builder |
name(String name)
The filename (including the path) of the data file or temp file.
|
Datafile.Builder |
onlineStatus(Datafile.OnlineStatus onlineStatus)
The online status of the file.
|
Datafile.Builder |
shared(Datafile.Shared shared)
Type of tablespace this file belongs to.
|
Datafile.Builder |
status(Datafile.Status status)
The status of the file.
|
Datafile.Builder |
usedPercentAllocated(Double usedPercentAllocated)
The percentage of used space out of the total allocated space in the file.
|
Datafile.Builder |
usedPercentAvailable(Double usedPercentAvailable)
The percentage of used space out of the maximum available space in the file.
|
Datafile.Builder |
usedSpaceKB(BigDecimal usedSpaceKB)
The total space used in the data file in KB.
|
Datafile.Builder |
userSizeKB(BigDecimal userSizeKB)
The size of the file available for user data in KB.
|
public Datafile.Builder name(String name)
The filename (including the path) of the data file or temp file.
name
- the value to setpublic Datafile.Builder status(Datafile.Status status)
The status of the file. INVALID status is used when the file number is not in use, for example, a file in a tablespace that was removed.
status
- the value to setpublic Datafile.Builder onlineStatus(Datafile.OnlineStatus onlineStatus)
The online status of the file.
onlineStatus
- the value to setpublic Datafile.Builder isAutoExtensible(Boolean isAutoExtensible)
Indicates whether the data file is auto-extensible.
isAutoExtensible
- the value to setpublic Datafile.Builder lostWriteProtect(Datafile.LostWriteProtect lostWriteProtect)
The lost write protection status of the file.
lostWriteProtect
- the value to setpublic Datafile.Builder shared(Datafile.Shared shared)
Type of tablespace this file belongs to. If it’s for a shared tablespace, for a local temporary tablespace for RIM (read-only) instances, or for local temporary tablespace for all instance types.
shared
- the value to setpublic Datafile.Builder instanceId(BigDecimal instanceId)
Instance ID of the instance to which the temp file belongs. This column has a NULL value for temp files that belong to shared tablespaces.
instanceId
- the value to setpublic Datafile.Builder maxSizeKB(BigDecimal maxSizeKB)
The maximum file size in KB.
maxSizeKB
- the value to setpublic Datafile.Builder allocatedSizeKB(BigDecimal allocatedSizeKB)
The allocated file size in KB.
allocatedSizeKB
- the value to setpublic Datafile.Builder userSizeKB(BigDecimal userSizeKB)
The size of the file available for user data in KB. The actual size of the file minus the USER_BYTES value is used to store file-related metadata.
userSizeKB
- the value to setpublic Datafile.Builder incrementBy(BigDecimal incrementBy)
The number of blocks used as auto-extension increment.
incrementBy
- the value to setpublic Datafile.Builder freeSpaceKB(BigDecimal freeSpaceKB)
The free space available in the data file in KB.
freeSpaceKB
- the value to setpublic Datafile.Builder usedSpaceKB(BigDecimal usedSpaceKB)
The total space used in the data file in KB.
usedSpaceKB
- the value to setpublic Datafile.Builder usedPercentAvailable(Double usedPercentAvailable)
The percentage of used space out of the maximum available space in the file.
usedPercentAvailable
- the value to setpublic Datafile.Builder usedPercentAllocated(Double usedPercentAllocated)
The percentage of used space out of the total allocated space in the file.
usedPercentAllocated
- the value to setpublic Datafile build()
public Datafile.Builder copy(Datafile model)
Copyright © 2016–2024. All rights reserved.