Class/Object

core3.database.dals.json

ElasticSearch

Related Docs: object ElasticSearch | package json

Permalink

class ElasticSearch extends DatabaseAbstractionLayerComponent

A Database Abstraction Layer for sending search data to ElasticSearch.

Notes: - Even if ES is deployed as a multi-node cluster, connections should be created for the local node. - If 'searchOnly' is set to false, full container data will be stored; great care must be taken when storing sensitive data. - If 'coexist' is set to true and:

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElasticSearch
  2. DatabaseAbstractionLayerComponent
  3. Component
  4. Actor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElasticSearch(containerCompanions: Map[ContainerType, JSONContainerCompanion], config: Config = ...)(implicit ec: ExecutionContext, timeout: Timeout)

    Permalink

    Creates a new instance with the supplied config or uses the default config location.

    Creates a new instance with the supplied config or uses the default config location.

    containerCompanions

    map with all registered container companion objects

    config

    the config to use (if specified; default path is 'server.static.database.elastic')

    returns

    the new instance

  2. new ElasticSearch(hostname: String, port: Int, clusterName: String, containerCompanions: Map[ContainerType, JSONContainerCompanion], searchOnly: Boolean, coexist: Boolean, refreshPolicy: RefreshPolicy)(implicit ec: ExecutionContext, timeout: Timeout)

    Permalink

    hostname

    the hostname for the ElasticSearch instance

    port

    the port for the instance

    clusterName

    the name of the ElasticSearch cluster

    containerCompanions

    map with all registered container companion objects

    searchOnly

    set to false to enable using ES as a data store, instead of just search

    coexist

    set to true to enable the use of ES as both data and search store

    refreshPolicy

    the refresh policy to use when making updates

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

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. def addReceiver(next: akka.actor.Actor.Receive): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  5. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def handle_BuildDatabaseStructure(objectsType: ContainerType): Future[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  18. def handle_ClearDatabaseStructure(objectsType: ContainerType): Future[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  19. def handle_CreateObject(container: Container): Future[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  20. def handle_DeleteObject(objectType: ContainerType, objectID: ObjectID): Future[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  21. def handle_ExecuteAction(action: String, params: Option[Map[String, Option[String]]]): Future[ActionResult]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchComponent
  22. def handle_GetCustomQueryResult(objectsType: ContainerType, customQueryName: String, queryParams: Map[String, String]): Future[ContainerSet]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  23. def handle_GetDatabaseIdentifier: String

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  24. def handle_GetGenericQueryResult(objectsType: ContainerType): Future[ContainerSet]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  25. def handle_GetLayerType: LayerType

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  26. def handle_GetObject(objectType: ContainerType, objectID: ObjectID): Future[Container]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  27. def handle_GetSupportedContainers: Vector[ContainerType]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  28. def handle_LoadView(view: ContainerView): Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    DatabaseAbstractionLayerComponent
  29. def handle_UpdateObject(container: MutableContainer): Future[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  30. def handle_VerifyDatabaseStructure(objectsType: ContainerType): Future[Boolean]

    Permalink
    Attributes
    protected
    Definition Classes
    ElasticSearchDatabaseAbstractionLayerComponent
  31. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def postStop(): Unit

    Permalink
    Definition Classes
    Component → Actor
  38. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  39. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  40. def receive: Receive

    Permalink
    Definition Classes
    Component → Actor
  41. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  42. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  43. def shutdown(): Unit

    Permalink
    Definition Classes
    ElasticSearchComponent
  44. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  48. final def wait(): Unit

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

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

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

Inherited from Component

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped