more cleanup

This commit is contained in:
fjy 2014-08-20 13:22:42 -07:00
parent bb73b2556e
commit d64879ccca
2 changed files with 2 additions and 14 deletions

View File

@ -30,6 +30,7 @@ import java.util.List;
*
* Adjust to JsonCreator and final fields when resolved.
*/
@Deprecated
public class DataRollupSpec
{
@JsonProperty
@ -38,21 +39,8 @@ public class DataRollupSpec
@JsonProperty
public QueryGranularity rollupGranularity = QueryGranularity.NONE;
public DataRollupSpec() {}
public DataRollupSpec(List<AggregatorFactory> aggs, QueryGranularity rollupGranularity)
{
this.aggs = aggs;
this.rollupGranularity = rollupGranularity;
}
public List<AggregatorFactory> getAggs()
{
return aggs;
}
public QueryGranularity getRollupGranularity()
{
return rollupGranularity;
}
}

View File

@ -369,7 +369,7 @@ public class TaskSerdeTest
true,
null,
false,
new DataRollupSpec(ImmutableList.<AggregatorFactory>of(), QueryGranularity.NONE),
null,
null,
false,
ImmutableMap.of("foo", "bar"),