@@ -63,15 +63,15 @@ public RediSearchTableHandle(Type type, SchemaTableName schemaTableName) {
6363 public RediSearchTableHandle (@ JsonProperty ("type" ) Type type ,
6464 @ JsonProperty ("schemaTableName" ) SchemaTableName schemaTableName ,
6565 @ JsonProperty ("constraint" ) TupleDomain <ColumnHandle > constraint , @ JsonProperty ("limit" ) OptionalLong limit ,
66- @ JsonProperty ("aggTerms" ) List <RediSearchAggregationTerm > aggregationTerms ,
67- @ JsonProperty ("aggregates" ) List <RediSearchAggregation > aggregates ,
66+ @ JsonProperty ("aggTerms" ) List <RediSearchAggregationTerm > termAggregations ,
67+ @ JsonProperty ("aggregates" ) List <RediSearchAggregation > metricAggregations ,
6868 @ JsonProperty ("wildcards" ) Map <String , String > wildcards ) {
6969 this .type = requireNonNull (type , "type is null" );
7070 this .schemaTableName = requireNonNull (schemaTableName , "schemaTableName is null" );
7171 this .constraint = requireNonNull (constraint , "constraint is null" );
7272 this .limit = requireNonNull (limit , "limit is null" );
73- this .aggregationTerms = requireNonNull (aggregationTerms , "aggTerms is null" );
74- this .aggregations = requireNonNull (aggregates , "aggregates is null" );
73+ this .aggregationTerms = requireNonNull (termAggregations , "aggTerms is null" );
74+ this .aggregations = requireNonNull (metricAggregations , "aggregates is null" );
7575 this .wildcards = requireNonNull (wildcards , "wildcards is null" );
7676 }
7777
@@ -96,12 +96,12 @@ public OptionalLong getLimit() {
9696 }
9797
9898 @ JsonProperty
99- public List <RediSearchAggregationTerm > getAggregationTerms () {
99+ public List <RediSearchAggregationTerm > getTermAggregations () {
100100 return aggregationTerms ;
101101 }
102102
103103 @ JsonProperty
104- public List <RediSearchAggregation > getAggregations () {
104+ public List <RediSearchAggregation > getMetricAggregations () {
105105 return aggregations ;
106106 }
107107
0 commit comments