Class FloatSplitter
java.lang.Object
org.apache.hadoop.mapreduce.lib.db.FloatSplitter
- All Implemented Interfaces:
DBSplitter
Implement DBSplitter over floating-point values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsplit(Configuration conf, ResultSet results, 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.
-
Constructor Details
-
FloatSplitter
public FloatSplitter()
-
-
Method Details
-
split
public List<InputSplit> split(Configuration conf, ResultSet results, String colName) throws SQLException Description copied from interface:DBSplitterGiven 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:
splitin interfaceDBSplitter- Throws:
SQLException
-