org.apache.ws.jaxme.sqls.db2
Interface TableSpace.DatabaseManagedContainer
- TableSpace.Container
- TableSpaceImpl.DatabaseManagedContainerImpl
public static interface TableSpace.DatabaseManagedContainer
Interface of a database managed container. The container
may be located in an operating system file with preallocated
size or in a raw operating system device. A container may be
casted to a DatabaseManagedContainer, if and only if
isDatabaseManaged() == true
.
String | getDevice() - Returns the containers device name or null, if the
container is located in an operating system file.
|
String | getFile() - Returns the containers file name or null, if the
container is located in a raw device.
|
long | getNumOfPages() - Returns the containers size in pages.
|
getDevice
public String getDevice()
Returns the containers device name or null, if the
container is located in an operating system file. In the
latter case it is guaranteed, that
getDevice()
returns a non-null value.
getFile
public String getFile()
Returns the containers file name or null, if the
container is located in a raw device. In the latter case
it is guaranteed, that
getDevice()
returns a
non-null value.
getNumOfPages
public long getNumOfPages()
Returns the containers size in pages.