Object/Trait

com.ubirch.util.elasticsearch.client.binary.storage

ESSimpleStorage

Related Docs: trait ESSimpleStorage | package storage

Permalink

object ESSimpleStorage extends ESSimpleStorage

Linear Supertypes
ESSimpleStorage, ESStorageBase, StrictLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ESSimpleStorage
  2. ESSimpleStorage
  3. ESStorageBase
  4. StrictLogging
  5. Logging
  6. AnyRef
  7. 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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def deleteDoc(docIndex: String, docType: String, docId: String): Future[Boolean]

    Permalink

    removes a document from it's index

    removes a document from it's index

    docIndex

    name of the index

    docType

    name of the doc type

    docId

    unique id

    Definition Classes
    ESStorageBase
  7. implicit val ec: ExecutionContext

    Permalink
    Definition Classes
    ESStorageBase
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. val esClient: TransportClient

    Permalink
    Attributes
    protected
    Definition Classes
    ESSimpleStorageESStorageBase
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. implicit val formats: Formats

    Permalink
    Definition Classes
    ESStorageBase
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getCurrentEsClient: TransportClient

    Permalink

    returns current ElasticSearch Transport Client instance

    returns current ElasticSearch Transport Client instance

    returns

    esClient as TransportClient

    Definition Classes
    ESStorageBase
  15. def getDoc(docIndex: String, docType: String, docId: String): Future[Option[JValue]]

    Permalink

    docIndex

    name of the ElasticSearch index

    docType

    name of the type of document

    docId

    unique Id per Document

    Definition Classes
    ESStorageBase
  16. def getDocs(docIndex: String, docType: String, query: Option[QueryBuilder] = None, from: Option[Int] = None, size: Option[Int] = None, sort: Option[SortBuilder[_]] = None): Future[List[JValue]]

    Permalink

    docIndex

    name of the ElasticSearch index

    docType

    name of the type of document

    query

    search query as created with org.elasticsearch.index.query.QueryBuilders

    from

    pagination from

    size

    maximum number of results

    sort

    optional result sort

    Definition Classes
    ESStorageBase
  17. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  19. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def storeDoc(docIndex: String, docType: String, doc: JValue, ttl: Long = 0l, docIdOpt: Option[String] = None, timestamp: Option[String] = None): Future[JValue]

    Permalink

    docIndex

    name of the index into which the current document should be stored

    docType

    name of the current documents type

    doc

    document as a JValue which should be stored

    ttl

    sets the relative ttl value in milliseconds, a value of 0 means no ttl

    docIdOpt

    unique id which identifies current document uniquely inside the index

    timestamp

    name of timestamp attribute

    Definition Classes
    ESStorageBase
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from ESSimpleStorage

Inherited from ESStorageBase

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped