@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class Tablespace extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of a tablespace.
Note: Objects should always be created or deserialized using the Tablespace.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the Tablespace.Builder
, which maintain a
set of all explicitly set fields called Tablespace.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
Tablespace.AllocationType
The type of extent allocation in effect for the tablespace.
|
static class |
Tablespace.Builder |
static class |
Tablespace.CompressFor
The operation type for which default compression is enabled.
|
static class |
Tablespace.DefaultIndexCompression
Indicates whether default index compression is enabled or disabled.
|
static class |
Tablespace.DefaultInMemory
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or
disabled for tables in the tablespace.
|
static class |
Tablespace.DefaultInMemoryCompression
Indicates the default compression level for the IM column store for the tablespace.
|
static class |
Tablespace.DefaultInMemoryDistribute
Indicates how the IM column store is distributed by default for the tablespace in an Oracle
Real Application Clusters (Oracle RAC) environment.
|
static class |
Tablespace.DefaultInMemoryDuplicate
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
|
static class |
Tablespace.DefaultInMemoryPriority
Indicates the default priority for In-Memory Column Store (IM column store) population for
the tablespace.
|
static class |
Tablespace.DefaultInMemoryService
Indicates how the IM column store is populated on various instances by default for the
tablespace.
|
static class |
Tablespace.DefaultTableCompression
Indicates whether default table compression is enabled or disabled.
|
static class |
Tablespace.ExtentManagement
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.
|
static class |
Tablespace.IndexCompressFor
The operation type for which default index compression is enabled.
|
static class |
Tablespace.Logging
The default logging attribute.
|
static class |
Tablespace.LostWriteProtect
The lost write protection setting for the tablespace.
|
static class |
Tablespace.PredicateEvaluation
Indicates whether predicates are evaluated by Host or by Storage.
|
static class |
Tablespace.Retention
Indicates whether undo retention guarantee is enabled for the tablespace.
|
static class |
Tablespace.SegmentSpaceManagement
Indicates whether the free and used segment space in the tablespace is managed using free
lists (MANUAL) or bitmaps (AUTO).
|
static class |
Tablespace.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.
|
static class |
Tablespace.Status
The status of the tablespace.
|
static class |
Tablespace.Type
The type of tablespace.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Tablespace(String name,
Tablespace.Type type,
Tablespace.Status status,
BigDecimal blockSizeBytes,
Tablespace.Logging logging,
Boolean isForceLogging,
Tablespace.ExtentManagement extentManagement,
Tablespace.AllocationType allocationType,
Boolean isPluggedIn,
Tablespace.SegmentSpaceManagement segmentSpaceManagement,
Tablespace.DefaultTableCompression defaultTableCompression,
Tablespace.Retention retention,
Boolean isBigfile,
Tablespace.PredicateEvaluation predicateEvaluation,
Boolean isEncrypted,
Tablespace.CompressFor compressFor,
Tablespace.DefaultInMemory defaultInMemory,
Tablespace.DefaultInMemoryPriority defaultInMemoryPriority,
Tablespace.DefaultInMemoryDistribute defaultInMemoryDistribute,
Tablespace.DefaultInMemoryCompression defaultInMemoryCompression,
Tablespace.DefaultInMemoryDuplicate defaultInMemoryDuplicate,
Tablespace.Shared shared,
Tablespace.DefaultIndexCompression defaultIndexCompression,
Tablespace.IndexCompressFor indexCompressFor,
String defaultCellMemory,
Tablespace.DefaultInMemoryService defaultInMemoryService,
String defaultInMemoryServiceName,
Tablespace.LostWriteProtect lostWriteProtect,
Boolean isChunkTablespace,
String tempGroup,
BigDecimal maxSizeKB,
BigDecimal allocatedSizeKB,
BigDecimal userSizeKB,
BigDecimal freeSpaceKB,
BigDecimal usedSpaceKB,
Double usedPercentAvailable,
Double usedPercentAllocated,
Boolean isDefault,
List<Datafile> datafiles)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Tablespace.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
BigDecimal |
getAllocatedSizeKB()
The allocated tablespace size in KB.
|
Tablespace.AllocationType |
getAllocationType()
The type of extent allocation in effect for the tablespace.
|
BigDecimal |
getBlockSizeBytes()
The tablespace block size.
|
Tablespace.CompressFor |
getCompressFor()
The operation type for which default compression is enabled.
|
List<Datafile> |
getDatafiles()
A list of the data files associated with the tablespace.
|
String |
getDefaultCellMemory()
This specifies the default value for the CELLMEMORY attribute that tables created in the
tablespace will inherit unless the behavior is overridden explicitly.
|
Tablespace.DefaultIndexCompression |
getDefaultIndexCompression()
Indicates whether default index compression is enabled or disabled.
|
Tablespace.DefaultInMemory |
getDefaultInMemory()
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or
disabled for tables in the tablespace.
|
Tablespace.DefaultInMemoryCompression |
getDefaultInMemoryCompression()
Indicates the default compression level for the IM column store for the tablespace.
|
Tablespace.DefaultInMemoryDistribute |
getDefaultInMemoryDistribute()
Indicates how the IM column store is distributed by default for the tablespace in an Oracle
Real Application Clusters (Oracle RAC) environment.
|
Tablespace.DefaultInMemoryDuplicate |
getDefaultInMemoryDuplicate()
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
|
Tablespace.DefaultInMemoryPriority |
getDefaultInMemoryPriority()
Indicates the default priority for In-Memory Column Store (IM column store) population for
the tablespace.
|
Tablespace.DefaultInMemoryService |
getDefaultInMemoryService()
Indicates how the IM column store is populated on various instances by default for the
tablespace.
|
String |
getDefaultInMemoryServiceName()
Indicates the service name for the service on which the IM column store should be populated
by default for the tablespace.
|
Tablespace.DefaultTableCompression |
getDefaultTableCompression()
Indicates whether default table compression is enabled or disabled.
|
Tablespace.ExtentManagement |
getExtentManagement()
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.
|
BigDecimal |
getFreeSpaceKB()
The free space available in the tablespace in KB.
|
Tablespace.IndexCompressFor |
getIndexCompressFor()
The operation type for which default index compression is enabled.
|
Boolean |
getIsBigfile()
Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.
|
Boolean |
getIsChunkTablespace()
Indicates whether this is a chunk tablespace.
|
Boolean |
getIsDefault()
Indicates whether this is the default tablespace.
|
Boolean |
getIsEncrypted()
Indicates whether the tablespace is encrypted.
|
Boolean |
getIsForceLogging()
Indicates whether the tablespace is under Force Logging mode.
|
Boolean |
getIsPluggedIn()
Indicates whether the tablespace is plugged in.
|
Tablespace.Logging |
getLogging()
The default logging attribute.
|
Tablespace.LostWriteProtect |
getLostWriteProtect()
The lost write protection setting for the tablespace.
|
BigDecimal |
getMaxSizeKB()
The maximum tablespace size in KB.
|
String |
getName()
The name of the tablespace.
|
Tablespace.PredicateEvaluation |
getPredicateEvaluation()
Indicates whether predicates are evaluated by Host or by Storage.
|
Tablespace.Retention |
getRetention()
Indicates whether undo retention guarantee is enabled for the tablespace.
|
Tablespace.SegmentSpaceManagement |
getSegmentSpaceManagement()
Indicates whether the free and used segment space in the tablespace is managed using free
lists (MANUAL) or bitmaps (AUTO).
|
Tablespace.Shared |
getShared()
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.
|
Tablespace.Status |
getStatus()
The status of the tablespace.
|
String |
getTempGroup()
The temporary tablespace group.
|
Tablespace.Type |
getType()
The type of tablespace.
|
Double |
getUsedPercentAllocated()
The percentage of used space out of the total allocated space in the tablespace.
|
Double |
getUsedPercentAvailable()
The percentage of used space out of the maximum available space in the tablespace.
|
BigDecimal |
getUsedSpaceKB()
The total space used by the tablespace in KB.
|
BigDecimal |
getUserSizeKB()
The size of the tablespace available for user data in KB.
|
int |
hashCode() |
Tablespace.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","type","status","blockSizeBytes","logging","isForceLogging","extentManagement","allocationType","isPluggedIn","segmentSpaceManagement","defaultTableCompression","retention","isBigfile","predicateEvaluation","isEncrypted","compressFor","defaultInMemory","defaultInMemoryPriority","defaultInMemoryDistribute","defaultInMemoryCompression","defaultInMemoryDuplicate","shared","defaultIndexCompression","indexCompressFor","defaultCellMemory","defaultInMemoryService","defaultInMemoryServiceName","lostWriteProtect","isChunkTablespace","tempGroup","maxSizeKB","allocatedSizeKB","userSizeKB","freeSpaceKB","usedSpaceKB","usedPercentAvailable","usedPercentAllocated","isDefault","datafiles"}) public Tablespace(String name, Tablespace.Type type, Tablespace.Status status, BigDecimal blockSizeBytes, Tablespace.Logging logging, Boolean isForceLogging, Tablespace.ExtentManagement extentManagement, Tablespace.AllocationType allocationType, Boolean isPluggedIn, Tablespace.SegmentSpaceManagement segmentSpaceManagement, Tablespace.DefaultTableCompression defaultTableCompression, Tablespace.Retention retention, Boolean isBigfile, Tablespace.PredicateEvaluation predicateEvaluation, Boolean isEncrypted, Tablespace.CompressFor compressFor, Tablespace.DefaultInMemory defaultInMemory, Tablespace.DefaultInMemoryPriority defaultInMemoryPriority, Tablespace.DefaultInMemoryDistribute defaultInMemoryDistribute, Tablespace.DefaultInMemoryCompression defaultInMemoryCompression, Tablespace.DefaultInMemoryDuplicate defaultInMemoryDuplicate, Tablespace.Shared shared, Tablespace.DefaultIndexCompression defaultIndexCompression, Tablespace.IndexCompressFor indexCompressFor, String defaultCellMemory, Tablespace.DefaultInMemoryService defaultInMemoryService, String defaultInMemoryServiceName, Tablespace.LostWriteProtect lostWriteProtect, Boolean isChunkTablespace, String tempGroup, BigDecimal maxSizeKB, BigDecimal allocatedSizeKB, BigDecimal userSizeKB, BigDecimal freeSpaceKB, BigDecimal usedSpaceKB, Double usedPercentAvailable, Double usedPercentAllocated, Boolean isDefault, List<Datafile> datafiles)
public static Tablespace.Builder builder()
Create a new builder.
public Tablespace.Builder toBuilder()
public String getName()
The name of the tablespace.
public Tablespace.Type getType()
The type of tablespace.
public Tablespace.Status getStatus()
The status of the tablespace.
public BigDecimal getBlockSizeBytes()
The tablespace block size.
public Tablespace.Logging getLogging()
The default logging attribute.
public Boolean getIsForceLogging()
Indicates whether the tablespace is under Force Logging mode.
public Tablespace.ExtentManagement getExtentManagement()
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.
public Tablespace.AllocationType getAllocationType()
The type of extent allocation in effect for the tablespace.
public Boolean getIsPluggedIn()
Indicates whether the tablespace is plugged in.
public Tablespace.SegmentSpaceManagement getSegmentSpaceManagement()
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).
public Tablespace.DefaultTableCompression getDefaultTableCompression()
Indicates whether default table compression is enabled or disabled.
public Tablespace.Retention getRetention()
Indicates whether undo retention guarantee is enabled for the tablespace.
public Boolean getIsBigfile()
Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.
public Tablespace.PredicateEvaluation getPredicateEvaluation()
Indicates whether predicates are evaluated by Host or by Storage.
public Boolean getIsEncrypted()
Indicates whether the tablespace is encrypted.
public Tablespace.CompressFor getCompressFor()
The operation type for which default compression is enabled.
public Tablespace.DefaultInMemory getDefaultInMemory()
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.
public Tablespace.DefaultInMemoryPriority getDefaultInMemoryPriority()
Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.
public Tablespace.DefaultInMemoryDistribute getDefaultInMemoryDistribute()
Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.
public Tablespace.DefaultInMemoryCompression getDefaultInMemoryCompression()
Indicates the default compression level for the IM column store for the tablespace.
public Tablespace.DefaultInMemoryDuplicate getDefaultInMemoryDuplicate()
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
public Tablespace.Shared getShared()
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.
public Tablespace.DefaultIndexCompression getDefaultIndexCompression()
Indicates whether default index compression is enabled or disabled.
public Tablespace.IndexCompressFor getIndexCompressFor()
The operation type for which default index compression is enabled.
public String getDefaultCellMemory()
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.
public Tablespace.DefaultInMemoryService getDefaultInMemoryService()
Indicates how the IM column store is populated on various instances by default for the tablespace.
public String getDefaultInMemoryServiceName()
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.
public Tablespace.LostWriteProtect getLostWriteProtect()
The lost write protection setting for the tablespace.
public Boolean getIsChunkTablespace()
Indicates whether this is a chunk tablespace.
public String getTempGroup()
The temporary tablespace group.
public BigDecimal getMaxSizeKB()
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.
public BigDecimal getAllocatedSizeKB()
The allocated tablespace size in KB.
public BigDecimal getUserSizeKB()
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.
public BigDecimal getFreeSpaceKB()
The free space available in the tablespace in KB.
public BigDecimal getUsedSpaceKB()
The total space used by the tablespace in KB.
public Double getUsedPercentAvailable()
The percentage of used space out of the maximum available space in the tablespace.
public Double getUsedPercentAllocated()
The percentage of used space out of the total allocated space in the tablespace.
public Boolean getIsDefault()
Indicates whether this is the default tablespace.
public List<Datafile> getDatafiles()
A list of the data files associated with the tablespace.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.