Class/Object

com.mapr.db.spark

field

Related Docs: object field | package spark

Permalink

case class field(fieldPath: String) extends Product with Serializable

field class provides the functionality to represent the query conditions.

fieldPath

name of the field in MapRDB Table.

Example:
  1. An equality condition can be represented by field("a.c.d") === 10 Similarly a greater than condition can be represented by field("a.c.d") >= 10

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. field
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new field(fieldPath: String)

    Permalink

    fieldPath

    name of the field in MapRDB Table.

Value Members

  1. def !=(rhs: Map[String, Any]): Predicate

    Permalink

    Function to provide notequalsTo(!=) functionality for a field to a Map

    Function to provide notequalsTo(!=) functionality for a field to a Map

    rhs

    right hand side value of type Map[String, Any]

    Example:
    1. field("a.d.d") != Map("aa" -> value)

  2. def !=(rhs: Seq[Any]): Predicate

    Permalink

    Function to provide notequalsTo(!=) functionality for a field to a Sequence.

    Function to provide notequalsTo(!=) functionality for a field to a Sequence.

    rhs

    right hand side value of type Sequence

    Example:
    1. field("a.d.d") != Seq("aa",10)

  3. def !=[T](rhs: T)(implicit ev: quotes[T]): Predicate

    Permalink

    Function to provide notEqualsTo(!=) functionality for a field.

    Function to provide notEqualsTo(!=) functionality for a field.

    rhs

    right hand side value of type T

    Example:
    1. field("a.d.d") != 10

  4. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  6. def <[T](rhs: T)(implicit ev: quotes[T]): Predicate

    Permalink

    Function to provide lessThan(<) functionality for a field.

    Function to provide lessThan(<) functionality for a field.

    rhs

    right hand side value of type T

    Example:
    1. field("a.d.d") < 10

  7. def <=[T](rhs: T)(implicit ev: quotes[T]): Predicate

    Permalink

    Function to provide lessThan EqualsTo(<=) functionality for a field.

    Function to provide lessThan EqualsTo(<=) functionality for a field.

    rhs

    right hand side value of type T

    Example:
    1. field("a.d.d") <= 10

  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def ===(rhs: Map[String, Any]): Predicate

    Permalink

    Function to provide equalsTo(===) functionality for a field to a Map

    Function to provide equalsTo(===) functionality for a field to a Map

    rhs

    right hand side value of type Map[String, Any]

    Example:
    1. field("a.d.d") === Map("aa" -> value)

  10. def ===(rhs: Seq[Any]): Predicate

    Permalink

    Function to provide equalsTo(===) functionality for a field to a Sequence.

    Function to provide equalsTo(===) functionality for a field to a Sequence.

    rhs

    right hand side value of type Sequence

    Example:
    1. field("a.d.d") === Seq("aa",10)

  11. def ===[T](rhs: T)(implicit ev: quotes[T]): Predicate

    Permalink

    Function to provide equalsTo(===) functionality for a field.

    Function to provide equalsTo(===) functionality for a field.

    rhs

    right hand side value of type T

    Example:
    1. field("a.d.d") === 10

  12. def >[T](rhs: T)(implicit ev: quotes[T]): Predicate

    Permalink

    Function to provide greaterThan(>) functionality for a field.

    Function to provide greaterThan(>) functionality for a field.

    rhs

    right hand side value of type T

    Example:
    1. field("a.d.d") > 10

  13. def >=[T](rhs: T)(implicit ev: quotes[T]): Predicate

    Permalink

    Function to provide greaterThan EqualsTo(>=) functionality for a field.

    Function to provide greaterThan EqualsTo(>=) functionality for a field.

    rhs

    right hand side value of type T

    Example:
    1. field("a.d.d") >= 10

  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def between[T](rhs1: T, rhs2: T)(implicit ev: quotes[T]): Predicate

    Permalink

    Function to provide between functionality for a field.

    Function to provide between functionality for a field.

    rhs1

    first right hand side value of type T

    rhs2

    second right hand side value of type T

    Example:
    1. field("a.d.d") between (10,20)

  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def exists(): exists

    Permalink

    Function to provide EXISTS functionality for a field.

    Function to provide EXISTS functionality for a field.

    Example:
    1. field("a.d.d") exists

  19. val fieldPath: String

    Permalink

    name of the field in MapRDB Table.

  20. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def in(rhs: Seq[Any]): IN

    Permalink

    Function to provide IN functionality for a field.

    Function to provide IN functionality for a field.

    rhs

    right hand side value of type Seq[Any]

    Example:
    1. field("a.d.d") in (10, 20)

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def like(regex: String): LIKE

    Permalink

    Function to provide LIKE functionality for a field.

    Function to provide LIKE functionality for a field.

    regex

    right hand side is a SQL like regex string

    Example:
    1. field("a.d.d") like "%s"

  25. def matches(regex: String): MATCHES

    Permalink

    Function to provide MATCHES functionality for a field.

    Function to provide MATCHES functionality for a field.

    regex

    right hand side is a regular expression

    Example:
    1. field("a.d.d") matches "*s"

  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def notexists(): notexists

    Permalink

    Function to provide NOTEXISTS functionality for a field.

    Function to provide NOTEXISTS functionality for a field.

    Example:
    1. field("a.d.d") notexists

  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def notin(rhs: Seq[Any]): NOTIN

    Permalink

    Function to provide NOTIN functionality for a field.

    Function to provide NOTIN functionality for a field.

    rhs

    right hand side value of type Seq[Any]

    Example:
    1. field("a.d.d") notin Seq(10,20)

  31. def notlike(regex: String): NOTLIKE

    Permalink

    Function to provide NOTLIKE functionality for a field.

    Function to provide NOTLIKE functionality for a field.

    regex

    right hand side is a SQL like regex string

    Example:
    1. field("a.d.d") notlike "%s"

  32. def notmatches(regex: String): NOTMATCHES

    Permalink

    Function to provide NOTMATCHES functionality for a field.

    Function to provide NOTMATCHES functionality for a field.

    regex

    right hand side is a regular expression

    Example:
    1. field("a.d.d") notmatches "*s"

  33. def nottypeof(typevalue: String): NOTTYPEOF

    Permalink

    Function to provide NOTTYPEOF functionality for a field.

    Function to provide NOTTYPEOF functionality for a field.

    typevalue

    type of the field

    Example:
    1. field("a.d.d") NOTTYPEOF "INT"

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

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

    Permalink
    Definition Classes
    field → AnyRef → Any
  36. def typeof(typevalue: String): TYPEOF

    Permalink

    Function to provide TYPEOF functionality for a field.

    Function to provide TYPEOF functionality for a field.

    typevalue

    type of the field.

    Example:
    1. field("a.d.d") typeof "INT"

  37. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped