Skip to content

Commit

Permalink
Fix javadoc error on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zhicwu committed Apr 16, 2022
1 parent 822673d commit 67ff035
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ public ClickHouseByteBuffer reverse() {
/**
* Reverses the byte array.
*
* @param offset start position
* @param length bytes to reserve
* @return this byte buffer
*/
public ClickHouseByteBuffer reverse(int offset, int length) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public static List<String> match(String part) {
/**
* Checks if any alias uses the given prefix.
*
* @param prefix prefix to check
* @return true if any alias using the given prefix; false otherwise
*/
public static boolean mayStartWith(String prefix) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ public ClickHouseException(int code, String message, ClickHouseNode server) {

/**
* Gets error code.
*
* @return error code
*/
public int getErrorCode() {
return errorCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* Extended input stream for read optimization. Methods like
* {@link #readBuffer(int)}, {@link #readByte()}, {@link #readBytes(int)}, and
* {@link #readCustom(ClickHouseDataReader)} are added to reduce object
* {@link #readCustom(ClickHouseDataUpdater)} are added to reduce object
* creation as well as closing the stream when it reaches end of stream. This
* class is also responsible for creating various input stream as needed.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public static class Statistics implements Serializable {
/**
* Default constructor.
*
* @param rows The total number of output rows
* @param blocks
* @param allocated_bytes
* @param applied_limit
* @param rows_before_limit The minimal number of rows there would have been
* @param rows total number of output rows
* @param blocks total number of blocks
* @param allocated_bytes allocated bytes
* @param applied_limit whether limit was applied or not
* @param rows_before_limit minimal number of rows there would have been
* without LIMIT
*/
public Statistics(long rows, long blocks, long allocated_bytes, boolean applied_limit, long rows_before_limit) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static ClickHouseResponse of(ClickHouseConfig config, List<ClickHouseColu
* @param config non-null config
* @param columns list of columns
* @param values raw values, which may or may not be null
* @param summary response summary
* @return response object
*/
public static ClickHouseResponse of(ClickHouseConfig config, List<ClickHouseColumn> columns, Object[][] values,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ protected void ensureOpen() throws IOException {
* Update inner buffer as needed.
*
* @return remaining bytes in buffer
* @throws IOException when failed to update buffer
*/
protected abstract int updateBuffer() throws IOException;

Expand Down

0 comments on commit 67ff035

Please sign in to comment.