org.apache.ws.jaxme.sqls.db2
Class TableSpace.Type

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.db2.TableSpace.Type
Enclosing interface:
TableSpace

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.


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(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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

REGULAR

public static final TableSpace.Type REGULAR

REGULAR: Stores all data except for temporary tables.


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.


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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

equals

public boolean equals(java.lang.Object pOther)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getInstances

public static TableSpace.Type[] getInstances()

valueOf

public static TableSpace.Type valueOf(java.lang.String pName)