public final class AggregationDistinctQueryMetaData extends Object
| 构造器和说明 |
|---|
AggregationDistinctQueryMetaData(Collection<AggregationDistinctSelectItem> aggregationDistinctSelectItems,
com.google.common.collect.Multimap<String,Integer> columnLabelAndIndexMap) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAggregationDistinctColumnIndex(int derivedSumIndex)
Get aggregation distinct column index.
|
int |
getAggregationDistinctColumnIndex(String aggregationDistinctColumnLabel)
Get aggregation distinct column index.
|
Collection<Integer> |
getAggregationDistinctColumnIndexes()
Get aggregation distinct column indexes.
|
String |
getAggregationDistinctColumnLabel(int aggregationDistinctColumnIndex)
Get aggregation distinct column label.
|
Collection<String> |
getAggregationDistinctColumnLabels()
Get aggregation distinct column labels.
|
AggregationType |
getAggregationType(int distinctColumnIndex)
Get aggregation type.
|
Collection<Integer> |
getDerivedCountColumnIndexes()
Get derived count column indexes.
|
Collection<Integer> |
getDerivedSumColumnIndexes()
Get derived sum column indexes.
|
public AggregationDistinctQueryMetaData(Collection<AggregationDistinctSelectItem> aggregationDistinctSelectItems, com.google.common.collect.Multimap<String,Integer> columnLabelAndIndexMap)
public Collection<Integer> getAggregationDistinctColumnIndexes()
public Collection<String> getAggregationDistinctColumnLabels()
public AggregationType getAggregationType(int distinctColumnIndex)
distinctColumnIndex - distinct column indexpublic Collection<Integer> getDerivedCountColumnIndexes()
public Collection<Integer> getDerivedSumColumnIndexes()
public int getAggregationDistinctColumnIndex(String aggregationDistinctColumnLabel)
aggregationDistinctColumnLabel - aggregation distinct column labelpublic int getAggregationDistinctColumnIndex(int derivedSumIndex)
derivedSumIndex - derived sum indexpublic String getAggregationDistinctColumnLabel(int aggregationDistinctColumnIndex)
aggregationDistinctColumnIndex - aggregation distinct column indexCopyright © 2019. All rights reserved.