public static class TableSpace.Type
extends java.lang.Object
A DB2 TableSpace type. Valid types are either of
REGULAR, LONG, SYSTEM_TEMPORARY, or
USER_TEMPORARY. See the DB2 SQL reference in the section
CREATE TABLESPACE for details on types.
| Modifier and Type | Field and Description |
|---|---|
static TableSpace.Type |
LONG
LONG: Stores long or LOB table columns.
|
static TableSpace.Type |
REGULAR
REGULAR: Stores all data except for temporary tables.
|
static TableSpace.Type |
SYSTEM_TEMPORARY
SYSTEM TEMPORARY: Stores temporary tables (work areas used
by the database manager to perform operations such as sorts or
joins).
|
static TableSpace.Type |
USER_TEMPORARY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object pOther) |
static TableSpace.Type[] |
getInstances() |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
static TableSpace.Type |
valueOf(java.lang.String pName) |
public static final TableSpace.Type REGULAR
REGULAR: Stores all data except for temporary tables.
public static final TableSpace.Type LONG
LONG: Stores long or LOB table columns. It may also store structured type columns. The tablespace must be a DMS tablespace.
public static final TableSpace.Type SYSTEM_TEMPORARY
SYSTEM TEMPORARY: Stores temporary tables (work areas used
by the database manager to perform operations such as sorts or
joins). Note that a database must always have at least one
SYSTEM TEMPORARY tablespace, as temporary tables
can only be stored in such a tablespace. A temporary tablespace
is created automatically when a database is created. See
CREATE DATABASE in the Command Reference for more information.
public static final TableSpace.Type USER_TEMPORARY
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public boolean equals(java.lang.Object pOther)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static TableSpace.Type[] getInstances()
public static TableSpace.Type valueOf(java.lang.String pName)