diff --git a/api/src/main/java/io/druid/data/input/impl/CSVParseSpec.java b/api/src/main/java/io/druid/data/input/impl/CSVParseSpec.java index a4b09a2010a..36a6b670fb7 100644 --- a/api/src/main/java/io/druid/data/input/impl/CSVParseSpec.java +++ b/api/src/main/java/io/druid/data/input/impl/CSVParseSpec.java @@ -68,6 +68,17 @@ public class CSVParseSpec extends ParseSpec } } + @Deprecated + public CSVParseSpec( + TimestampSpec timestampSpec, + DimensionsSpec dimensionsSpec, + String listDelimiter, + List columns + ) + { + this(timestampSpec, dimensionsSpec, listDelimiter, columns, false, 0); + } + @JsonProperty public String getListDelimiter() { diff --git a/api/src/main/java/io/druid/data/input/impl/DelimitedParseSpec.java b/api/src/main/java/io/druid/data/input/impl/DelimitedParseSpec.java index c3383eb351c..4facbca3e01 100644 --- a/api/src/main/java/io/druid/data/input/impl/DelimitedParseSpec.java +++ b/api/src/main/java/io/druid/data/input/impl/DelimitedParseSpec.java @@ -71,6 +71,18 @@ public class DelimitedParseSpec extends ParseSpec } } + @Deprecated + public DelimitedParseSpec( + TimestampSpec timestampSpec, + DimensionsSpec dimensionsSpec, + String delimiter, + String listDelimiter, + List columns + ) + { + this(timestampSpec, dimensionsSpec, delimiter, listDelimiter, columns, false, 0); + } + @JsonProperty("delimiter") public String getDelimiter() {