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 . |
org.apache.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 org.apache.parquet.schema.Type getType(String name)
ParquetValueDriver
getType
in interface ParquetValueDriver
name
- the field namepublic ValueConverter getConverter()
ParquetValueDriver
ValueConverter
.getConverter
in interface ParquetValueDriver
public ValueWriter getWriter()
ParquetValueDriver
ValueWriter
.getWriter
in interface ParquetValueDriver
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.