org.apache.hadoop.hive.ql.util.jdbm
Class RecordManagerFactory
java.lang.Object
org.apache.hadoop.hive.ql.util.jdbm.RecordManagerFactory
public final class RecordManagerFactory
- extends Object
This is the factory class to use for instantiating RecordManager
instances.
- Version:
- $Id: RecordManagerFactory.java,v 1.2 2005/06/25 23:12:31 doomdark Exp $
- Author:
- Alex Boisvert, Cees de Groot
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordManagerFactory
public RecordManagerFactory()
createRecordManager
public static RecordManager createRecordManager(String name)
throws IOException
- Create a record manager.
- Parameters:
name
- Name of the record file.
- Throws:
IOException
- if an I/O related exception occurs while creating
or opening the record manager.
UnsupportedOperationException
- if some options are not supported by the
implementation.
IllegalArgumentException
- if some options are invalid.
createRecordManager
public static RecordManager createRecordManager(String name,
Properties options)
throws IOException
- Create a record manager.
- Parameters:
name
- Name of the record file.options
- Record manager options.
- Throws:
IOException
- if an I/O related exception occurs while creating
or opening the record manager.
UnsupportedOperationException
- if some options are not supported by the
implementation.
IllegalArgumentException
- if some options are invalid.
Copyright © 2009 The Apache Software Foundation