Class/Object

com.sumologic.elasticsearch.restlastic

RestlasticSearchClient

Related Docs: object RestlasticSearchClient | package restlastic

Permalink

abstract class RestlasticSearchClient extends ScrollClient

Linear Supertypes
ScrollClient, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RestlasticSearchClient
  2. ScrollClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RestlasticSearchClient(endpointProvider: EndpointProvider, signer: Option[RequestSigner], indexExecutionCtx: ExecutionContext, searchExecutionCtx: ExecutionContext)(implicit system: ActorSystem = ActorSystem(), timeout: Timeout = Timeout(30 seconds))

    Permalink

Abstract Value Members

  1. abstract def addScript(scriptId: String, scriptSource: dsl.Dsl.ScriptSource): Future[AddScriptResponse]

    Permalink
  2. abstract def createIndex(index: dsl.Dsl.Index, settings: Option[dsl.Dsl.IndexSetting] = None): Future[RawJsonResponse]

    Permalink
  3. abstract def defaultContentType(): ContentType

    Permalink
  4. abstract def deleteByQuery(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, waitForCompletion: Boolean, proceedOnConflicts: Boolean, refreshAfterDeletion: Boolean, useAutoSlices: Boolean): Future[RawJsonResponse]

    Permalink
  5. abstract def deleteByQuery(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, waitForCompletion: Boolean, proceedOnConflicts: Boolean, refreshAfterDeletion: Boolean, useAutoSlices: Boolean): Future[RawJsonResponse]

    Permalink
  6. abstract def deleteScript(scriptId: String, lang: String = ""): Future[Boolean]

    Permalink
  7. abstract def getScript(scriptId: String, lang: String = ""): Future[ScriptResponse]

    Permalink
  8. abstract def runRawEsRequest(op: String, endpoint: String, method: HttpMethod, query: Query, contentType: ContentType)(implicit ec: ExecutionContext): Future[RawJsonResponse]

    Permalink
  9. abstract def scroll(scrollId: ScrollId, resultWindowOpt: Option[String] = None): Future[(ScrollId, SearchResponse)]

    Permalink
    Definition Classes
    RestlasticSearchClientScrollClient
  10. abstract def scrollDelete(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, scrollId: ScrollId, acc: Map[dsl.Dsl.Index, DeleteResponse], scrollingFn: (ScrollId) ⇒ Future[(ScrollId, SearchResponse)]): Future[Map[dsl.Dsl.Index, DeleteResponse]]

    Permalink
    Attributes
    protected
  11. abstract def startScrollRequestIndices(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, resultWindowOpt: Option[String] = None, fromOpt: Option[Int] = None, sizeOpt: Option[Int] = None, preference: Option[String] = None): Future[(ScrollId, SearchResponse)]

    Permalink
    Definition Classes
    ScrollClient
  12. abstract def version: EsVersion

    Permalink

