com.microsoft.azure.cosmosdb.spark.util
DSL helper for enclosing some functionality into a closeable type. Helper will be responsible of closing the object. i.e.:
import java.io._ val writer = new PrintWriter(new File("test.txt" )) using(writer){ w => w.append("hi!") }
DSL helper for enclosing some functionality into a closeable type. Helper will be responsible of closing the object. i.e.: