com.stratio.provider.mongodb.MongodbSSLOptions.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-mongodb-core Show documentation
Show all versions of spark-mongodb-core Show documentation
A Spark SQl library for MongoDB
package com.stratio.provider.mongodb
import scala.language.implicitConversions
/**
* Case class with the SSL options.
*/
case class MongodbSSLOptions(
keyStore: Option[String] = None,
keyStorePassword: Option[String] = None,
trustStore: String,
trustStorePassword: Option[String] = None
)
object MongodbSSLOptions{
implicit def stringToOption(parameter : String): Option[String]= Some(parameter)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy