| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PageTypes |
|
| 0.0;0 |
| 1 | /* | |
| 2 | Copyright (c) 2005 Health Market Science, Inc. | |
| 3 | ||
| 4 | This library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | This library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with this library; if not, write to the Free Software | |
| 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | |
| 17 | USA | |
| 18 | ||
| 19 | You can contact Health Market Science at info@healthmarketscience.com | |
| 20 | or at the following address: | |
| 21 | ||
| 22 | Health Market Science | |
| 23 | 2700 Horizon Drive | |
| 24 | Suite 200 | |
| 25 | King of Prussia, PA 19406 | |
| 26 | */ | |
| 27 | ||
| 28 | package com.healthmarketscience.jackcess; | |
| 29 | ||
| 30 | /** | |
| 31 | * Codes for page types | |
| 32 | * @author Tim McCune | |
| 33 | */ | |
| 34 | public interface PageTypes { | |
| 35 | ||
| 36 | /** invalid page type */ | |
| 37 | public static final byte INVALID = (byte)0x00; | |
| 38 | /** Data page */ | |
| 39 | public static final byte DATA = (byte)0x01; | |
| 40 | /** Table definition page */ | |
| 41 | public static final byte TABLE_DEF = (byte)0x02; | |
| 42 | /** intermediate index page pointing to other index pages */ | |
| 43 | public static final byte INDEX_NODE = (byte)0x03; | |
| 44 | /** leaf index page containing actual entries */ | |
| 45 | public static final byte INDEX_LEAF = (byte)0x04; | |
| 46 | /** Table usage map page */ | |
| 47 | public static final byte USAGE_MAP = (byte)0x05; | |
| 48 | ||
| 49 | } |