@Test public void assertGetKeys() { Map<String, Object> properties = new HashMap<>(); properties.put("property.1.key", "val1"); properties.put("property.2.key", "val1"); properties.put("property.3.key", "val1"); properties.put("property.4.key", "val1"); PinotConfiguration pinotConfiguration = new PinotConfiguration(properties); List<String> keys = pinotConfiguration.getKeys(); Assert.assertTrue(keys.contains("property.1.key")); Assert.assertTrue(keys.contains("property.2.key")); Assert.assertTrue(keys.contains("property.3.key")); Assert.assertTrue(keys.contains("property.4.key")); Assert.assertEquals(keys.size(), 4); }
public List<String> getKeys() { return CommonsConfigurationUtils.getKeys(configuration); }
PinotConfiguration { public List<String> getKeys() { return CommonsConfigurationUtils.getKeys(configuration); } }
PinotConfiguration { public List<String> getKeys() { return CommonsConfigurationUtils.getKeys(configuration); } PinotConfiguration();  PinotConfiguration(Configuration baseConfiguration);  PinotConfiguration(Map<String, Object> baseProperties);  PinotConfiguration(Map<String, Object> baseProperties, Map<String, String> environmentVariables);  PinotConfiguration(PinotFSSpec pinotFSSpec); }
PinotConfiguration { public List<String> getKeys() { return CommonsConfigurationUtils.getKeys(configuration); } PinotConfiguration();  PinotConfiguration(Configuration baseConfiguration);  PinotConfiguration(Map<String, Object> baseProperties);  PinotConfiguration(Map<String, Object> baseProperties, Map<String, String> environmentVariables);  PinotConfiguration(PinotFSSpec pinotFSSpec); void addProperty(String name, Object value); PinotConfiguration clone(); boolean containsKey(String key); List<String> getKeys(); String getProperty(String name); boolean getProperty(String name, boolean defaultValue); T getProperty(String name, Class<T> returnType); double getProperty(String name, double defaultValue); int getProperty(String name, int defaultValue); List<String> getProperty(String name, List<String> defaultValues); long getProperty(String name, long defaultValue); String getProperty(String name, String defaultValue); Object getRawProperty(String name); Object getRawProperty(String name, Object defaultValue); void setProperty(String name, Object value); PinotConfiguration subset(String prefix); Map<String, Object> toMap(); }
PinotConfiguration { public List<String> getKeys() { return CommonsConfigurationUtils.getKeys(configuration); } PinotConfiguration();  PinotConfiguration(Configuration baseConfiguration);  PinotConfiguration(Map<String, Object> baseProperties);  PinotConfiguration(Map<String, Object> baseProperties, Map<String, String> environmentVariables);  PinotConfiguration(PinotFSSpec pinotFSSpec); void addProperty(String name, Object value); PinotConfiguration clone(); boolean containsKey(String key); List<String> getKeys(); String getProperty(String name); boolean getProperty(String name, boolean defaultValue); T getProperty(String name, Class<T> returnType); double getProperty(String name, double defaultValue); int getProperty(String name, int defaultValue); List<String> getProperty(String name, List<String> defaultValues); long getProperty(String name, long defaultValue); String getProperty(String name, String defaultValue); Object getRawProperty(String name); Object getRawProperty(String name, Object defaultValue); void setProperty(String name, Object value); PinotConfiguration subset(String prefix); Map<String, Object> toMap(); static final String CONFIG_PATHS_KEY; }