1,feature_tags变量:从图中我们可以看到是string类型的数据。
2,tags变量:是获取feature_tags的值。
3,tag数组变量:string类型数据以逗号分隔放到数组里面
4,list集合:Arrays.asList(tag)(数组转换为集合)
在这里插入图片描述
数组转换成集合:Arrays.asList(数组变量名)
集合转换成数组:集合变量名.toArray();

Logo

大数据从业者之家,一起探索大数据的无限可能!

更多推荐