public class LimitedStringValueDriver extends Object implements ParquetValueDriver
ParquetValueDriver
for character strings with its length limit.Constructor and Description |
---|
LimitedStringValueDriver(int length)
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 LimitedStringValueDriver(int length)
length
- the limit length (in Unicode)public 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.