Class AggregationTest


  • public class AggregationTest
    extends java.lang.Object
    Testing Elasticsearch aggregation transformations.
    • Constructor Detail

      • AggregationTest

        public AggregationTest()
    • Method Detail

      • setupInstance

        public static void setupInstance()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • countStar

        public void countStar()
      • all

        public void all()
      • cat1

        public void cat1()
      • cat2

        public void cat2()
      • cat1Cat2

        public void cat1Cat2()
      • cat1Cat3

        public void cat1Cat3()
      • anyValue

        public void anyValue()
        Testing SqlKind.ANY_VALUE aggregate function
      • anyValueWithOtherAgg

        public void anyValueWithOtherAgg()
      • cat1Cat2Cat3

        public void cat1Cat2Cat3()
      • dateCat

        public void dateCat()
        Group by date data type.
      • integerCat

        public void integerCat()
        Group by number data type.
      • approximateCountDistinct

        public void approximateCountDistinct()
        Validate SqlStdOperatorTable.APPROX_COUNT_DISTINCT.
      • aggregationWithCast

        public void aggregationWithCast()
        select max(cast(_MAP['foo'] as integer)) from tbl