You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PageTypes.java 1.2KB

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