Package com.google.gdata.data.analytics

Examples of com.google.gdata.data.analytics.Dimension


    for (int entryIndex = 0; entryIndex < numEntries; entryIndex++) {
      DataEntry entry = new DataEntry();

      // Add all dimensions.
      for (int dimensionIndex = 0; dimensionIndex < dimensions.length; dimensionIndex++) {
        Dimension dimension = new Dimension();
        dimension.setValue(dimensions[dimensionIndex][entryIndex]);
        if (dimensionNames != null) {
          dimension.setName(dimensionNames[dimensionIndex]);
        }
        entry.addDimension(dimension);
      }
      // Add all metrics.
      for (int metricIndex = 0; metricIndex < metrics.length; metricIndex++) {
View Full Code Here

TOP

Related Classes of com.google.gdata.data.analytics.Dimension

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.