Package me.prettyprint.cassandra.serializers

Examples of me.prettyprint.cassandra.serializers.DynamicCompositeSerializer


      dcolKey.addComponent(timeDimension, StringSerializer.get());
      dcolKey.addComponent(time, LongSerializer.get());
      m.addCounter(rowKey + ":" + columnKey + ":COUNTS",
          CountandraUtils.countandraCF, HFactory
              .createCounterColumn(dcolKey, (long) 1,
                  new DynamicCompositeSerializer()));

      m.addCounter(rowKey + ":" + columnKey + ":SUMS",
          CountandraUtils.countandraCF, HFactory.createCounterColumn(
              dcolKey, (long) value,
              new DynamicCompositeSerializer()));

      m.addCounter(
          rowKey + ":" + columnKey + ":SQUARES",
          CountandraUtils.countandraCF,
          HFactory.createCounterColumn(dcolKey, (long) value
              * (long) value, new DynamicCompositeSerializer()));


      // System.out.println("after execute insert");

    } catch (Exception e) {
View Full Code Here

TOP

Related Classes of me.prettyprint.cassandra.serializers.DynamicCompositeSerializer

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.