How to use Column.isin in Java?

Use stream method as follows:

df.filter(col("something").isin(selected.stream().toArray(String[]::new))))

Leave a Comment