Skip to content

Commit 21fe84c

Browse files
committed
Removed unused methods
1 parent c8426de commit 21fe84c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

client-v2/src/main/java/com/clickhouse/client/api/metadata/TableSchema.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,6 @@ public String getQuery() {
6969
return query;
7070
}
7171

72-
public void addColumn(String name, String type) {
73-
addColumn(name, type, "");
74-
}
75-
76-
private void addColumn(String name, String type, String defaultType) {
77-
ClickHouseColumn column = ClickHouseColumn.of(name, type);
78-
if (defaultType.toUpperCase().contains("DEFAULT")) {
79-
hasDefaults = true;
80-
column.setHasDefault(true);
81-
}
82-
columns.add(column);
83-
colIndex.put(name, columns.size() - 1);
84-
}
85-
8672
public ClickHouseColumn getColumnByName(String name) {
8773
return columns.get(nameToIndex(name));
8874
}

0 commit comments

Comments
 (0)