- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Gson g =
new Gson()
GsonBuilder gsonBuilder;gsonBuilder.create()
new GsonBuilder().create()
- Smart code suggestions by Codota
}
public static int getBatchSize(Map<String, Object> conf) { return getAs( BATCH_SIZE_CONF ,conf , 1 , Integer.class ); }
public static String getIndex(Map<String, Object> conf, String sensorName) { return getAs( INDEX_CONF ,conf , sensorName , String.class ); }
public static int getBatchTimeout(Map<String, Object> conf) { return getAs( BATCH_TIMEOUT_CONF ,conf , 0 , Integer.class ); }
public static boolean isEnabled(Map<String, Object> conf) { return getAs( ENABLED_CONF ,conf , true , Boolean.class ); }
public static String getOutputPathFunction(Map<String, Object> conf, String sensorName) { return getAs(OUTPUT_PATH_FUNCTION_CONF ,conf , "" , String.class ); }
public static String getFieldNameConverter(Map<String, Object> conf, String sensorName) { return getAs(FIELD_NAME_CONVERTER_CONF, conf, "", String.class); }