@@ -63,15 +63,15 @@ public RediSearchTableHandle(Type type, SchemaTableName schemaTableName) {
63
63
public RediSearchTableHandle (@ JsonProperty ("type" ) Type type ,
64
64
@ JsonProperty ("schemaTableName" ) SchemaTableName schemaTableName ,
65
65
@ 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 ,
68
68
@ JsonProperty ("wildcards" ) Map <String , String > wildcards ) {
69
69
this .type = requireNonNull (type , "type is null" );
70
70
this .schemaTableName = requireNonNull (schemaTableName , "schemaTableName is null" );
71
71
this .constraint = requireNonNull (constraint , "constraint is null" );
72
72
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" );
75
75
this .wildcards = requireNonNull (wildcards , "wildcards is null" );
76
76
}
77
77
@@ -96,12 +96,12 @@ public OptionalLong getLimit() {
96
96
}
97
97
98
98
@ JsonProperty
99
- public List <RediSearchAggregationTerm > getAggregationTerms () {
99
+ public List <RediSearchAggregationTerm > getTermAggregations () {
100
100
return aggregationTerms ;
101
101
}
102
102
103
103
@ JsonProperty
104
- public List <RediSearchAggregation > getAggregations () {
104
+ public List <RediSearchAggregation > getMetricAggregations () {
105
105
return aggregations ;
106
106
}
107
107
0 commit comments