// Path: core/src/main/java/com/caseystella/analytics/converters/MappingConverter.java
// public interface MappingConverter extends Converter<Map<String, Object>, byte[]> {
// }
// 
// Path: core/src/main/java/com/caseystella/analytics/converters/TimestampConverter.java
// public interface TimestampConverter extends Converter<Long, Object>{
// }
// 
// Path: core/src/main/java/com/caseystella/analytics/converters/MeasurementConverter.java
// public interface MeasurementConverter extends Converter<Double, Object> {
// }


import com.caseystella.analytics.converters.MappingConverter;
import com.caseystella.analytics.converters.TimestampConverter;
import com.caseystella.analytics.converters.MeasurementConverter;
import com.google.common.base.Function;
import org.apache.hadoop.hbase.util.Bytes;
import java.util.HashMap;
import java.util.Map;
package com.caseystella.analytics.converters.primitive;



public class PrimitiveConverter {
    public static final String TYPE_CONF = "type";
    public static final String NAME_CONF = "name";
    public enum Type implements Function<byte[], Object> {
        DOUBLE(new Function<byte[], Object>() {
            @Override
            public Object apply(byte[] bytes) {
                return Bytes.toDouble(bytes);
            }
        })
        ,LONG(new Function<byte[], Object>() {
            @Override
            public Object apply(byte[] bytes) {
                return Bytes.toLong(bytes);
            }
        })
// Path: core/src/main/java/com/caseystella/analytics/converters/MappingConverter.java
// public interface MappingConverter extends Converter<Map<String, Object>, byte[]> {
// }
// 
// Path: core/src/main/java/com/caseystella/analytics/converters/TimestampConverter.java
// public interface TimestampConverter extends Converter<Long, Object>{
// }
// 
// Path: core/src/main/java/com/caseystella/analytics/converters/MeasurementConverter.java
// public interface MeasurementConverter extends Converter<Double, Object> {
// }


// Path: core/src/main/java/com/caseystella/analytics/converters/primitive/PrimitiveConverter.java
import com.caseystella.analytics.converters.MappingConverter;
import com.caseystella.analytics.converters.TimestampConverter;
import com.caseystella.analytics.converters.MeasurementConverter;
import com.google.common.base.Function;
import org.apache.hadoop.hbase.util.Bytes;
import java.util.HashMap;
import java.util.Map;

package com.caseystella.analytics.converters.primitive;



public class PrimitiveConverter {
    public static final String TYPE_CONF = "type";
    public static final String NAME_CONF = "name";
    public enum Type implements Function<byte[], Object> {
        DOUBLE(new Function<byte[], Object>() {
            @Override
            public Object apply(byte[] bytes) {
                return Bytes.toDouble(bytes);
            }
        })
        ,LONG(new Function<byte[], Object>() {
            @Override
            public Object apply(byte[] bytes) {
                return Bytes.toLong(bytes);
            }
        })
        ,INTEGER(new Function<byte[], Object>() {