@Immutable public class FieldMapping extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldMapping.MappingType
The supported Mapping Types, which control how an entity field maps to
columns in an HBase table.
|
Modifier and Type | Method and Description |
---|---|
static FieldMapping |
column(String name,
String family,
String qualifier) |
static FieldMapping |
counter(String name,
String family,
String qualifier) |
boolean |
equals(Object obj) |
byte[] |
getFamily() |
String |
getFamilyAsString() |
String |
getFieldName() |
FieldMapping.MappingType |
getMappingType() |
String |
getPrefix() |
byte[] |
getQualifier() |
String |
getQualifierAsString() |
int |
hashCode() |
static FieldMapping |
key(String name) |
static FieldMapping |
keyAsColumn(String name,
String family) |
static FieldMapping |
keyAsColumn(String name,
String family,
String qualifierPrefix) |
static FieldMapping |
occ(String name) |
String |
toString() |
static FieldMapping |
version(String name) |
public static FieldMapping key(String name)
public static FieldMapping column(String name, String family, String qualifier)
public static FieldMapping keyAsColumn(String name, String family)
public static FieldMapping keyAsColumn(String name, String family, @Nullable String qualifierPrefix)
public static FieldMapping counter(String name, String family, String qualifier)
public static FieldMapping occ(String name)
public static FieldMapping version(String name)
public String getFieldName()
public FieldMapping.MappingType getMappingType()
public String getPrefix()
public byte[] getFamily()
public String getFamilyAsString()
public byte[] getQualifier()
public String getQualifierAsString()
Copyright © 2013–2014. All rights reserved.