From 4b7ab2328953a95361840abfd2169828c70a6b8c Mon Sep 17 00:00:00 2001 From: Charles Allen Date: Fri, 14 Nov 2014 13:03:48 -0800 Subject: [PATCH] Remove getIntervalString from BySegmentResultValue --- .../src/main/java/io/druid/query/BySegmentResultValue.java | 2 -- .../main/java/io/druid/query/BySegmentResultValueClass.java | 6 ------ .../io/druid/query/search/BySegmentSearchResultValue.java | 6 ------ .../java/io/druid/query/topn/BySegmentTopNResultValue.java | 6 ------ 4 files changed, 20 deletions(-) diff --git a/processing/src/main/java/io/druid/query/BySegmentResultValue.java b/processing/src/main/java/io/druid/query/BySegmentResultValue.java index 890ecc2d4ed..fdc27d9c652 100644 --- a/processing/src/main/java/io/druid/query/BySegmentResultValue.java +++ b/processing/src/main/java/io/druid/query/BySegmentResultValue.java @@ -31,7 +31,5 @@ public interface BySegmentResultValue public String getSegmentId(); - public String getIntervalString(); - public Interval getInterval(); } diff --git a/processing/src/main/java/io/druid/query/BySegmentResultValueClass.java b/processing/src/main/java/io/druid/query/BySegmentResultValueClass.java index c67d8253ece..0d779733e66 100644 --- a/processing/src/main/java/io/druid/query/BySegmentResultValueClass.java +++ b/processing/src/main/java/io/druid/query/BySegmentResultValueClass.java @@ -57,12 +57,6 @@ public class BySegmentResultValueClass implements BySegmentResultValue return segmentId; } - @Override - public String getIntervalString() - { - return interval.toString(); - } - @Override @JsonProperty("interval") public Interval getInterval() diff --git a/processing/src/main/java/io/druid/query/search/BySegmentSearchResultValue.java b/processing/src/main/java/io/druid/query/search/BySegmentSearchResultValue.java index 9d83c22e02a..c77b25f19bd 100644 --- a/processing/src/main/java/io/druid/query/search/BySegmentSearchResultValue.java +++ b/processing/src/main/java/io/druid/query/search/BySegmentSearchResultValue.java @@ -71,12 +71,6 @@ public class BySegmentSearchResultValue extends SearchResultValue return segmentId; } - @Override - public String getIntervalString() - { - return interval.toString(); - } - @Override @JsonProperty("interval") public Interval getInterval() diff --git a/processing/src/main/java/io/druid/query/topn/BySegmentTopNResultValue.java b/processing/src/main/java/io/druid/query/topn/BySegmentTopNResultValue.java index a4b79f0c0b0..009676eb8f9 100644 --- a/processing/src/main/java/io/druid/query/topn/BySegmentTopNResultValue.java +++ b/processing/src/main/java/io/druid/query/topn/BySegmentTopNResultValue.java @@ -73,12 +73,6 @@ public class BySegmentTopNResultValue extends TopNResultValue implements BySegme return segmentId; } - @Override - public String getIntervalString() - { - return interval.toString(); - } - @Override @JsonProperty("interval") public Interval getInterval()