core/src/main/java/org/apache/carbondata/core/metadata/schema/table/CarbonTable.java
/**
   * whether this table has aggregation DataMap or not
   */
whether this table has aggregation DataMap or not
whether this table has aggregation DataMap or not
public boolean hasAggregationDataMap() {
    List<DataMapSchema> dataMapSchemaList = tableInfo.getDataMapSchemaList();
    if (dataMapSchemaList != null && !dataMapSchemaList.isEmpty()) {
      for (DataMapSchema dataMapSchema : dataMapSchemaList) {
        if (dataMapSchema instanceof AggregationDataMapSchema) {
          return true;
        }
      }
    }
    return false;
  }
public boolean hasAggregationDataMap ( ) { List < DataMapSchema > dataMapSchemaList = tableInfo . getDataMapSchemaList ( ) ; if ( dataMapSchemaList != null && ! dataMapSchemaList . isEmpty ( ) ) { for ( DataMapSchema dataMapSchema : dataMapSchemaList ) { if ( dataMapSchema instanceof AggregationDataMapSchema ) { return true ; } } } return false ; }
whether this table has aggregation DataMap or not
whether this table has aggregation DataMap or not