@InterfaceAudience.Public @InterfaceStability.Evolving public class DateSplitter extends IntegerSplitter
构造器和说明 |
---|
DateSplitter() |
限定符和类型 | 方法和说明 |
---|---|
protected String |
dateToString(Date d)
Given a Date 'd', format it as a string for use in a SQL date
comparison operation.
|
List<InputSplit> |
split(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.
|
public List<InputSplit> split(Configuration conf, ResultSet results, String colName) throws SQLException
DBSplitter
split
在接口中 DBSplitter
split
在类中 IntegerSplitter
SQLException
Copyright © 2009 The Apache Software Foundation