public class SqlAggregation extends Object
Constructor and Description |
---|
SqlAggregation(String fieldName,
org.apache.calcite.sql.SqlAggFunction sqlAggFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlAggFunction |
getSqlAggFunction()
Gets the sql aggregation to be used on the field.
|
String |
getSqlAggregationAsName()
Gets the alias name to be used for the aggregation (i.e.
|
String |
getSqlAggregationFieldName()
The field name to call the aggregation on (i.e.
|
public SqlAggregation(String fieldName, org.apache.calcite.sql.SqlAggFunction sqlAggFunction)
fieldName
- The name of the field being aggregated on.sqlAggFunction
- The sql aggregation to be done on the field.public String getSqlAggregationAsName()
public String getSqlAggregationFieldName()
public org.apache.calcite.sql.SqlAggFunction getSqlAggFunction()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.