Trait

com.sksamuel.elastic4s.testkit

ElasticSugar

Related Doc: package testkit

Permalink

trait ElasticSugar extends NodeBuilder

Linear Supertypes
NodeBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ElasticSugar
  2. NodeBuilder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 blockUntil(explain: String)(predicate: () ⇒ Boolean): Unit

    Permalink
  6. def blockUntilCount(expected: Long, index: String, types: String*): Unit

    Permalink

    Will block until the given index and optional types have at least the given number of documents.

  7. def blockUntilDocumentExists(id: String, index: String, type: String): Unit

    Permalink
  8. def blockUntilDocumentHasVersion(index: String, type: String, id: String, version: Long): Unit

    Permalink
  9. def blockUntilEmpty(index: String): Unit

    Permalink
  10. def blockUntilExactCount(expected: Long, index: String, types: String*): Unit

    Permalink
  11. def blockUntilGreen(): Unit

    Permalink
  12. def blockUntilIndexExists(index: String): Unit

    Permalink
  13. def blockUntilIndexNotExists(index: String): Unit

    Permalink
  14. implicit def client: ElasticClient

    Permalink

    Is invoked when a test needs access to a client for the test node.

    Is invoked when a test needs access to a client for the test node. Can override this if you wish to control precisely how the client is created.

  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def configureSettings(builder: Builder): Builder

    Permalink

    Invoked by the sugar trait to setup the settings builder that was created by settings()

    Invoked by the sugar trait to setup the settings builder that was created by settings()

    Definition Classes
    NodeBuilder
  17. def createLocalClient: ElasticClient

    Permalink

    Invoked to create a local client for the elastic node.

    Invoked to create a local client for the elastic node. Override to create the client youself.

    Definition Classes
    NodeBuilder
  18. def ensureIndexExists(index: String): Unit

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def httpEnabled: Boolean

    Permalink
    Definition Classes
    NodeBuilder
  25. def indexRefresh: FiniteDuration

    Permalink
    Definition Classes
    NodeBuilder
  26. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def numberOfReplicas: Int

    Permalink
    Definition Classes
    NodeBuilder
  31. def numberOfShards: Int

    Permalink
    Definition Classes
    NodeBuilder
  32. def refresh(indexes: String*): Future[RefreshResponse]

    Permalink
  33. def settings: Builder

    Permalink

    Override this if you wish to control all the settings used by the client.

    Override this if you wish to control all the settings used by the client.

    Attributes
    protected
    Definition Classes
    NodeBuilder
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. lazy val tempDirectoryPath: Path

    Permalink
    Definition Classes
    NodeBuilder
  36. lazy val testNodeConfPath: Path

    Permalink
    Definition Classes
    NodeBuilder
  37. lazy val testNodeHomePath: Path

    Permalink

    Override this if you wish to change where the home directory for the local instance will be located.

    Override this if you wish to change where the home directory for the local instance will be located.

    Definition Classes
    NodeBuilder
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def truncateIndex(index: String): Unit

    Permalink
  40. final def wait(): Unit

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

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

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

Inherited from NodeBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped