public Map<String, POJOFieldSerializer> getFieldSerializers(Class<?> clazz, TableSchema schema) {
        // TODO: instead of storing a query list of columns should be stored and it will work both for read and write
        return serializers.getOrDefault(clazz, Collections.emptyMap())
                .getOrDefault(schema.getTableName() == null? schema.getQuery() : schema.getTableName(), Collections.emptyMap());
    }
This class glues serialization staff together
client-v2/src/main/java/com/clickhouse/client/api/serde/POJOSerDe.java