io.prediction.data.storage.elasticsearch

ESItems

class ESItems extends Items with Logging

Elasticsearch implementation of Items.

Linear Supertypes
Logging, Items, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ESItems
  2. Logging
  3. Items
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ESItems(client: Client, index: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def countByAppid(appid: Int): Long

    count number of records by App ID

    count number of records by App ID

    Definition Classes
    ESItemsItems
  9. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  10. def debug(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  11. def delete(item: Item): Unit

    Delete an item.

    Delete an item.

    Definition Classes
    ESItemsItems
  12. def delete(appid: Int, id: String): Unit

    Delete an item.

    Delete an item.

    Definition Classes
    ESItemsItems
  13. def deleteByAppid(appid: Int): Unit

    Delete all items by App ID

    Delete all items by App ID

    Definition Classes
    ESItemsItems
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  16. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  17. def error(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  18. def finalize(): Unit

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

  20. def get(appid: Int, id: String): Option[Item]

    Get an item by ID.

    Get an item by ID.

    Definition Classes
    ESItemsItems
  21. def getByAppid(appid: Int): Iterator[Item]

    Find all items by App ID.

    Find all items by App ID.

    Definition Classes
    ESItemsItems
  22. def getByAppidAndItypes(appid: Int, itypes: Seq[String]): Iterator[Item]

    Find items by App ID which belong to one of the itypes.

    Find items by App ID which belong to one of the itypes.

    Definition Classes
    ESItemsItems
  23. def getByAppidAndItypesAndTime(appid: Int, optItypes: Option[Seq[String]] = None, optTime: Option[com.github.nscala_time.time.Imports.DateTime] = None): Iterator[Item]

    Find current items by App ID which belong to one of the itypes.

    Find current items by App ID which belong to one of the itypes.

    Definition Classes
    ESItemsItems
  24. def getByAppidAndLatlng(appid: Int, latlng: (Double, Double), within: Option[Double], unit: Option[String]): Iterator[Item]

    Find items by App ID sorted by geolocation distance.

    Find items by App ID sorted by geolocation distance.

    Definition Classes
    ESItemsItems
  25. def getByIds(appid: Int, ids: Seq[String]): Seq[Item]

    Get items by IDs.

    Get items by IDs. Items returned are not guaranteed to be in the same order as the input, as some IDs may not be valid.

    Definition Classes
    ESItemsItems
  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. def getRecentByIds(appid: Int, ids: Seq[String]): Seq[Item]

    Get items by IDs sorted by their start time in descending order.

    Get items by IDs sorted by their start time in descending order.

    Definition Classes
    ESItemsItems
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. val indexExistResponse: IndicesExistsResponse

  30. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  31. def info(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  32. def insert(item: Item): Unit

    Insert a new item.

    Insert a new item.

    Definition Classes
    ESItemsItems
  33. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  34. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  35. def isInfoEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  38. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  39. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  40. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  47. def trace(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  48. val typeExistResponse: TypesExistsResponse

  49. def update(item: Item): Unit

    Update an item.

    Update an item.

    Definition Classes
    ESItemsItems
  50. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  54. def warn(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from Items

Inherited from AnyRef

Inherited from Any

Ungrouped