Trait

com.sksamuel.elastic4s.testkit

ElasticSugar

Related Doc: package testkit

Permalink

trait ElasticSugar extends ElasticNodeBuilder

Linear Supertypes
ElasticNodeBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ElasticSugar
  2. ElasticNodeBuilder
  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. 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
    ElasticNodeBuilder
  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
    ElasticNodeBuilder
  18. def disableDynamicScripting: Boolean

    Permalink
    Definition Classes
    ElasticNodeBuilder
  19. def ensureIndexExists(index: String): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def homeDir: File

    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. Note: if you override the settings method then you should specify the home in there and this method would not be used.

    Definition Classes
    ElasticNodeBuilder
  26. def httpEnabled: Boolean

    Permalink
    Definition Classes
    ElasticNodeBuilder
  27. def indexRefresh: FiniteDuration

    Permalink
    Definition Classes
    ElasticNodeBuilder
  28. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def numberOfReplicas: Int

    Permalink
    Definition Classes
    ElasticNodeBuilder
  33. def numberOfShards: Int

    Permalink
    Definition Classes
    ElasticNodeBuilder
  34. def refresh(indexes: String*): Unit

    Permalink
  35. 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
    ElasticNodeBuilder
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def tempDirectoryPath: String

    Permalink
    Definition Classes
    ElasticNodeBuilder
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

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

Inherited from ElasticNodeBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped