@Relvars(relvarNames={"HASHEDRECORDSPACE","STORAGESPACE"}) public final class HashedRecordSpace extends AbstractUpdatableDBObject
| Constructor and Description |
|---|
HashedRecordSpace() |
HashedRecordSpace(java.lang.String fileName,
int storageSpaceID,
int pageCount,
int gapCompressionThreshold,
int maximumGaps,
int extentsCount) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExtentsCount()
Gets The number of extents that the storage space can take
|
java.lang.String |
getFileName()
Gets The file name
|
int |
getGapCompressionThreshold()
Gets The gap compression threshold
|
int |
getMaximumGaps()
Gets The maximum gap count
|
int |
getPageCount()
Gets The number of pages in the index space
|
UpdatableDBObject |
getPreUpdateState()
Gets The state of the object as it was built by the J/R bridging engine immediately after the object was created from a database tuple (and which should have been set by/using the setPreUpdateState() method.
|
int |
getStorageSpaceID()
Gets the ID
|
void |
setExtentsCount(int extentsCount)
Sets The number of extents that the storage space can take
|
void |
setExtentsCount(ValueBuffer extentsCount)
Sets The number of extents that the storage space can take
|
void |
setFileName(java.lang.String fileName)
Sets The file name
|
void |
setFileName(ValueBuffer fileName)
Sets The file name
|
void |
setGapCompressionThreshold(int gapCompressionThreshold)
Sets The gap compression threshold
|
void |
setGapCompressionThreshold(ValueBuffer gapCompressionThreshold)
Sets The gap compression threshold
|
void |
setMaximumGaps(int maximumGaps)
Gets The maximum gap count
|
void |
setMaximumGaps(ValueBuffer maximumGaps)
Sets The maximum gap count
|
void |
setPageCount(int pageCount)
Sets The number of pages in the index space
|
void |
setPageCount(ValueBuffer pageCount)
Sets The number of pages in the index space
|
void |
setPreUpdateState()
This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database.
|
void |
setStorageSpaceID(int storageSpaceID)
Sets the ID
|
void |
setStorageSpaceID(ValueBuffer storageSpaceID)
Sets the ID
|
dbUpdateCommand, dbUpdateCommand, dbUpdateCommanddbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAllpublic HashedRecordSpace()
public HashedRecordSpace(java.lang.String fileName,
int storageSpaceID,
int pageCount,
int gapCompressionThreshold,
int maximumGaps,
int extentsCount)
fileName - The file namestorageSpaceID - The IDpageCount - The number of pages in the index spacegapCompressionThreshold - The gap compression thresholdmaximumGaps - The maximum gap countextentsCount - The number of extents that the storage space can take@GetterMethod(attributeDefs=@AttributeDef(attributeName="EXTENTSCOUNT",requiresEscaping=false,typeName="INT"), relvarNames="STORAGESPACE") public final int getExtentsCount()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="FILENAME",requiresEscaping=false,typeName="FILENAME"), relvarNames={"STORAGESPACE","HASHEDRECORDSPACE"}) public final java.lang.String getFileName()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="GAPCOMPRESSIONTHRESHOLD",requiresEscaping=false,typeName="INT"), relvarNames="HASHEDRECORDSPACE") public final int getGapCompressionThreshold()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="MAXIMUMGAPS",requiresEscaping=false,typeName="INT"), relvarNames="HASHEDRECORDSPACE") public final int getMaximumGaps()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="PAGECOUNT",requiresEscaping=false,typeName="INT"), relvarNames="STORAGESPACE") public final int getPageCount()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject@GetterMethod(attributeDefs=@AttributeDef(attributeName="STORAGESPACEID",requiresEscaping=false,typeName="INT"), relvarNames={"STORAGESPACE","HASHEDRECORDSPACE"}) public final int getStorageSpaceID()
public final void setExtentsCount(int extentsCount)
extentsCount - The number of extents that the storage space can take@AttributeDef(attributeName="EXTENTSCOUNT", requiresEscaping=false, typeName="INT") public final void setExtentsCount(ValueBuffer extentsCount)
extentsCount - The number of extents that the storage space can takepublic final void setFileName(java.lang.String fileName)
fileName - The file name.@AttributeDef(attributeName="FILENAME", requiresEscaping=false, typeName="FILENAME") public final void setFileName(ValueBuffer fileName)
fileName - The file name.public final void setGapCompressionThreshold(int gapCompressionThreshold)
gapCompressionThreshold - The gap compression threshold@AttributeDef(attributeName="GAPCOMPRESSIONTHRESHOLD", requiresEscaping=false, typeName="INT") public final void setGapCompressionThreshold(ValueBuffer gapCompressionThreshold)
gapCompressionThreshold - The gap compression thresholdpublic final void setMaximumGaps(int maximumGaps)
maximumGaps - The maximum gap count.@AttributeDef(attributeName="MAXIMUMGAPS", requiresEscaping=false, typeName="INT") public final void setMaximumGaps(ValueBuffer maximumGaps)
maximumGaps - The maximum gap count.public final void setPageCount(int pageCount)
pageCount - The number of pages in the index space@AttributeDef(attributeName="PAGECOUNT", requiresEscaping=false, typeName="INT") public final void setPageCount(ValueBuffer pageCount)
pageCount - The number of pages in the index spacepublic final void setPreUpdateState()
UpdatableDBObjectpublic final void setStorageSpaceID(int storageSpaceID)
storageSpaceID - The ID to set.@AttributeDef(attributeName="STORAGESPACEID", requiresEscaping=false, typeName="INT") public final void setStorageSpaceID(ValueBuffer storageSpaceID)
storageSpaceID - The ID to set.