Package io.druid.segment.indexing.granularity

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


        ),
        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

Related Classes of io.druid.segment.indexing.granularity.ArbitraryGranularitySpec

Copyright © 2018 www.massapicom. 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.