public enum StringValueDrivers extends Enum<StringValueDrivers> implements ParquetValueDriver
ValueOption
and string (binary)
.Modifier and Type | Method and Description |
---|---|
static ParquetValueDriver |
find(Class<?> valueClass)
Returns a
ParquetValueDriver for the specified type. |
org.apache.parquet.schema.Type |
getType(String name)
Returns a parquet data type for this driver.
|
static StringValueDrivers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringValueDrivers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getConverter, getWriter
public static final StringValueDrivers DECIMAL
public static final StringValueDrivers DATE
public static final StringValueDrivers DATETIME
public static StringValueDrivers[] values()
for (StringValueDrivers c : StringValueDrivers.values()) System.out.println(c);
public static StringValueDrivers valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.apache.parquet.schema.Type getType(String name)
ParquetValueDriver
getType
in interface ParquetValueDriver
name
- the field namepublic static ParquetValueDriver find(Class<?> valueClass)
ParquetValueDriver
for the specified type.valueClass
- the ValueOption
typeParquetValueDriver
, or null
if it is not foundCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.