Concrete 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 bucketAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[BucketAggregationResultBody]

    Permalink
  6. def bucketNestedAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[BucketNested]

    Permalink
  7. def buildUri(path: String, query: Query = Uri.Query.Empty): Uri

    Permalink
    Attributes
    protected
  8. def bulkDelete(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, documents: Seq[dsl.Dsl.Document]): Future[Seq[BulkItem]]

    Permalink
  9. def bulkIndex(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, documents: Seq[dsl.Dsl.Document]): Future[Seq[BulkItem]]

    Permalink
  10. def bulkIndex(bulk: dsl.Dsl.Bulk): Future[Seq[BulkItem]]

    Permalink
  11. def bulkUpdate(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, documents: Seq[dsl.Dsl.Document], retryOnConflictOpt: Option[Int] = None): Future[Seq[BulkItem]]

    Permalink
  12. def cardinalityAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[CardinalityValue]

    Permalink
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def count(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot): Future[Int]

    Permalink
  15. def count(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot): Future[Int]

    Permalink
  16. val defaultResultWindow: String

    Permalink
    Definition Classes
    ScrollClient
  17. def deleteById(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, id: String): Future[DeleteResponse]

    Permalink
  18. def deleteDocuments(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, deleteQuery: dsl.Dsl.QueryRoot, pluginEnabled: Boolean = false): Future[Map[dsl.Dsl.Index, DeleteResponse]]

    Permalink
  19. def deleteIndex(index: dsl.Dsl.Index): Future[RawJsonResponse]

    Permalink
  20. def documentExistsById(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, id: String): Future[Boolean]

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def flush(index: dsl.Dsl.Index): Future[RawJsonResponse]

    Permalink
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def getMapping(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type): Future[RawJsonResponse]

    Permalink
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. def index(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, doc: dsl.Dsl.Document): Future[IndexResponse]

    Permalink
  29. val indexExecutionCtx: ExecutionContext

    Permalink
    Definition Classes
    RestlasticSearchClientScrollClient
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. val logger: Logger

    Permalink
    Attributes
    protected
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def putMapping(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, mapping: dsl.Dsl.Mapping): Future[RawJsonResponse]

    Permalink
  36. def query(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.RootObject, rawJsonStr: Boolean = true, uriQuery: Query = Uri.Query.Empty, profile: Boolean = false): Future[SearchResponse]

    Permalink
  37. def queryIndices(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.RootObject, rawJsonStr: Boolean = true, uriQuery: Query = Uri.Query.Empty, profile: Boolean = false): Future[SearchResponse]

    Permalink
  38. def ready: Boolean

    Permalink
  39. def refresh(indices: Seq[dsl.Dsl.Index]): Future[RawJsonResponse]

    Permalink
  40. def refresh(index: dsl.Dsl.Index): Future[RawJsonResponse]

    Permalink
  41. def runEsCommand(op: dsl.Dsl.RootObject, endpoint: String, method: HttpMethod = HttpMethods.POST, query: Query = Uri.Query.Empty, profile: Boolean = false)(implicit ec: ExecutionContext): Future[RawJsonResponse]

    Permalink
    Attributes
    protected
  42. def runRawEsRequest(op: String, endpoint: String, method: HttpMethod, query: Query, request: HttpRequest)(implicit ec: ExecutionContext): Future[RawJsonResponse]

    Permalink
    Attributes
    protected
  43. def runRawEsRequest(op: String, endpoint: String, method: HttpMethod, query: Query, contentSubType: String)(implicit ec: ExecutionContext): Future[RawJsonResponse]

    Permalink
  44. def runRawEsRequest(op: String, endpoint: String, method: HttpMethod = HttpMethods.POST, query: Query = Uri.Query.Empty)(implicit ec: ExecutionContext = ExecutionContext.Implicits.global): Future[RawJsonResponse]

    Permalink
  45. def sampleAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[BucketAggregationResultBody]

    Permalink
  46. def startScrollRequest(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, resultWindowOpt: Option[String], fromOpt: Option[Int], sizeOpt: Option[Int], preference: Option[String], params: Map[String, String]): Future[(ScrollId, SearchResponse)]

    Permalink
    Attributes
    protected
  47. def startScrollRequest(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, resultWindowOpt: Option[String] = None, fromOpt: Option[Int] = None, sizeOpt: Option[Int] = None, preference: Option[String] = None): Future[(ScrollId, SearchResponse)]

    Permalink
    Definition Classes
    ScrollClient
  48. def suggest(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.SuggestRoot): Future[Map[String, List[String]]]

    Permalink
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. implicit val system: ActorSystem

    Permalink
  51. implicit val timeout: Timeout

    Permalink
  52. def toString(): String

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

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

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

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

Deprecated Value Members

  1. def deleteDocument(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, deleteQuery: dsl.Dsl.QueryRoot, pluginEnabled: Boolean = false): Future[RawJsonResponse]

    Permalink
    Annotations
    @deprecated
    Deprecated

    When plugin is not enabled this function doesn't handle pagination, so it deletes only first page of query results. Replaced by deleteDocuments.

Inherited from ScrollClient

Inherited from AnyRef

Inherited from Any

Ungrouped