diff --git a/server/pom.xml b/server/pom.xml index 3e8e57e1f46..a841bb58178 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -20,223 +20,228 @@ - 4.0.0 - io.druid - druid-server - druid-server - Druid Server - - + 4.0.0 io.druid - druid - 0.7.0-SNAPSHOT - + druid-server + druid-server + Druid Server - - - io.druid - druid-processing - ${project.parent.version} - - - com.metamx - http-client - - - com.metamx - server-metrics - - - commons-cli - commons-cli - - - commons-lang - commons-lang - - - javax.inject - javax.inject - - - org.glassfish - javax.el - - - com.amazonaws - aws-java-sdk - - - org.apache.curator - curator-framework - - - org.apache.curator - curator-x-discovery - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-smile-provider - - - com.fasterxml.jackson.dataformat - jackson-dataformat-smile - - - com.sun.jersey - jersey-server - - - com.sun.jersey - jersey-core - - - com.google.inject.extensions - guice-servlet - - - com.sun.jersey.contribs - jersey-guice - - - org.eclipse.jetty - jetty-server - - - org.eclipse.jetty - jetty-proxy - - - com.google.code.findbugs - jsr305 - - - io.tesla.aether - tesla-aether - - - org.eclipse.aether - aether-api - - - org.antlr - antlr4-runtime - - - net.spy - spymemcached - - - net.jpountz.lz4 - lz4 - - - org.eclipse.jetty - jetty-servlet - - - org.eclipse.jetty - jetty-servlets - - - com.ircclouds.irc - irc-api - - - com.maxmind.geoip2 - geoip2 - - - org.apache.derby - derby - 10.11.1.1 - - - org.apache.derby - derbynet - - - org.apache.derby - derbyclient - + + io.druid + druid + 0.7.0-SNAPSHOT + - - - junit - junit - test - - - org.easymock - easymock - test - - - io.druid - druid-processing - ${project.parent.version} - test-jar - test - - - org.apache.curator - curator-test - test - - - com.google.caliper - caliper - test - - + + + io.druid + druid-processing + ${project.parent.version} + + + com.metamx + http-client + + + com.metamx + server-metrics + + + commons-cli + commons-cli + + + commons-lang + commons-lang + + + javax.inject + javax.inject + + + org.glassfish + javax.el + + + com.amazonaws + aws-java-sdk + + + org.apache.curator + curator-framework + + + org.apache.curator + curator-x-discovery + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-json-provider + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-smile-provider + + + com.fasterxml.jackson.dataformat + jackson-dataformat-smile + + + com.sun.jersey + jersey-server + + + com.sun.jersey + jersey-core + + + com.google.inject.extensions + guice-servlet + + + com.sun.jersey.contribs + jersey-guice + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-proxy + + + com.google.code.findbugs + jsr305 + + + io.tesla.aether + tesla-aether + + + org.eclipse.aether + aether-api + + + org.antlr + antlr4-runtime + + + net.spy + spymemcached + + + net.jpountz.lz4 + lz4 + + + org.eclipse.jetty + jetty-servlet + + + org.eclipse.jetty + jetty-servlets + + + com.ircclouds.irc + irc-api + + + com.maxmind.geoip2 + geoip2 + + + org.apache.derby + derby + 10.11.1.1 + + + org.apache.derby + derbynet + + + org.apache.derby + derbyclient + - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - - - - maven-jar-plugin - - - - test-jar - - - - - - - true - true - - - - - - org.antlr - antlr4-maven-plugin - - - - antlr4 - - - - - - + + + junit + junit + test + + + com.carrotsearch + junit-benchmarks + test + + + org.easymock + easymock + test + + + io.druid + druid-processing + ${project.parent.version} + test-jar + test + + + org.apache.curator + curator-test + test + + + com.google.caliper + caliper + test + + + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + maven-jar-plugin + + + + test-jar + + + + + + + true + true + + + + + + org.antlr + antlr4-maven-plugin + + + + antlr4 + + + + + + diff --git a/server/src/main/java/io/druid/segment/indexing/granularity/GranularitySpec.java b/server/src/main/java/io/druid/segment/indexing/granularity/GranularitySpec.java index 87be565af71..730077e8c44 100644 --- a/server/src/main/java/io/druid/segment/indexing/granularity/GranularitySpec.java +++ b/server/src/main/java/io/druid/segment/indexing/granularity/GranularitySpec.java @@ -35,7 +35,8 @@ import java.util.SortedSet; */ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = UniformGranularitySpec.class) @JsonSubTypes(value = { - @JsonSubTypes.Type(name = "uniform", value = UniformGranularitySpec.class) + @JsonSubTypes.Type(name = "uniform", value = UniformGranularitySpec.class), + @JsonSubTypes.Type(name = "arbitrary", value = ArbitraryGranularitySpec.class) }) public interface GranularitySpec {