Class TablespaceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.TablespaceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class TablespaceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of a tablespace.
Note: Objects should always be created or deserialized using theTablespaceSummary.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 theTablespaceSummary.Builder
, which maintain a set of all explicitly set fields calledTablespaceSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TablespaceSummary.AllocationType
The type of extent allocation in effect for the tablespace.static class
TablespaceSummary.Builder
static class
TablespaceSummary.CompressFor
The operation type for which default compression is enabled.static class
TablespaceSummary.DefaultIndexCompression
Indicates whether default index compression is enabled or disabled.static class
TablespaceSummary.DefaultInMemory
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.static class
TablespaceSummary.DefaultInMemoryCompression
Indicates the default compression level for the IM column store for the tablespace.static class
TablespaceSummary.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
TablespaceSummary.DefaultInMemoryDuplicate
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.static class
TablespaceSummary.DefaultInMemoryPriority
Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.static class
TablespaceSummary.DefaultInMemoryService
Indicates how the IM column store is populated on various instances by default for the tablespace.static class
TablespaceSummary.DefaultTableCompression
Indicates whether default table compression is enabled or disabled.static class
TablespaceSummary.ExtentManagement
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.static class
TablespaceSummary.IndexCompressFor
The operation type for which default index compression is enabled.static class
TablespaceSummary.Logging
The default logging attribute.static class
TablespaceSummary.LostWriteProtect
The lost write protection setting for the tablespace.static class
TablespaceSummary.PredicateEvaluation
Indicates whether predicates are evaluated by Host or by Storage.static class
TablespaceSummary.Retention
Indicates whether undo retention guarantee is enabled for the tablespace.static class
TablespaceSummary.SegmentSpaceManagement
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).static class
TablespaceSummary.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
TablespaceSummary.Status
The status of the tablespace.static class
TablespaceSummary.Type
The type of tablespace.
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TablespaceSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
BigDecimal
getAllocatedSizeKB()
The allocated tablespace size in KB.TablespaceSummary.AllocationType
getAllocationType()
The type of extent allocation in effect for the tablespace.BigDecimal
getBlockSizeBytes()
The tablespace block size.TablespaceSummary.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.TablespaceSummary.DefaultIndexCompression
getDefaultIndexCompression()
Indicates whether default index compression is enabled or disabled.TablespaceSummary.DefaultInMemory
getDefaultInMemory()
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.TablespaceSummary.DefaultInMemoryCompression
getDefaultInMemoryCompression()
Indicates the default compression level for the IM column store for the tablespace.TablespaceSummary.DefaultInMemoryDistribute
getDefaultInMemoryDistribute()
Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.TablespaceSummary.DefaultInMemoryDuplicate
getDefaultInMemoryDuplicate()
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.TablespaceSummary.DefaultInMemoryPriority
getDefaultInMemoryPriority()
Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.TablespaceSummary.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.TablespaceSummary.DefaultTableCompression
getDefaultTableCompression()
Indicates whether default table compression is enabled or disabled.TablespaceSummary.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.TablespaceSummary.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.TablespaceSummary.Logging
getLogging()
The default logging attribute.TablespaceSummary.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.TablespaceSummary.PredicateEvaluation
getPredicateEvaluation()
Indicates whether predicates are evaluated by Host or by Storage.TablespaceSummary.Retention
getRetention()
Indicates whether undo retention guarantee is enabled for the tablespace.TablespaceSummary.SegmentSpaceManagement
getSegmentSpaceManagement()
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).TablespaceSummary.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.TablespaceSummary.Status
getStatus()
The status of the tablespace.String
getTempGroup()
The temporary tablespace group.TablespaceSummary.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()
TablespaceSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TablespaceSummary
@Deprecated @ConstructorProperties({"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 TablespaceSummary(String name, TablespaceSummary.Type type, TablespaceSummary.Status status, BigDecimal blockSizeBytes, TablespaceSummary.Logging logging, Boolean isForceLogging, TablespaceSummary.ExtentManagement extentManagement, TablespaceSummary.AllocationType allocationType, Boolean isPluggedIn, TablespaceSummary.SegmentSpaceManagement segmentSpaceManagement, TablespaceSummary.DefaultTableCompression defaultTableCompression, TablespaceSummary.Retention retention, Boolean isBigfile, TablespaceSummary.PredicateEvaluation predicateEvaluation, Boolean isEncrypted, TablespaceSummary.CompressFor compressFor, TablespaceSummary.DefaultInMemory defaultInMemory, TablespaceSummary.DefaultInMemoryPriority defaultInMemoryPriority, TablespaceSummary.DefaultInMemoryDistribute defaultInMemoryDistribute, TablespaceSummary.DefaultInMemoryCompression defaultInMemoryCompression, TablespaceSummary.DefaultInMemoryDuplicate defaultInMemoryDuplicate, TablespaceSummary.Shared shared, TablespaceSummary.DefaultIndexCompression defaultIndexCompression, TablespaceSummary.IndexCompressFor indexCompressFor, String defaultCellMemory, TablespaceSummary.DefaultInMemoryService defaultInMemoryService, String defaultInMemoryServiceName, TablespaceSummary.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.
-
-
Method Detail
-
builder
public static TablespaceSummary.Builder builder()
Create a new builder.
-
toBuilder
public TablespaceSummary.Builder toBuilder()
-
getName
public String getName()
The name of the tablespace.- Returns:
- the value
-
getType
public TablespaceSummary.Type getType()
The type of tablespace.- Returns:
- the value
-
getStatus
public TablespaceSummary.Status getStatus()
The status of the tablespace.- Returns:
- the value
-
getBlockSizeBytes
public BigDecimal getBlockSizeBytes()
The tablespace block size.- Returns:
- the value
-
getLogging
public TablespaceSummary.Logging getLogging()
The default logging attribute.- Returns:
- the value
-
getIsForceLogging
public Boolean getIsForceLogging()
Indicates whether the tablespace is under Force Logging mode.- Returns:
- the value
-
getExtentManagement
public TablespaceSummary.ExtentManagement getExtentManagement()
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.- Returns:
- the value
-
getAllocationType
public TablespaceSummary.AllocationType getAllocationType()
The type of extent allocation in effect for the tablespace.- Returns:
- the value
-
getIsPluggedIn
public Boolean getIsPluggedIn()
Indicates whether the tablespace is plugged in.- Returns:
- the value
-
getSegmentSpaceManagement
public TablespaceSummary.SegmentSpaceManagement getSegmentSpaceManagement()
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).- Returns:
- the value
-
getDefaultTableCompression
public TablespaceSummary.DefaultTableCompression getDefaultTableCompression()
Indicates whether default table compression is enabled or disabled.- Returns:
- the value
-
getRetention
public TablespaceSummary.Retention getRetention()
Indicates whether undo retention guarantee is enabled for the tablespace.- Returns:
- the value
-
getIsBigfile
public Boolean getIsBigfile()
Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.- Returns:
- the value
-
getPredicateEvaluation
public TablespaceSummary.PredicateEvaluation getPredicateEvaluation()
Indicates whether predicates are evaluated by Host or by Storage.- Returns:
- the value
-
getIsEncrypted
public Boolean getIsEncrypted()
Indicates whether the tablespace is encrypted.- Returns:
- the value
-
getCompressFor
public TablespaceSummary.CompressFor getCompressFor()
The operation type for which default compression is enabled.- Returns:
- the value
-
getDefaultInMemory
public TablespaceSummary.DefaultInMemory getDefaultInMemory()
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.- Returns:
- the value
-
getDefaultInMemoryPriority
public TablespaceSummary.DefaultInMemoryPriority getDefaultInMemoryPriority()
Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.- Returns:
- the value
-
getDefaultInMemoryDistribute
public TablespaceSummary.DefaultInMemoryDistribute getDefaultInMemoryDistribute()
Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.- Returns:
- the value
-
getDefaultInMemoryCompression
public TablespaceSummary.DefaultInMemoryCompression getDefaultInMemoryCompression()
Indicates the default compression level for the IM column store for the tablespace.- Returns:
- the value
-
getDefaultInMemoryDuplicate
public TablespaceSummary.DefaultInMemoryDuplicate getDefaultInMemoryDuplicate()
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.- Returns:
- the value
-
getShared
public TablespaceSummary.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.- Returns:
- the value
-
getDefaultIndexCompression
public TablespaceSummary.DefaultIndexCompression getDefaultIndexCompression()
Indicates whether default index compression is enabled or disabled.- Returns:
- the value
-
getIndexCompressFor
public TablespaceSummary.IndexCompressFor getIndexCompressFor()
The operation type for which default index compression is enabled.- Returns:
- the value
-
getDefaultCellMemory
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.
- Returns:
- the value
-
getDefaultInMemoryService
public TablespaceSummary.DefaultInMemoryService getDefaultInMemoryService()
Indicates how the IM column store is populated on various instances by default for the tablespace.- Returns:
- the value
-
getDefaultInMemoryServiceName
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.
- Returns:
- the value
-
getLostWriteProtect
public TablespaceSummary.LostWriteProtect getLostWriteProtect()
The lost write protection setting for the tablespace.- Returns:
- the value
-
getIsChunkTablespace
public Boolean getIsChunkTablespace()
Indicates whether this is a chunk tablespace.- Returns:
- the value
-
getTempGroup
public String getTempGroup()
The temporary tablespace group.- Returns:
- the value
-
getMaxSizeKB
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.
- Returns:
- the value
-
getAllocatedSizeKB
public BigDecimal getAllocatedSizeKB()
The allocated tablespace size in KB.- Returns:
- the value
-
getUserSizeKB
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.
- Returns:
- the value
-
getFreeSpaceKB
public BigDecimal getFreeSpaceKB()
The free space available in the tablespace in KB.- Returns:
- the value
-
getUsedSpaceKB
public BigDecimal getUsedSpaceKB()
The total space used by the tablespace in KB.- Returns:
- the value
-
getUsedPercentAvailable
public Double getUsedPercentAvailable()
The percentage of used space out of the maximum available space in the tablespace.- Returns:
- the value
-
getUsedPercentAllocated
public Double getUsedPercentAllocated()
The percentage of used space out of the total allocated space in the tablespace.- Returns:
- the value
-
getIsDefault
public Boolean getIsDefault()
Indicates whether this is the default tablespace.- Returns:
- the value
-
getDatafiles
public List<Datafile> getDatafiles()
A list of the data files associated with the tablespace.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-