Package com.google.visualization.datasource.query

Examples of com.google.visualization.datasource.query.AggregationType


     * @param originalColumnDescription The original column description.
     * @return A column description for the aggregation column.
     */
    /* package */ ColumnDescription createAggregationColumnDescription(
            ColumnDescription originalColumnDescription) {
        AggregationType aggregationType = aggregation.getAggregationType();
        String columnId = createIdPivotPrefix() + aggregation.getId();
        ValueType type = originalColumnDescription.getType();
        String aggregationLabelPart = aggregation.getAggregationType().getCode()
                + " " + originalColumnDescription.getLabel();
        String pivotLabelPart = createLabelPivotPart();
View Full Code Here


  }

// An atomic abstract column descriptor, i.e., the same as abstract column,
// except it does not include arithmetic expressions like: c1+c2/c3*(c4+c5).
  final public AbstractColumn atomicAbstractColumnDescriptor() throws ParseException, InvalidQueryException {
  AggregationType aggregationType;
  ScalarFunction scalarFunction;
  String columnId;
  AbstractColumn column;
  ArrayList columns = new ArrayList();
  AbstractColumn result = null;
View Full Code Here

    throw new Error("Missing return statement in function");
  }

// An aggregation function, e.g., "max", "avg", ...
  final public AggregationType aggregationFunction() throws ParseException {
  AggregationType result = null;
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case KW_MIN:
      jj_consume_token(KW_MIN);
                result = AggregationType.MIN;
      break;
View Full Code Here

   *
   * @return A column description for the aggregation column.
   */
  /* package */ ColumnDescription createAggregationColumnDescription(
      ColumnDescription originalColumnDescription) {
    AggregationType aggregationType = aggregation.getAggregationType();
    String columnId = createIdPivotPrefix() + aggregation.getId();
    ValueType type = originalColumnDescription.getType();
    String aggregationLabelPart = aggregation.getAggregationType().getCode()
        + " " + originalColumnDescription.getLabel();
    String pivotLabelPart = createLabelPivotPart();
View Full Code Here

TOP

Related Classes of com.google.visualization.datasource.query.AggregationType

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.