Examples of ArbitraryGranularitySpec


Examples of io.druid.segment.indexing.granularity.ArbitraryGranularitySpec

        ),
        new AggregatorFactory[]{
            new DoubleSumAggregatorFactory("metric1", "col1"),
            new DoubleSumAggregatorFactory("metric2", "col2"),
        },
        new ArbitraryGranularitySpec(QueryGranularity.DAY, ImmutableList.of(Interval.parse("2014/2015")))
    );

    Assert.assertEquals(
        ImmutableSet.of("time", "col1", "col2"),
        schema.getParser().getParseSpec().getDimensionsSpec().getDimensionExclusions()
View Full Code Here

Examples of io.druid.segment.indexing.granularity.ArbitraryGranularitySpec

        ),
        new AggregatorFactory[]{
            new DoubleSumAggregatorFactory("metric1", "col1"),
            new DoubleSumAggregatorFactory("metric2", "col2"),
        },
        new ArbitraryGranularitySpec(QueryGranularity.DAY, ImmutableList.of(Interval.parse("2014/2015")))
    );

    Assert.assertEquals(
        ImmutableSet.of("dimC", "col1"),
        schema.getParser().getParseSpec().getDimensionsSpec().getDimensionExclusions()
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.