org.apache.hadoop.hive.ql.util.jdbm.recman
Class PageHeader
java.lang.Object
org.apache.hadoop.hive.ql.util.jdbm.recman.PageHeader
- All Implemented Interfaces:
- BlockView
public class PageHeader
- extends Object
- implements BlockView
This class represents a page header. It is the common superclass for all
different page views.
Constructor Summary |
protected |
PageHeader(BlockIo block)
Constructs a PageHeader object from a block |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIZE
protected static final short SIZE
- See Also:
- Constant Field Values
block
protected BlockIo block
PageHeader
protected PageHeader(BlockIo block)
- Constructs a PageHeader object from a block
- Parameters:
block
- The block that contains the file header
- Throws:
IOException
- if the block is too short to keep the file header.
paranoiaMagicOk
protected void paranoiaMagicOk()
- For paranoia mode
Copyright © 2010 The Apache Software Foundation