View Javadoc
1   /*
2   Copyright (c) 2005 Health Market Science, Inc.
3   
4   Licensed under the Apache License, Version 2.0 (the "License");
5   you may not use this file except in compliance with the License.
6   You may obtain a copy of the License at
7   
8       http://www.apache.org/licenses/LICENSE-2.0
9   
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15  */
16  
17  package com.healthmarketscience.jackcess.impl;
18  
19  /**
20   * Codes for page types
21   * @author Tim McCune
22   */
23  public interface PageTypes {
24    
25    /** invalid page type */
26    public static final byte INVALID = (byte)0x00;
27    /** Data page */
28    public static final byte DATA = (byte)0x01;
29    /** Table definition page */
30    public static final byte TABLE_DEF = (byte)0x02;
31    /** intermediate index page pointing to other index pages */
32    public static final byte INDEX_NODE = (byte)0x03;
33    /** leaf index page containing actual entries */
34    public static final byte INDEX_LEAF = (byte)0x04;
35    /** Table usage map page */
36    public static final byte USAGE_MAP = (byte)0x05;
37    
38  }