org.apache.ws.jaxme.sqls.db2

Class TableSpace.Type

Enclosing Class:
TableSpace

public 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.

Field Summary

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

Method Summary

boolean
equals(Object pOther)
static TableSpace.Type[]
getInstances()
String
getName()
int
hashCode()
String
toString()
static TableSpace.Type
valueOf(String pName)

Field Details

LONG

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.

REGULAR

public static final TableSpace.Type REGULAR
REGULAR: Stores all data except for temporary tables.

SYSTEM_TEMPORARY

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.

USER_TEMPORARY

public static final TableSpace.Type USER_TEMPORARY

Method Details

equals

public boolean equals(Object pOther)

getInstances

public static TableSpace.Type[] getInstances()

getName

public String getName()

hashCode

public int hashCode()

toString

public String toString()

valueOf

public static TableSpace.Type valueOf(String pName)