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.ExplicitlySetBmcModelThe 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 classTablespaceSummary.AllocationTypeThe type of extent allocation in effect for the tablespace.static classTablespaceSummary.Builderstatic classTablespaceSummary.CompressForThe operation type for which default compression is enabled.static classTablespaceSummary.DefaultIndexCompressionIndicates whether default index compression is enabled or disabled.static classTablespaceSummary.DefaultInMemoryIndicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.static classTablespaceSummary.DefaultInMemoryCompressionIndicates the default compression level for the IM column store for the tablespace.static classTablespaceSummary.DefaultInMemoryDistributeIndicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.static classTablespaceSummary.DefaultInMemoryDuplicateIndicates the duplicate setting for the IM column store in an Oracle RAC environment.static classTablespaceSummary.DefaultInMemoryPriorityIndicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.static classTablespaceSummary.DefaultInMemoryServiceIndicates how the IM column store is populated on various instances by default for the tablespace.static classTablespaceSummary.DefaultTableCompressionIndicates whether default table compression is enabled or disabled.static classTablespaceSummary.ExtentManagementIndicates whether the extents in the tablespace are Locally managed or Dictionary managed.static classTablespaceSummary.IndexCompressForThe operation type for which default index compression is enabled.static classTablespaceSummary.LoggingThe default logging attribute.static classTablespaceSummary.LostWriteProtectThe lost write protection setting for the tablespace.static classTablespaceSummary.PredicateEvaluationIndicates whether predicates are evaluated by Host or by Storage.static classTablespaceSummary.RetentionIndicates whether undo retention guarantee is enabled for the tablespace.static classTablespaceSummary.SegmentSpaceManagementIndicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).static classTablespaceSummary.SharedIndicates 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 classTablespaceSummary.StatusThe status of the tablespace.static classTablespaceSummary.TypeThe type of tablespace.
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TablespaceSummary.Builderbuilder()Create a new builder.booleanequals(Object o)BigDecimalgetAllocatedSizeKB()The allocated tablespace size in KB.TablespaceSummary.AllocationTypegetAllocationType()The type of extent allocation in effect for the tablespace.BigDecimalgetBlockSizeBytes()The tablespace block size.TablespaceSummary.CompressForgetCompressFor()The operation type for which default compression is enabled.List<Datafile>getDatafiles()A list of the data files associated with the tablespace.StringgetDefaultCellMemory()This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly.TablespaceSummary.DefaultIndexCompressiongetDefaultIndexCompression()Indicates whether default index compression is enabled or disabled.TablespaceSummary.DefaultInMemorygetDefaultInMemory()Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.TablespaceSummary.DefaultInMemoryCompressiongetDefaultInMemoryCompression()Indicates the default compression level for the IM column store for the tablespace.TablespaceSummary.DefaultInMemoryDistributegetDefaultInMemoryDistribute()Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.TablespaceSummary.DefaultInMemoryDuplicategetDefaultInMemoryDuplicate()Indicates the duplicate setting for the IM column store in an Oracle RAC environment.TablespaceSummary.DefaultInMemoryPrioritygetDefaultInMemoryPriority()Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.TablespaceSummary.DefaultInMemoryServicegetDefaultInMemoryService()Indicates how the IM column store is populated on various instances by default for the tablespace.StringgetDefaultInMemoryServiceName()Indicates the service name for the service on which the IM column store should be populated by default for the tablespace.TablespaceSummary.DefaultTableCompressiongetDefaultTableCompression()Indicates whether default table compression is enabled or disabled.TablespaceSummary.ExtentManagementgetExtentManagement()Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.BigDecimalgetFreeSpaceKB()The free space available in the tablespace in KB.TablespaceSummary.IndexCompressForgetIndexCompressFor()The operation type for which default index compression is enabled.BooleangetIsBigfile()Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.BooleangetIsChunkTablespace()Indicates whether this is a chunk tablespace.BooleangetIsDefault()Indicates whether this is the default tablespace.BooleangetIsEncrypted()Indicates whether the tablespace is encrypted.BooleangetIsForceLogging()Indicates whether the tablespace is under Force Logging mode.BooleangetIsPluggedIn()Indicates whether the tablespace is plugged in.TablespaceSummary.LogginggetLogging()The default logging attribute.TablespaceSummary.LostWriteProtectgetLostWriteProtect()The lost write protection setting for the tablespace.BigDecimalgetMaxSizeKB()The maximum tablespace size in KB.StringgetName()The name of the tablespace.TablespaceSummary.PredicateEvaluationgetPredicateEvaluation()Indicates whether predicates are evaluated by Host or by Storage.TablespaceSummary.RetentiongetRetention()Indicates whether undo retention guarantee is enabled for the tablespace.TablespaceSummary.SegmentSpaceManagementgetSegmentSpaceManagement()Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).TablespaceSummary.SharedgetShared()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.StatusgetStatus()The status of the tablespace.StringgetTempGroup()The temporary tablespace group.TablespaceSummary.TypegetType()The type of tablespace.DoublegetUsedPercentAllocated()The percentage of used space out of the total allocated space in the tablespace.DoublegetUsedPercentAvailable()The percentage of used space out of the maximum available space in the tablespace.BigDecimalgetUsedSpaceKB()The total space used by the tablespace in KB.BigDecimalgetUserSizeKB()The size of the tablespace available for user data in KB.inthashCode()TablespaceSummary.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-