/** * Build hourly monthly table definitions. * * @param testDimensions Dimensions to load in the tables * @param metricNames The field name of metrics to build with * * @return the hourly monthly table definitions */ public static LinkedHashSet<PhysicalTableDefinition> buildHourlyMonthlyTableDefinitions( TestDimensions testDimensions, Set<FieldName> metricNames ) { return Stream.concat( buildHourlyTableDefinitions(testDimensions, metricNames).stream(), buildMonthlyTableDefinitions(testDimensions, metricNames).stream() ).collect(Collectors.toCollection(LinkedHashSet::new)); }
/** * Build hourly monthly table definitions. * * @param testDimensions Dimensions to load in the tables * @param metricNames The field name of metrics to build with * * @return the hourly monthly table definitions */ public static LinkedHashSet<PhysicalTableDefinition> buildHourlyMonthlyTableDefinitions( TestDimensions testDimensions, Set<FieldName> metricNames ) { return Stream.concat( buildHourlyTableDefinitions(testDimensions, metricNames).stream(), buildMonthlyTableDefinitions(testDimensions, metricNames).stream() ).collect(Collectors.toCollection(LinkedHashSet::new)); }
logicalTableTableDefinitions.put( TestLogicalTableName.MONTHLY, TestPhysicalTableDefinitionUtils.buildMonthlyTableDefinitions( testDimensions, TestDruidMetricName.getByLogicalTable(TestLogicalTableName.MONTHLY)
logicalTableTableDefinitions.put( TestLogicalTableName.MONTHLY, TestPhysicalTableDefinitionUtils.buildMonthlyTableDefinitions( testDimensions, TestDruidMetricName.getByLogicalTable(TestLogicalTableName.MONTHLY)