public class DecimalValueDriver extends Object implements ParquetValueDriver
ParquetValueDriver for decimals.| Constructor and Description |
|---|
DecimalValueDriver(int precision,
int scale)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ValueConverter |
getConverter()
Returns a new
ValueConverter. |
parquet.schema.Type |
getType(String name)
Returns a parquet data type for this driver.
|
ValueWriter |
getWriter()
Returns a
ValueWriter. |
public DecimalValueDriver(int precision,
int scale)
precision - the precisionscale - the scalepublic parquet.schema.Type getType(String name)
ParquetValueDrivergetType in interface ParquetValueDrivername - the field namepublic ValueConverter getConverter()
ParquetValueDriverValueConverter.getConverter in interface ParquetValueDriverpublic ValueWriter getWriter()
ParquetValueDriverValueWriter.getWriter in interface ParquetValueDriverCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.