org.apache.hadoop.mapreduce.lib.db
Class BooleanSplitter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.lib.db.BooleanSplitter
All Implemented Interfaces:
DBSplitter

public class BooleanSplitter
extends java.lang.Object
implements DBSplitter

Implement DBSplitter over boolean values.


Constructor Summary
BooleanSplitter()
           
 
Method Summary
 java.util.List<InputSplit> split(org.apache.hadoop.conf.Configuration conf, java.sql.ResultSet results, java.lang.String colName)
          Given a ResultSet containing one record (and already advanced to that record) with two columns (a low value, and a high value, both of the same type), determine a set of splits that span the given values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanSplitter

public BooleanSplitter()
Method Detail

split

public java.util.List<InputSplit> split(org.apache.hadoop.conf.Configuration conf,
                                        java.sql.ResultSet results,
                                        java.lang.String colName)
                                 throws java.sql.SQLException
Description copied from interface: DBSplitter
Given a ResultSet containing one record (and already advanced to that record) with two columns (a low value, and a high value, both of the same type), determine a set of splits that span the given values.

Specified by:
split in interface DBSplitter
Throws:
java.sql.SQLException


Copyright © 2009 The Apache Software Foundation