public static class TablespaceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TablespaceSummary.Builder |
allocatedSizeKB(BigDecimal allocatedSizeKB)
The allocated tablespace size in KB.
|
TablespaceSummary.Builder |
allocationType(TablespaceSummary.AllocationType allocationType)
The type of extent allocation in effect for the tablespace.
|
TablespaceSummary.Builder |
blockSizeBytes(BigDecimal blockSizeBytes)
The tablespace block size.
|
TablespaceSummary |
build() |
TablespaceSummary.Builder |
compressFor(TablespaceSummary.CompressFor compressFor)
The operation type for which default compression is enabled.
|
TablespaceSummary.Builder |
copy(TablespaceSummary model) |
TablespaceSummary.Builder |
datafiles(List<Datafile> datafiles)
A list of the data files associated with the tablespace.
|
TablespaceSummary.Builder |
defaultCellMemory(String defaultCellMemory)
This specifies the default value for the CELLMEMORY attribute that tables created in the
tablespace will inherit unless the behavior is overridden explicitly.
|
TablespaceSummary.Builder |
defaultIndexCompression(TablespaceSummary.DefaultIndexCompression defaultIndexCompression)
Indicates whether default index compression is enabled or disabled.
|
TablespaceSummary.Builder |
defaultInMemory(TablespaceSummary.DefaultInMemory defaultInMemory)
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or
disabled for tables in the tablespace.
|
TablespaceSummary.Builder |
defaultInMemoryCompression(TablespaceSummary.DefaultInMemoryCompression defaultInMemoryCompression)
Indicates the default compression level for the IM column store for the tablespace.
|
TablespaceSummary.Builder |
defaultInMemoryDistribute(TablespaceSummary.DefaultInMemoryDistribute defaultInMemoryDistribute)
Indicates how the IM column store is distributed by default for the tablespace in an
Oracle Real Application Clusters (Oracle RAC) environment.
|
TablespaceSummary.Builder |
defaultInMemoryDuplicate(TablespaceSummary.DefaultInMemoryDuplicate defaultInMemoryDuplicate)
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
|
TablespaceSummary.Builder |
defaultInMemoryPriority(TablespaceSummary.DefaultInMemoryPriority defaultInMemoryPriority)
Indicates the default priority for In-Memory Column Store (IM column store) population
for the tablespace.
|
TablespaceSummary.Builder |
defaultInMemoryService(TablespaceSummary.DefaultInMemoryService defaultInMemoryService)
Indicates how the IM column store is populated on various instances by default for the
tablespace.
|
TablespaceSummary.Builder |
defaultInMemoryServiceName(String defaultInMemoryServiceName)
Indicates the service name for the service on which the IM column store should be
populated by default for the tablespace.
|
TablespaceSummary.Builder |
defaultTableCompression(TablespaceSummary.DefaultTableCompression defaultTableCompression)
Indicates whether default table compression is enabled or disabled.
|
TablespaceSummary.Builder |
extentManagement(TablespaceSummary.ExtentManagement extentManagement)
Indicates whether the extents in the tablespace are Locally managed or Dictionary
managed.
|
TablespaceSummary.Builder |
freeSpaceKB(BigDecimal freeSpaceKB)
The free space available in the tablespace in KB.
|
TablespaceSummary.Builder |
indexCompressFor(TablespaceSummary.IndexCompressFor indexCompressFor)
The operation type for which default index compression is enabled.
|
TablespaceSummary.Builder |
isBigfile(Boolean isBigfile)
Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.
|
TablespaceSummary.Builder |
isChunkTablespace(Boolean isChunkTablespace)
Indicates whether this is a chunk tablespace.
|
TablespaceSummary.Builder |
isDefault(Boolean isDefault)
Indicates whether this is the default tablespace.
|
TablespaceSummary.Builder |
isEncrypted(Boolean isEncrypted)
Indicates whether the tablespace is encrypted.
|
TablespaceSummary.Builder |
isForceLogging(Boolean isForceLogging)
Indicates whether the tablespace is under Force Logging mode.
|
TablespaceSummary.Builder |
isPluggedIn(Boolean isPluggedIn)
Indicates whether the tablespace is plugged in.
|
TablespaceSummary.Builder |
logging(TablespaceSummary.Logging logging)
The default logging attribute.
|
TablespaceSummary.Builder |
lostWriteProtect(TablespaceSummary.LostWriteProtect lostWriteProtect)
The lost write protection setting for the tablespace.
|
TablespaceSummary.Builder |
maxSizeKB(BigDecimal maxSizeKB)
The maximum tablespace size in KB.
|
TablespaceSummary.Builder |
name(String name)
The name of the tablespace.
|
TablespaceSummary.Builder |
predicateEvaluation(TablespaceSummary.PredicateEvaluation predicateEvaluation)
Indicates whether predicates are evaluated by Host or by Storage.
|
TablespaceSummary.Builder |
retention(TablespaceSummary.Retention retention)
Indicates whether undo retention guarantee is enabled for the tablespace.
|
TablespaceSummary.Builder |
segmentSpaceManagement(TablespaceSummary.SegmentSpaceManagement segmentSpaceManagement)
Indicates whether the free and used segment space in the tablespace is managed using free
lists (MANUAL) or bitmaps (AUTO).
|
TablespaceSummary.Builder |
shared(TablespaceSummary.Shared shared)
Indicates whether the tablespace is for shared tablespace, or for local temporary
tablespace for leaf (read-only) instances, or for local temporary tablespace for all
instance types.
|
TablespaceSummary.Builder |
status(TablespaceSummary.Status status)
The status of the tablespace.
|
TablespaceSummary.Builder |
tempGroup(String tempGroup)
The temporary tablespace group.
|
TablespaceSummary.Builder |
type(TablespaceSummary.Type type)
The type of tablespace.
|
TablespaceSummary.Builder |
usedPercentAllocated(Double usedPercentAllocated)
The percentage of used space out of the total allocated space in the tablespace.
|
TablespaceSummary.Builder |
usedPercentAvailable(Double usedPercentAvailable)
The percentage of used space out of the maximum available space in the tablespace.
|
TablespaceSummary.Builder |
usedSpaceKB(BigDecimal usedSpaceKB)
The total space used by the tablespace in KB.
|
TablespaceSummary.Builder |
userSizeKB(BigDecimal userSizeKB)
The size of the tablespace available for user data in KB.
|
public TablespaceSummary.Builder name(String name)
The name of the tablespace.
name
- the value to setpublic TablespaceSummary.Builder type(TablespaceSummary.Type type)
The type of tablespace.
type
- the value to setpublic TablespaceSummary.Builder status(TablespaceSummary.Status status)
The status of the tablespace.
status
- the value to setpublic TablespaceSummary.Builder blockSizeBytes(BigDecimal blockSizeBytes)
The tablespace block size.
blockSizeBytes
- the value to setpublic TablespaceSummary.Builder logging(TablespaceSummary.Logging logging)
The default logging attribute.
logging
- the value to setpublic TablespaceSummary.Builder isForceLogging(Boolean isForceLogging)
Indicates whether the tablespace is under Force Logging mode.
isForceLogging
- the value to setpublic TablespaceSummary.Builder extentManagement(TablespaceSummary.ExtentManagement extentManagement)
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.
extentManagement
- the value to setpublic TablespaceSummary.Builder allocationType(TablespaceSummary.AllocationType allocationType)
The type of extent allocation in effect for the tablespace.
allocationType
- the value to setpublic TablespaceSummary.Builder isPluggedIn(Boolean isPluggedIn)
Indicates whether the tablespace is plugged in.
isPluggedIn
- the value to setpublic TablespaceSummary.Builder segmentSpaceManagement(TablespaceSummary.SegmentSpaceManagement segmentSpaceManagement)
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).
segmentSpaceManagement
- the value to setpublic TablespaceSummary.Builder defaultTableCompression(TablespaceSummary.DefaultTableCompression defaultTableCompression)
Indicates whether default table compression is enabled or disabled.
defaultTableCompression
- the value to setpublic TablespaceSummary.Builder retention(TablespaceSummary.Retention retention)
Indicates whether undo retention guarantee is enabled for the tablespace.
retention
- the value to setpublic TablespaceSummary.Builder isBigfile(Boolean isBigfile)
Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.
isBigfile
- the value to setpublic TablespaceSummary.Builder predicateEvaluation(TablespaceSummary.PredicateEvaluation predicateEvaluation)
Indicates whether predicates are evaluated by Host or by Storage.
predicateEvaluation
- the value to setpublic TablespaceSummary.Builder isEncrypted(Boolean isEncrypted)
Indicates whether the tablespace is encrypted.
isEncrypted
- the value to setpublic TablespaceSummary.Builder compressFor(TablespaceSummary.CompressFor compressFor)
The operation type for which default compression is enabled.
compressFor
- the value to setpublic TablespaceSummary.Builder defaultInMemory(TablespaceSummary.DefaultInMemory defaultInMemory)
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.
defaultInMemory
- the value to setpublic TablespaceSummary.Builder defaultInMemoryPriority(TablespaceSummary.DefaultInMemoryPriority defaultInMemoryPriority)
Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.
defaultInMemoryPriority
- the value to setpublic TablespaceSummary.Builder defaultInMemoryDistribute(TablespaceSummary.DefaultInMemoryDistribute defaultInMemoryDistribute)
Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.
defaultInMemoryDistribute
- the value to setpublic TablespaceSummary.Builder defaultInMemoryCompression(TablespaceSummary.DefaultInMemoryCompression defaultInMemoryCompression)
Indicates the default compression level for the IM column store for the tablespace.
defaultInMemoryCompression
- the value to setpublic TablespaceSummary.Builder defaultInMemoryDuplicate(TablespaceSummary.DefaultInMemoryDuplicate defaultInMemoryDuplicate)
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
defaultInMemoryDuplicate
- the value to setpublic TablespaceSummary.Builder shared(TablespaceSummary.Shared shared)
Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types.
shared
- the value to setpublic TablespaceSummary.Builder defaultIndexCompression(TablespaceSummary.DefaultIndexCompression defaultIndexCompression)
Indicates whether default index compression is enabled or disabled.
defaultIndexCompression
- the value to setpublic TablespaceSummary.Builder indexCompressFor(TablespaceSummary.IndexCompressFor indexCompressFor)
The operation type for which default index compression is enabled.
indexCompressFor
- the value to setpublic TablespaceSummary.Builder defaultCellMemory(String defaultCellMemory)
This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly. This column is intended for use with Oracle Exadata.
defaultCellMemory
- the value to setpublic TablespaceSummary.Builder defaultInMemoryService(TablespaceSummary.DefaultInMemoryService defaultInMemoryService)
Indicates how the IM column store is populated on various instances by default for the tablespace.
defaultInMemoryService
- the value to setpublic TablespaceSummary.Builder defaultInMemoryServiceName(String defaultInMemoryServiceName)
Indicates the service name for the service on which the IM column store should be populated by default for the tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null.
defaultInMemoryServiceName
- the value to setpublic TablespaceSummary.Builder lostWriteProtect(TablespaceSummary.LostWriteProtect lostWriteProtect)
The lost write protection setting for the tablespace.
lostWriteProtect
- the value to setpublic TablespaceSummary.Builder isChunkTablespace(Boolean isChunkTablespace)
Indicates whether this is a chunk tablespace.
isChunkTablespace
- the value to setpublic TablespaceSummary.Builder tempGroup(String tempGroup)
The temporary tablespace group.
tempGroup
- the value to setpublic TablespaceSummary.Builder maxSizeKB(BigDecimal maxSizeKB)
The maximum tablespace size in KB. If the tablespace contains any data files with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its data files is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only data files with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all data files in the tablespace.
maxSizeKB
- the value to setpublic TablespaceSummary.Builder allocatedSizeKB(BigDecimal allocatedSizeKB)
The allocated tablespace size in KB.
allocatedSizeKB
- the value to setpublic TablespaceSummary.Builder userSizeKB(BigDecimal userSizeKB)
The size of the tablespace available for user data in KB. The difference between tablespace size and user data size is used for storing metadata.
userSizeKB
- the value to setpublic TablespaceSummary.Builder freeSpaceKB(BigDecimal freeSpaceKB)
The free space available in the tablespace in KB.
freeSpaceKB
- the value to setpublic TablespaceSummary.Builder usedSpaceKB(BigDecimal usedSpaceKB)
The total space used by the tablespace in KB.
usedSpaceKB
- the value to setpublic TablespaceSummary.Builder usedPercentAvailable(Double usedPercentAvailable)
The percentage of used space out of the maximum available space in the tablespace.
usedPercentAvailable
- the value to setpublic TablespaceSummary.Builder usedPercentAllocated(Double usedPercentAllocated)
The percentage of used space out of the total allocated space in the tablespace.
usedPercentAllocated
- the value to setpublic TablespaceSummary.Builder isDefault(Boolean isDefault)
Indicates whether this is the default tablespace.
isDefault
- the value to setpublic TablespaceSummary.Builder datafiles(List<Datafile> datafiles)
A list of the data files associated with the tablespace.
datafiles
- the value to setpublic TablespaceSummary build()
public TablespaceSummary.Builder copy(TablespaceSummary model)
Copyright © 2016–2024. All rights reserved.