public HBaseCell deserialize()

in hbase-endpoint/src/main/java/com/amazonaws/hbase/serde/HBaseCellDeserializer.java [34:55]


	public HBaseCell deserialize(JsonParser p, DeserializationContext ctxt)
			throws IOException, JsonProcessingException {
		
		HBaseCell cell = new HBaseCell();
		
		final JsonNode jsonNode = p.getCodec().readTree(p);
		byte[] qualifier = jsonNode.get("qualifier").binaryValue();
		byte[] value = jsonNode.get("value").binaryValue();
		byte[] family = jsonNode.get("family").binaryValue();
		byte[] row = jsonNode.get("row").binaryValue();
		String type = jsonNode.get("type").asText();
		long timestamp = jsonNode.get("timeStamp").asLong();
		
		cell.setFamily(family);
		cell.setQualifier(qualifier);
		cell.setRow(row);
		cell.setTimeStamp(timestamp);
		cell.setType(type);
		cell.setValue(value);
		
		return cell;
	}