Class

com.ibm.ibmos2spark

bluemix

Related Doc: package ibmos2spark

Permalink

class bluemix extends AnyRef

bluemix class sets up a swift connection between an IBM Spark service instance and an Object Storage instance provisioned through IBM Bluemix.

Constructor arguments:

sparkcontext: a SparkContext object.

credentials: a dictionary with the following required keys:

auth_url

project_id (or projectId)

user_id (or userId)

password

region

name: string that identifies this configuration. You can use any string you like. This allows you to create multiple configurations to different Object Storage accounts. This is not required at the moment, since credentials['name'] is still supported.

When using this from a IBM Spark service instance that is configured to connect to particular Bluemix object store instances, the values for these credentials can be obtained by clicking on the 'insert to code' link just below a data source.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. bluemix
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new bluemix(sc: SparkContext, name: String, creds: HashMap[String, String], swift2d_driver: String = ..., public: Boolean = false)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val hadoopConf: Configuration

    Permalink
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def ifexist(credsin: HashMap[String, String], var1: String, var2: String): String

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. val prefix: String

    Permalink
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. val tenant: String

    Permalink
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def url(container_name: String, object_name: String): String

    Permalink
  22. val username: String

    Permalink
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped