org.apache.ws.jaxme.sqls.db2

Class TableSpace.Type

public static class TableSpace.Type extends 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.TypeLONG

LONG: Stores long or LOB table columns.

static TableSpace.TypeREGULAR

REGULAR: Stores all data except for temporary tables.

static TableSpace.TypeSYSTEM_TEMPORARY

SYSTEM TEMPORARY: Stores temporary tables (work areas used by the database manager to perform operations such as sorts or joins).

static TableSpace.TypeUSER_TEMPORARY
Method Summary
booleanequals(Object pOther)
static TableSpace.Type[]getInstances()
StringgetName()
inthashCode()
StringtoString()
static TableSpace.TypevalueOf(String pName)

Field Detail

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 Detail

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)