public final class PageSizeConstants
extends java.lang.Object
Note that some page size might not be supported by all Firebird version.
| Modifier and Type | Field and Description | 
|---|---|
| static int | SIZE_16K | 
| static int | SIZE_1K | 
| static int | SIZE_2K | 
| static int | SIZE_32KFirebird 4 or higher | 
| static int | SIZE_4K | 
| static int | SIZE_8K | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | requireValidPageSize(int pageSize)Checks if  pageSizeis a valid page size value. | 
public static final int SIZE_1K
public static final int SIZE_2K
public static final int SIZE_4K
public static final int SIZE_8K
public static final int SIZE_16K
public static final int SIZE_32K
public static int requireValidPageSize(int pageSize)
pageSize is a valid page size value.
 Actual support of a page size depends on the Firebird version, even if a page size is valid according to this method, it can still be invalid for the actual Firebird version used.
pageSize - Page size to checkpageSize (unmodified)java.lang.IllegalArgumentException - if the page size is not a valid valueCopyright © 2001-2022 Jaybird (Firebird JDBC/JCA) team. All rights reserved.