Class

com.redislabs.provider.redis

RedisEndpoint

Related Doc: package redis

Permalink

case class RedisEndpoint(host: String = Protocol.DEFAULT_HOST, port: Int = Protocol.DEFAULT_PORT, auth: String = null, dbNum: Int = Protocol.DEFAULT_DATABASE, timeout: Int = Protocol.DEFAULT_TIMEOUT) extends Serializable with Product

RedisEndpoint represents a redis connection endpoint info: host, port, auth password db number, and timeout

host

the redis host or ip

port

the redis port

auth

the authentication password

dbNum

database number (should be avoided in general)

Linear Supertypes
Product, Equals, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisEndpoint
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisEndpoint(uri: String)

    Permalink

    Constructor with Jedis URI from String

    Constructor with Jedis URI from String

    uri

    connection URI in the form of redis://:$password@$host:$port/[dbnum]

  2. new RedisEndpoint(uri: URI)

    Permalink

    Constructor with Jedis URI

    Constructor with Jedis URI

    uri

    connection URI in the form of redis://:$password@$host:$port/[dbnum]

  3. new RedisEndpoint(conf: SparkConf)

    Permalink

    Constructor from spark config.

    Constructor from spark config. set params with redis.host, redis.port, redis.auth and redis.db

    conf

    spark context config

  4. new RedisEndpoint(host: String = Protocol.DEFAULT_HOST, port: Int = Protocol.DEFAULT_PORT, auth: String = null, dbNum: Int = Protocol.DEFAULT_DATABASE, timeout: Int = Protocol.DEFAULT_TIMEOUT)

    Permalink

    host

    the redis host or ip

    port

    the redis port

    auth

    the authentication password

    dbNum

    database number (should be avoided in general)

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. val auth: String

    Permalink

    the authentication password

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def connect(): Jedis

    Permalink

    Connect tries to open a connection to the redis endpoint, optionally authenticating and selecting a db

    Connect tries to open a connection to the redis endpoint, optionally authenticating and selecting a db

    returns

    a new Jedis instance

  8. val dbNum: Int

    Permalink

    database number (should be avoided in general)

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val host: String

    Permalink

    the redis host or ip

  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 port: Int

    Permalink

    the redis port

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

    Permalink
    Definition Classes
    AnyRef
  19. val timeout: Int

    Permalink
  20. final def wait(): Unit

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

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

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

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped