be.SIRAPRISE.client.jsba
Class MultiHashingIndexSpace

java.lang.Object
  extended by be.SIRAPRISE.client.jsba.AbstractDBObject
      extended by be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
          extended by be.SIRAPRISE.client.jsba.MultiHashingIndexSpace
All Implemented Interfaces:
DBObject, DBObjectToMultihashingindexspace, DBObjectToStoragespace, MultihashingindexspaceToDBObject, StoragespaceToDBObject, UpdatableDBObject

public final class MultiHashingIndexSpace
extends AbstractUpdatableDBObject
implements DBObjectToMultihashingindexspace, DBObjectToStoragespace, MultihashingindexspaceToDBObject, StoragespaceToDBObject

Author:
Erwin Smout

Constructor Summary
MultiHashingIndexSpace()
           
MultiHashingIndexSpace(java.lang.String fileName, int storageSpaceID, int pageCount, int gapCompressionThreshold, int maximumGaps, int extentsCount)
           
 
Method Summary
 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
 java.lang.String getMultihashingindexspaceFilename()
          Gets The file name
 java.lang.String getMultihashingindexspaceGapcompressionthreshold()
          Gets The file name
 java.lang.String getMultihashingindexspaceMaximumgaps()
          Gets the ID
 java.lang.String getMultihashingindexspaceStoragespaceid()
          Gets the ID
 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.
 java.lang.String getStoragespaceExtentscount()
          Gets the extentscount for storagespaceextents
 java.lang.String getStoragespaceFilename()
          Gets The file name
 int getStorageSpaceID()
          Gets the ID
 java.lang.String getStoragespacePagecount()
          Gets The gap compression threshold
 java.lang.String getStoragespaceStoragespaceid()
          Gets the ID
 void setExtentsCount(int extentsCount)
          Sets The number of extents that the storage space can take
 void setExtentscountFromDB(java.lang.String extentsCount)
          Sets The number of extents that the storage space can take
 void setFileName(java.lang.String fileName)
          Sets The file name
 void setFilenameFromDB(java.lang.String fileName)
          Sets The file name
 void setGapCompressionThreshold(int gapCompressionThreshold)
          Sets The gap compression threshold
 void setGapcompressionthresholdFromDB(java.lang.String gapCompressionThreshold)
          Sets The gap compression threshold
 void setMaximumGaps(int maximumGaps)
          Gets The maximum gap count
 void setMaximumgapsFromDB(java.lang.String maximumGaps)
          Sets The maximum gap count
 void setPageCount(int pageCount)
          Sets The number of pages in the index space
 void setPagecountFromDB(java.lang.String 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 setStoragespaceidFromDB(java.lang.String storageSpaceID)
          Sets the ID
 
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
dbUpdateCommand, dbUpdateCommand
 
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractDBObject
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiHashingIndexSpace

public MultiHashingIndexSpace()

MultiHashingIndexSpace

public MultiHashingIndexSpace(java.lang.String fileName,
                              int storageSpaceID,
                              int pageCount,
                              int gapCompressionThreshold,
                              int maximumGaps,
                              int extentsCount)
Parameters:
fileName - The file name
storageSpaceID - The ID
pageCount - The number of pages in the index space
gapCompressionThreshold - The gap compression threshold
maximumGaps - The maximum gap count
extentsCount - The number of extents that the storage space can take
Method Detail

getExtentsCount

public final int getExtentsCount()
Gets The number of extents that the storage space can take

Returns:
The number of extents that the storage space can take

getFileName

public final java.lang.String getFileName()
Gets The file name

Returns:
Returns the fileName.

getGapCompressionThreshold

public final int getGapCompressionThreshold()
Gets The gap compression threshold

Returns:
The gap compression threshold

getMaximumGaps

public final int getMaximumGaps()
Gets The maximum gap count

Returns:
The maximum gap count

getMultihashingindexspaceStoragespaceid

public final java.lang.String getMultihashingindexspaceStoragespaceid()
Gets the ID

Specified by:
getMultihashingindexspaceStoragespaceid in interface DBObjectToMultihashingindexspace
Returns:
the ID.

getMultihashingindexspaceFilename

public final java.lang.String getMultihashingindexspaceFilename()
Gets The file name

Specified by:
getMultihashingindexspaceFilename in interface DBObjectToMultihashingindexspace
Returns:
Returns the fileName.

getMultihashingindexspaceGapcompressionthreshold

public final java.lang.String getMultihashingindexspaceGapcompressionthreshold()
Gets The file name

Specified by:
getMultihashingindexspaceGapcompressionthreshold in interface DBObjectToMultihashingindexspace
Returns:
Returns the fileName.

getMultihashingindexspaceMaximumgaps

public final java.lang.String getMultihashingindexspaceMaximumgaps()
Gets the ID

Specified by:
getMultihashingindexspaceMaximumgaps in interface DBObjectToMultihashingindexspace
Returns:
the ID.

getPageCount

public final int getPageCount()
Gets The number of pages in the index space

Returns:
The number of pages in the index space

getPreUpdateState

public final UpdatableDBObject getPreUpdateState()
Description copied from interface: UpdatableDBObject
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.

Specified by:
getPreUpdateState in interface UpdatableDBObject
Returns:
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.

getStoragespaceExtentscount

public java.lang.String getStoragespaceExtentscount()
Description copied from interface: DBObjectToStoragespace
Gets the extentscount for storagespaceextents

Specified by:
getStoragespaceExtentscount in interface DBObjectToStoragespace
Returns:
The extentscount for storagespaceextents

getStoragespaceFilename

public final java.lang.String getStoragespaceFilename()
Gets The file name

Specified by:
getStoragespaceFilename in interface DBObjectToStoragespace
Returns:
Returns the fileName.

getStorageSpaceID

public final int getStorageSpaceID()
Gets the ID

Returns:
the ID.

getStoragespacePagecount

public final java.lang.String getStoragespacePagecount()
Gets The gap compression threshold

Specified by:
getStoragespacePagecount in interface DBObjectToStoragespace
Returns:
The gap compression threshold

getStoragespaceStoragespaceid

public final java.lang.String getStoragespaceStoragespaceid()
Gets the ID

Specified by:
getStoragespaceStoragespaceid in interface DBObjectToStoragespace
Returns:
the ID.

setExtentsCount

public final void setExtentsCount(int extentsCount)
Sets The number of extents that the storage space can take

Parameters:
extentsCount - The number of extents that the storage space can take

setExtentscountFromDB

public final void setExtentscountFromDB(java.lang.String extentsCount)
Sets The number of extents that the storage space can take

Specified by:
setExtentscountFromDB in interface StoragespaceToDBObject
Parameters:
extentsCount - The number of extents that the storage space can take

setFileName

public final void setFileName(java.lang.String fileName)
Sets The file name

Parameters:
fileName - The file name.

setFilenameFromDB

public final void setFilenameFromDB(java.lang.String fileName)
Sets The file name

Specified by:
setFilenameFromDB in interface MultihashingindexspaceToDBObject
Specified by:
setFilenameFromDB in interface StoragespaceToDBObject
Parameters:
fileName - The file name.

setGapCompressionThreshold

public final void setGapCompressionThreshold(int gapCompressionThreshold)
Sets The gap compression threshold

Parameters:
gapCompressionThreshold - The gap compression threshold

setGapcompressionthresholdFromDB

public final void setGapcompressionthresholdFromDB(java.lang.String gapCompressionThreshold)
Sets The gap compression threshold

Specified by:
setGapcompressionthresholdFromDB in interface MultihashingindexspaceToDBObject
Parameters:
gapCompressionThreshold - The gap compression threshold

setMaximumGaps

public final void setMaximumGaps(int maximumGaps)
Gets The maximum gap count

Parameters:
maximumGaps - The maximum gap count.

setMaximumgapsFromDB

public final void setMaximumgapsFromDB(java.lang.String maximumGaps)
Sets The maximum gap count

Specified by:
setMaximumgapsFromDB in interface MultihashingindexspaceToDBObject
Parameters:
maximumGaps - The maximum gap count.

setPageCount

public final void setPageCount(int pageCount)
Sets The number of pages in the index space

Parameters:
pageCount - The number of pages in the index space

setPagecountFromDB

public final void setPagecountFromDB(java.lang.String pageCount)
Sets The number of pages in the index space

Specified by:
setPagecountFromDB in interface StoragespaceToDBObject
Parameters:
pageCount - The number of pages in the index space

setPreUpdateState

public final void setPreUpdateState()
Description copied from interface: UpdatableDBObject
This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database. The method must cause the object to save a copy (/clone) of all the fields that are pertinent to the database. This copy will be retrieved by the J/R bridging engine using the getPreUpdateState() method call, and will subsequently be used by the J/R bridging engine to determine which fields have changed value, and thus to determine which attributes need to be updated in the database.

Specified by:
setPreUpdateState in interface UpdatableDBObject

setStorageSpaceID

public final void setStorageSpaceID(int storageSpaceID)
Sets the ID

Parameters:
storageSpaceID - The ID to set.

setStoragespaceidFromDB

public final void setStoragespaceidFromDB(java.lang.String storageSpaceID)
Sets the ID

Specified by:
setStoragespaceidFromDB in interface MultihashingindexspaceToDBObject
Specified by:
setStoragespaceidFromDB in interface StoragespaceToDBObject
Parameters:
storageSpaceID - The ID to set.