class AddressResolver extends AnyRef
Utility object for resolving and handling different types of data addresses.
- Alphabetic
- By Inheritance
- AddressResolver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AddressResolver(depotServiceClient: DepotServiceClient)
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
bigqueryAddress(dataosAddress: String): BigqueryAddress
Resolves a DataOS address to a BigQuery address.
Resolves a DataOS address to a BigQuery address.
- dataosAddress
The DataOS address.
- returns
The BigQuery address.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val depotServiceClient: DepotServiceClient
-
def
elasticsearchAddress(dataosAddress: String): ElasticsearchAddress
Resolves a DataOS address to an Elasticsearch address.
Resolves a DataOS address to an Elasticsearch address.
- dataosAddress
The DataOS address.
- returns
The Elasticsearch address.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eventhubAddress(dataosAddress: String): EventHubAddress
Resolves a DataOS address to an EventHub address.
Resolves a DataOS address to an EventHub address.
- dataosAddress
The DataOS address.
- returns
The EventHub address.
-
def
fileOrDir(datasetAddress: String): String
Returns the file or directory path for a dataset address.
Returns the file or directory path for a dataset address.
- datasetAddress
The dataset address.
- returns
The file or directory path.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getIcebergCatalogType(info: AddressInfo): Option[String]
Retrieves the Iceberg catalog type for a depot address.
Retrieves the Iceberg catalog type for a depot address.
- info
The AddressInfo.
- returns
An optional string containing the Iceberg catalog type if present, None otherwise.
-
def
getMetastoreUriForDepot(info: AddressInfo): Option[String]
Retrieves the metastore URI for a depot address.
Retrieves the metastore URI for a depot address.
- info
The AddressInfo.
- returns
An optional string containing the metastore URI if present, None otherwise.
-
def
getSchemaPath(schema: Option[Schema]): Option[String]
Gets the schema path for a given optional schema path.
Gets the schema path for a given optional schema path.
- schema
The optional schema.
- returns
An optional string containing the schema path if provided, None otherwise.
-
def
getWarehousePathForDepot(depot: String): String
Retrieves the warehouse path for a depot address.
Retrieves the warehouse path for a depot address.
- depot
The depot address.
- returns
The absolute warehouse path.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jdbcAddress(dataosAddress: String): JdbcAddress
Resolves a DataOS address to a JDBC address.
Resolves a DataOS address to a JDBC address.
- dataosAddress
The DataOS address.
- returns
The JDBC address.
-
def
kafkaAddress(dataosAddress: String): KafkaAddress
Resolves a DataOS address to a Kafka address.
Resolves a DataOS address to a Kafka address.
- dataosAddress
The DataOS address.
- returns
The Kafka address.
-
def
mongoAddress(dataosAddress: String): MongoDbAddress
Resolves a DataOS address to a MongoDB address.
Resolves a DataOS address to a MongoDB address.
- dataosAddress
The DataOS address.
- returns
The MongoDB address.
-
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()
-
def
opensearchAddress(dataosAddress: String): OpensearchAddress
Resolves a DataOS address to an Opensearch address.
Resolves a DataOS address to an Opensearch address.
- dataosAddress
The DataOS address.
- returns
The Opensearch address.
-
def
pulsarAddress(dataosAddress: String): PulsarAddress
Resolves a DataOS address to a Pulsar address.
Resolves a DataOS address to a Pulsar address.
- dataosAddress
The DataOS address.
- returns
The Pulsar address.
-
def
redisAddress(dataosAddress: String): RedisAddress
Resolves a DataOS address to a Redis address.
Resolves a DataOS address to a Redis address.
- dataosAddress
The DataOS address.
- returns
The Redis address.
-
def
redshiftAddress(dataosAddress: String): RedshiftAddress
Resolves a DataOS address to a Redshift address.
Resolves a DataOS address to a Redshift address.
- dataosAddress
The DataOS address.
- returns
The Redshift address.
-
def
resolve(address: String): AddressInfo
Resolves an address using the depot service client.
Resolves an address using the depot service client.
- address
The address to resolve.
- returns
The resolved AddressInfo.
- Exceptions thrown
io.dataos.spark.exceptions.FlareException
if the resolution fails.
-
def
snowflakeAddress(dataosAddress: String): SnowflakeAddress
Resolves a DataOS address to a Snowflake address.
Resolves a DataOS address to a Snowflake address.
- dataosAddress
The DataOS address.
- returns
The Snowflake address.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()