Package

com.ryft.spark.connector

domain

Permalink

package domain

Provides classes to describe query data model.

Overview

Here are some essential enums and classes.

com.ryft.spark.connector.domain.LogicalOperator - Logical operators (and, or, xor) used by com.ryft.spark.connector.query.RyftQuery.

com.ryft.spark.connector.domain.Action - Represents action on RyftOne and corresponding REST endpoint. Currently supoprted Search and Count.

com.ryft.spark.connector.domain.RyftQueryOptions - And important class representing REST Search query parameters, like fuzziness, surrounding, list of fields and number of nodes to use for search.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. domain
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Action extends AnyRef

    Permalink

    Represents action on ryft and corresponding endpoint

  2. case class Check(node: String, checkId: String, name: String, status: String, notes: String, output: String, serviceId: String, serviceName: String) extends Product with Serializable

    Permalink
  3. case class ConsulKV(createIndex: Int, modifyIndex: Int, lockIndex: Int, key: String, flags: Int, value: Option[String]) extends Product with Serializable

    Permalink
  4. sealed trait InputSpecifier extends AnyRef

    Permalink
  5. sealed trait LogicalOperator extends AnyRef

    Permalink
  6. case class Node(node: String, address: String) extends Product with Serializable

    Permalink
  7. case class RDDCount(matches: Long) extends Product with Serializable

    Permalink
  8. sealed trait RelationalOperator extends AnyRef

    Permalink
  9. case class RyftData(file: String, offset: Long, length: Long, fuzziness: Byte, data: String) extends Product with Serializable

    Permalink

    Represents pojo Ryft REST returns

    Represents pojo Ryft REST returns

    file

    File where query was found

    offset

    Offset in bytes from the beginning of the source file

    length

    Length of the data found

    fuzziness

    Fuzziness of the data

    data

    Query with surrounding (if surrounding was specified)

  10. sealed trait RyftFormatMode extends AnyRef

    Permalink
  11. sealed trait RyftFuzzySearchMode extends AnyRef

    Permalink
  12. case class RyftPartition(endpoint: String, pattern: String, preferredLocations: Seq[String]) extends Product with Serializable

    Permalink

    Represents Ryft partition

    Represents Ryft partition

    endpoint

    Ryft REST endpoint

    pattern

    Regex pattern matches query for this partition

    preferredLocations

    Preferred spark workers

  13. case class RyftQueryOptions(files: List[String], surrounding: Option[Int] = None, fuzziness: Option[Byte] = None, mode: Option[RyftFuzzySearchMode] = None, fields: Option[List[String]] = None, ryftNodes: Option[Int] = None, format: Option[RyftFormatMode] = None, caseSensitive: Boolean = false) extends Product with Serializable

    Permalink

    Represents Meta information used for making request to Ryft

    Represents Meta information used for making request to Ryft

    files

    Files to search

    surrounding

    Width when generating results. For example, a value of 2 means that 2 characters before and after a search match will be included with data result

    fuzziness

    Specify the fuzzy search distance [0..255]

    mode

    Specify the fuzzy search mode

    fields

    Specify list of fields should be returned (Words For structured data only

    ryftNodes

    Specify number of ryft nodes to use for query

    format

    Specify the format of file

    caseSensitive

    Case sensitive flag.

  14. sealed trait RyftValueOperator extends AnyRef

    Permalink
  15. case class Service(id: String, service: String, tags: Seq[String], address: String, port: Int) extends Product with Serializable

    Permalink
  16. case class ServiceHealth(node: Node, service: Service, checks: Seq[Check]) extends Product with Serializable

    Permalink
  17. case class recordField(f: String) extends InputSpecifier with Product with Serializable

    Permalink

Value Members

  1. object ConsulKVProtocol extends DefaultJsonProtocol

    Permalink
  2. object Count extends Action with Product with Serializable

    Permalink
  3. object RDDCountProtocol extends DefaultJsonProtocol

    Permalink
  4. object RyftQueryOptions extends Serializable

    Permalink
  5. object Search extends Action with Product with Serializable

    Permalink
  6. object ServiceHealthProtocol extends DefaultJsonProtocol

    Permalink
  7. object and extends LogicalOperator with Product with Serializable

    Permalink
  8. object contains extends RelationalOperator with Product with Serializable

    Permalink
  9. object dtEqualTo extends RyftValueOperator with Product with Serializable

    Permalink
  10. object dtGreaterThen extends RyftValueOperator with Product with Serializable

    Permalink
  11. object dtGreaterThenOrEqualTo extends RyftValueOperator with Product with Serializable

    Permalink
  12. object dtLessThen extends RyftValueOperator with Product with Serializable

    Permalink
  13. object dtLessThenOrEqualTo extends RyftValueOperator with Product with Serializable

    Permalink
  14. object dtNotEqualTo extends RyftValueOperator with Product with Serializable

    Permalink
  15. object empty extends LogicalOperator with Product with Serializable

    Permalink
  16. object equalTo extends RelationalOperator with Product with Serializable

    Permalink
  17. object feds extends RyftFuzzySearchMode with Product with Serializable

    Permalink
  18. object fhs extends RyftFuzzySearchMode with Product with Serializable

    Permalink
  19. object json extends RyftFormatMode with Product with Serializable

    Permalink
  20. object notContains extends RelationalOperator with Product with Serializable

    Permalink
  21. object notEqualTo extends RelationalOperator with Product with Serializable

    Permalink
  22. object or extends LogicalOperator with Product with Serializable

    Permalink
  23. object raw extends RyftFormatMode with Product with Serializable

    Permalink
  24. object rawText extends InputSpecifier with Product with Serializable

    Permalink
  25. object record extends InputSpecifier with Product with Serializable

    Permalink
  26. object xml extends RyftFormatMode with Product with Serializable

    Permalink
  27. object xor extends LogicalOperator with Product with Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped