Github user xubo245 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2274#discussion_r189756081
  
    --- Diff: docs/sdk-writer-guide.md ---
    @@ -334,6 +342,39 @@ public Schema(Field[] fields);
     public static Schema parseJson(String json);
     ```
     
    +### Class org.apache.carbondata.core.util.CarbonProperties
    +
    +```
    +/**
    +* This method will be responsible to get the instance of CarbonProperties 
class
    +*
    +* @return carbon properties instance
    +*/
    +public static CarbonProperties getInstance();
    +```
    +
    +```
    +/**
    +* This method will be used to add a new property
    +*
    +* @param key
    +* @return CarbonProperties object
    +*/
    +public CarbonProperties addProperty(String key, String value);
    +```
    +
    +```
    +/**
    +* This method will be used to get the property value. If property is not
    +* present, then it will return the default value.
    +*
    +* @param key
    +* @return properties value
    --- End diff --
    
    Please add @param defaultValue and related describe.


---

Reply via email to