org.apache.ws.jaxme.sqls.db2

Class PageSize


public class PageSize
extends java.lang.Object

A DB2 page size is limited to certain values.

Field Summary

static PageSize
PAGESIZE_16384
The default page size (16384 bytes).
static PageSize
PAGESIZE_32768
The default page size (32768 bytes).
static PageSize
PAGESIZE_4096
The default page size (4096 bytes).
static PageSize
PAGESIZE_8192
The default page size (8192 bytes).

Method Summary

boolean
equals(Object pOther)
static PageSize[]
getInstances()
Returns the possible pagesize specifications.
long
getSize()
Returns the size of the pagesize specification.
int
hashCode()
String
toString()
static PageSize
valueOf(String pSize)
Converts the given string into a pagesize specification.
static PageSize
valueOf(long pSize)
Converts the given long value into a pagesize specification.

Field Details

PAGESIZE_16384

public static final PageSize PAGESIZE_16384
The default page size (16384 bytes).

PAGESIZE_32768

public static final PageSize PAGESIZE_32768
The default page size (32768 bytes).

PAGESIZE_4096

public static final PageSize PAGESIZE_4096
The default page size (4096 bytes).

PAGESIZE_8192

public static final PageSize PAGESIZE_8192
The default page size (8192 bytes).

Method Details

equals

public boolean equals(Object pOther)

getInstances

public static PageSize[] getInstances()
Returns the possible pagesize specifications.

getSize

public long getSize()
Returns the size of the pagesize specification.

hashCode

public int hashCode()

toString

public String toString()

valueOf

public static PageSize valueOf(String pSize)
Converts the given string into a pagesize specification.

valueOf

public static PageSize valueOf(long pSize)
Converts the given long value into a pagesize specification.