object AddressResolver
- Alphabetic
- By Inheritance
- AddressResolver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
builldMongoDbConnectionUrl(nodes: List[String], subprotocol: String, username: String, password: String, connectionProps: Option[String]): String
Builds a MongoDB connection URL with the specified parameters.
Builds a MongoDB connection URL with the specified parameters.
- nodes
The MongoDB nodes.
- subprotocol
The MongoDB subprotocol.
- username
The username for authentication.
- password
The password for authentication.
- connectionProps
Additional connection properties.
- returns
The MongoDB connection URL.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAbsolutePath(info: AddressInfo): String
Gets the absolute path from the AddressInfo.
Gets the absolute path from the AddressInfo.
- info
The AddressInfo.
- returns
The absolute path.
- Exceptions thrown
io.dataos.spark.exceptions.FlareInvalidConfigException
if the depot type is unsupported.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getInstance(depotServiceClient: DepotServiceClient): AddressResolver
private val depotServiceClient = new DepotServiceClient.Builder().apikey(EnvUtils.getUserApiKey) .url(EnvUtils.getDepotServiceUrl) .userAgent("spark-sdk") .build()
private val depotServiceClient = new DepotServiceClient.Builder().apikey(EnvUtils.getUserApiKey) .url(EnvUtils.getDepotServiceUrl) .userAgent("spark-sdk") .build()
AddressResolver.getInstance(depotServiceClient);
- depotServiceClient
Depot service client
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toQueryParams(props: Map[String, String]): Option[String]
Adds query parameters to the MongoDB connection URL.
Adds query parameters to the MongoDB connection URL.
- props
KeyValue Props
- returns
Query string
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()