@InterfaceAudience.Public @InterfaceStability.Evolving public class BigDecimalSplitter extends Object implements DBSplitter
| コンストラクタと説明 |
|---|
BigDecimalSplitter() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
protected BigDecimal |
tryDivide(BigDecimal numerator,
BigDecimal denominator)
Divide numerator by denominator.
|
public BigDecimalSplitter()
public List<InputSplit> split(Configuration conf, ResultSet results, String colName) throws SQLException
DBSplittersplit インタフェース内 DBSplitterSQLExceptionprotected BigDecimal tryDivide(BigDecimal numerator, BigDecimal denominator)
Copyright © 2016 Apache Software Foundation. All rights reserved.