public class HiveAccumuloMapColumnMapping extends ColumnMapping
Modifier and Type | Field and Description |
---|---|
protected String |
columnFamily |
protected String |
columnQualifierPrefix |
protected ColumnEncoding |
keyEncoding |
protected ColumnEncoding |
valueEncoding |
columnName, columnType, encoding, mappingSpec
Constructor and Description |
---|
HiveAccumuloMapColumnMapping(String columnFamily,
String columnQualifierPrefix,
ColumnEncoding keyEncoding,
ColumnEncoding valueEncoding,
String columnName,
String columnType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getColumnFamily() |
String |
getColumnQualifierPrefix() |
ColumnEncoding |
getKeyEncoding() |
ColumnEncoding |
getValueEncoding() |
int |
hashCode() |
String |
toString() |
getColumnName, getColumnType, getEncoding, getMappingSpec
protected final String columnFamily
protected final String columnQualifierPrefix
protected final ColumnEncoding keyEncoding
protected final ColumnEncoding valueEncoding
public HiveAccumuloMapColumnMapping(String columnFamily, String columnQualifierPrefix, ColumnEncoding keyEncoding, ColumnEncoding valueEncoding, String columnName, String columnType)
columnFamily
- The column family that all qualifiers within should be placed into the same Hive mapcolumnQualifierPrefix
- The column qualifier prefix to include in the map, null is treated as an empty prefixkeyEncoding
- The encoding scheme for keys in this column familyvalueEncoding
- The encoding scheme for the Accumulo valuespublic String getColumnFamily()
public String getColumnQualifierPrefix()
public ColumnEncoding getKeyEncoding()
public ColumnEncoding getValueEncoding()
Copyright © 2017 The Apache Software Foundation. All rights reserved.