org.apache.hadoop.hive.ql.util.jdbm.recman
Class Provider
java.lang.Object
org.apache.hadoop.hive.ql.util.jdbm.recman.Provider
- All Implemented Interfaces:
- RecordManagerProvider
public final class Provider
- extends Object
- implements RecordManagerProvider
Provider of the default RecordManager implementation.
- Version:
- $Id: Provider.java,v 1.3 2005/06/25 23:12:32 doomdark Exp $
- Author:
- Alex Boisvert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Provider
public Provider()
createRecordManager
public RecordManager createRecordManager(String name,
Properties options)
throws IOException
- Create a default implementation record manager.
- Specified by:
createRecordManager
in interface RecordManagerProvider
- 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.
createRecordManager
public RecordManager createRecordManager(File file,
Properties options)
throws IOException
- Specified by:
createRecordManager
in interface RecordManagerProvider
- Throws:
IOException
Copyright © 2010 The Apache Software Foundation