public class PageSize
extends java.lang.Object
A DB2 page size is limited to certain values.
Modifier and Type | Field and Description |
---|---|
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).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pOther) |
static PageSize[] |
getInstances()
Returns the possible pagesize specifications.
|
long |
getSize()
Returns the size of the pagesize specification.
|
int |
hashCode() |
java.lang.String |
toString() |
static PageSize |
valueOf(long pSize)
Converts the given long value into a pagesize specification.
|
static PageSize |
valueOf(java.lang.String pSize)
Converts the given string into a pagesize specification.
|
public static final PageSize PAGESIZE_4096
public static final PageSize PAGESIZE_8192
public static final PageSize PAGESIZE_16384
public static final PageSize PAGESIZE_32768
public long getSize()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object pOther)
equals
in class java.lang.Object
public static PageSize[] getInstances()
public static PageSize valueOf(java.lang.String pSize)
public static PageSize valueOf(long pSize)
public int hashCode()
hashCode
in class java.lang.Object