public abstract static class ETypeConverter.BinaryConverter<T extends org.apache.hadoop.io.Writable>
extends parquet.io.api.PrimitiveConverter
Modifier and Type | Field and Description |
---|---|
protected parquet.schema.PrimitiveType |
type |
Constructor and Description |
---|
ETypeConverter.BinaryConverter(parquet.schema.PrimitiveType type,
org.apache.hadoop.hive.ql.io.parquet.convert.ConverterParent parent,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
addBinary(parquet.io.api.Binary value) |
void |
addValueFromDictionary(int dictionaryId) |
protected abstract T |
convert(parquet.io.api.Binary binary) |
boolean |
hasDictionarySupport() |
void |
setDictionary(parquet.column.Dictionary dictionary) |
public ETypeConverter.BinaryConverter(parquet.schema.PrimitiveType type, org.apache.hadoop.hive.ql.io.parquet.convert.ConverterParent parent, int index)
protected abstract T convert(parquet.io.api.Binary binary)
public boolean hasDictionarySupport()
hasDictionarySupport
in class parquet.io.api.PrimitiveConverter
public void setDictionary(parquet.column.Dictionary dictionary)
setDictionary
in class parquet.io.api.PrimitiveConverter
public void addValueFromDictionary(int dictionaryId)
addValueFromDictionary
in class parquet.io.api.PrimitiveConverter
public void addBinary(parquet.io.api.Binary value)
addBinary
in class parquet.io.api.PrimitiveConverter
Copyright © 2017 The Apache Software Foundation. All rights reserved.