StarTreeRecordStoreDefaultImpl implements StarTreeRecordStore { @Override public Set<String> getDimensionValues(String dimensionName) { return dimensionValues.get(dimensionName); } StarTreeRecordStoreDefaultImpl(StarTreeConfig config,
                                        DimensionStore dimensionStore,
                                        MetricStore metricStore); @Override void update(StarTreeRecord record); @Override Iterator<StarTreeRecord> iterator(); @Override void clear(); @Override void open(); @Override void close(); @Override int getRecordCount(); @Override int getRecordCountEstimate(); @Override int getCardinality(String dimensionName); @Override String getMaxCardinalityDimension(); @Override String getMaxCardinalityDimension(Collection<String> blacklist); @Override Set<String> getDimensionValues(String dimensionName); @Override Number[] getMetricSums(StarTreeQuery query); @Override Long getMinTime(); @Override Long getMaxTime(); @Override Map<TimeRange, Integer> getTimeRangeCount(); @Override MetricTimeSeries getTimeSeries(StarTreeQuery query); @Override Map<String, Map<String, Integer>> getForwardIndex();  }
@Test public void testGetDimensionValues() { Assert.assertEquals(recordStore.getDimensionValues("A"), new HashSet<String>(Arrays.asList("A0", "A1", "A2"))); }