org.apache.hadoop.hive.ql.util.jdbm
Interface RecordManagerProvider

All Known Implementing Classes:
Provider

public interface RecordManagerProvider

Provider of RecordManager implementation. Classes implementing this interface act as a factory to provide implementations of RecordManager.

Version:
$Id: RecordManagerProvider.java,v 1.2 2005/06/25 23:12:31 doomdark Exp $
Author:
Alex Boisvert

Method Summary
 RecordManager createRecordManager(File file, Properties options)
           
 RecordManager createRecordManager(String filename, Properties options)
          Create a record manager.
 

Method Detail

createRecordManager

RecordManager createRecordManager(String filename,
                                  Properties options)
                                  throws IOException
Create a record manager.

Parameters:
filename - Base filename 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

RecordManager createRecordManager(File file,
                                  Properties options)
                                  throws IOException
Throws:
IOException


Copyright © 2010 The Apache Software Foundation