Skip to content

Commit bbfd280

Browse files
committed
cleanup and added more tests
1 parent 9b8cf35 commit bbfd280

7 files changed

Lines changed: 2652 additions & 2291 deletions

File tree

client-v2/src/main/java/com/clickhouse/client/api/data_formats/ClickHouseBinaryFormatReader.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public interface ClickHouseBinaryFormatReader extends AutoCloseable {
307307
* @param colName - column name
308308
* @return array of objects, or {@code null} if the value is null
309309
*/
310-
<T> T getObjectArray(String colName);
310+
Object[] getObjectArray(String colName);
311311

312312
/**
313313
* Reads column with name `colName` as a string.
@@ -572,12 +572,11 @@ public interface ClickHouseBinaryFormatReader extends AutoCloseable {
572572
* Nested arrays are recursively converted to {@code Object[]}.
573573
* Note: result is not cached so avoid repetitive calls on same column.
574574
*
575-
* @param <T> - type of array like {@code Object[], Integer[][]}
576575
* @param index - column index (1-based)
577576
* @return array of objects, or {@code null} if the value is null
578577
* @throws com.clickhouse.client.api.ClientException if the column is not an array type
579578
*/
580-
<T> T getObjectArray(int index);
579+
Object[] getObjectArray(int index);
581580

582581
Object[] getTuple(int index);
583582

0 commit comments

Comments
 (0)