Package org.kairosdb.client.deserializer

Examples of org.kairosdb.client.deserializer.ResultsDeserializer


    this.url = checkNotNullOrEmpty(url);
    new URL(url); // validate url

    GsonBuilder builder = new GsonBuilder();
    builder.registerTypeAdapter(GroupResult.class, new GroupByDeserializer());
    builder.registerTypeAdapter(Results.class, new ResultsDeserializer(this));
    mapper = builder.create();

    customGroupTypes.put("number", Number.class);
    customGroupTypes.put("text", String.class);
  }
View Full Code Here

TOP

Related Classes of org.kairosdb.client.deserializer.ResultsDeserializer

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.