public abstract class ColumnMapping extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
columnName |
protected String |
columnType |
protected ColumnEncoding |
encoding |
protected String |
mappingSpec |
Modifier | Constructor and Description |
---|---|
protected |
ColumnMapping(String mappingSpec,
ColumnEncoding encoding,
String columnName,
String columnType) |
protected |
ColumnMapping(String mappingSpec,
ColumnEncoding encoding,
String columnName,
TypeInfo columnType) |
Modifier and Type | Method and Description |
---|---|
String |
getColumnName()
The name of the Hive column this is mapping
|
String |
getColumnType()
The @{link TypeInfo} of the Hive column this is mapping
|
ColumnEncoding |
getEncoding()
The manner in which the value is encoded in Accumulo
|
String |
getMappingSpec()
The property defining how this Column is mapped into Accumulo
|
protected final String mappingSpec
protected final ColumnEncoding encoding
protected final String columnName
protected final String columnType
protected ColumnMapping(String mappingSpec, ColumnEncoding encoding, String columnName, String columnType)
protected ColumnMapping(String mappingSpec, ColumnEncoding encoding, String columnName, TypeInfo columnType)
public String getMappingSpec()
public ColumnEncoding getEncoding()
public String getColumnName()
public String getColumnType()
Copyright © 2017 The Apache Software Foundation. All rights reserved.