Skip to content

Commit

Permalink
[opt]: fix java doc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stone1100 committed Apr 6, 2023
1 parent 8d67a41 commit 96c296e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/lindb/client/api/BaseQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public abstract class BaseQuery {

/**
* Create base query instance.
*
* @param url url
* @param client http client
*/
protected BaseQuery(String url, HttpClient client) {
this.url = url;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/lindb/client/api/DataQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public interface DataQuery {
* @return result set
* @throws Exception throws exception when query failure
*/
/**
*/
ResultSet dataQuery(String database, String ql) throws Exception;

/**
Expand All @@ -46,6 +48,7 @@ public interface DataQuery {
* Example:
* show fields from lindb.runtime.mem
*
* @param <T> result type
* @param database database name
* @param ql lin query language
* @return result set
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/lindb/client/api/DataQueryImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public class DataQueryImpl extends BaseQuery implements DataQuery {

/**
* Create data query instance.
*
* @param url url
* @param client http client
*/
public DataQueryImpl(String url, HttpClient client) {
super(url, client);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/lindb/client/api/MetadataManagerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public class MetadataManagerImpl implements MetadataManager {
/**
* Create metadata manager instance.
*
* @param url
* @param client
* @param url url
* @param client http client
*/
public MetadataManagerImpl(String url, HttpClient client) {
this.url = url;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/lindb/client/api/StateQueryImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public class StateQueryImpl extends BaseQuery implements StateQuery {

/**
* Create state query instance.
*
* @param url url
* @param client http client
*/
public StateQueryImpl(String url, HttpClient client) {
super(url, client);
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/io/lindb/client/util/JsonUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ public static String toString(Object object) throws Exception {
/**
* Json string to object
*
* @param json json string
* @param <T> Object type
* @param json json string
* @param <T> Object type
* @param clazz result class
* @return T object
* @throws Exception throws exception when fail
*/
Expand Down

0 comments on commit 96c296e

Please sign in to comment.