Package org.kitesdk.data.FieldMapping

Examples of org.kitesdk.data.FieldMapping.MappingType


   *          The HBase Result that represents a row in HBase.
   * @return The field Object we deserialized from the Result.
   */
  public Object deserialize(FieldMapping fieldMapping, Result result) {
    String fieldName = fieldMapping.getFieldName();
    MappingType mappingType = fieldMapping.getMappingType();
    if (mappingType == MappingType.COLUMN || mappingType == MappingType.COUNTER) {
      return deserializeColumn(fieldMapping.getFieldName(),
          fieldMapping.getFamily(), fieldMapping.getQualifier(), result);
    } else if (mappingType == MappingType.KEY_AS_COLUMN) {
      return deserializeKeyAsColumn(fieldMapping.getFieldName(),
View Full Code Here

TOP

Related Classes of org.kitesdk.data.FieldMapping.MappingType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.