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.
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
- Alphabetic
- By Inheritance
- field
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
field(fieldPath: String)
- fieldPath
name of the field in MapRDB Table.
Value Members
-
def
!=(rhs: Map[String, Any]): Predicate
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]
field("a.d.d") != Map("aa" -> value)
Example: -
def
!=(rhs: Seq[Any]): Predicate
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
field("a.d.d") != Seq("aa",10)
Example: -
def
!=[T](rhs: T)(implicit ev: quotes[T]): Predicate
Function to provide notEqualsTo(!=) functionality for a field.
Function to provide notEqualsTo(!=) functionality for a field.
- rhs
right hand side value of type T
field("a.d.d") != 10
Example: -
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<[T](rhs: T)(implicit ev: quotes[T]): Predicate
Function to provide lessThan(<) functionality for a field.
Function to provide lessThan(<) functionality for a field.
- rhs
right hand side value of type T
field("a.d.d") < 10
Example: -
def
<=[T](rhs: T)(implicit ev: quotes[T]): Predicate
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
field("a.d.d") <= 10
Example: -
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
===(rhs: Map[String, Any]): Predicate
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]
field("a.d.d") === Map("aa" -> value)
Example: -
def
===(rhs: Seq[Any]): Predicate
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
field("a.d.d") === Seq("aa",10)
Example: -
def
===[T](rhs: T)(implicit ev: quotes[T]): Predicate
Function to provide equalsTo(===) functionality for a field.
Function to provide equalsTo(===) functionality for a field.
- rhs
right hand side value of type T
field("a.d.d") === 10
Example: -
def
>[T](rhs: T)(implicit ev: quotes[T]): Predicate
Function to provide greaterThan(>) functionality for a field.
Function to provide greaterThan(>) functionality for a field.
- rhs
right hand side value of type T
field("a.d.d") > 10
Example: -
def
>=[T](rhs: T)(implicit ev: quotes[T]): Predicate
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
field("a.d.d") >= 10
Example: -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
between[T](rhs1: T, rhs2: T)(implicit ev: quotes[T]): Predicate
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
field("a.d.d") between (10,20)
Example: -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
exists(): Exists
Function to provide EXISTS functionality for a field.
Function to provide EXISTS functionality for a field.
field("a.d.d") exists
Example: - val fieldPath: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
in(rhs: Seq[Any]): In
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]
field("a.d.d") in (10, 20)
Example: -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
like(regex: String): Like
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
field("a.d.d") like "%s"
Example: -
def
matches(regex: String): Matches
Function to provide MATCHES functionality for a field.
Function to provide MATCHES functionality for a field.
- regex
right hand side is a regular expression
field("a.d.d") matches "*s"
Example: -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
notexists(): NotExists
Function to provide NOTEXISTS functionality for a field.
Function to provide NOTEXISTS functionality for a field.
field("a.d.d") notexists
Example: -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
notin(rhs: Seq[Any]): NotIn
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]
field("a.d.d") notin Seq(10,20)
Example: -
def
notlike(regex: String): NotLike
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
field("a.d.d") notlike "%s"
Example: -
def
notmatches(regex: String): NotMatches
Function to provide NOTMATCHES functionality for a field.
Function to provide NOTMATCHES functionality for a field.
- regex
right hand side is a regular expression
field("a.d.d") notmatches "*s"
Example: -
def
nottypeof(typevalue: String): NotTypeOf
Function to provide NOTTYPEOF functionality for a field.
Function to provide NOTTYPEOF functionality for a field.
- typevalue
type of the field
field("a.d.d") NOTTYPEOF "INT"
Example: -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- field → AnyRef → Any
-
def
typeof(typevalue: String): TypeOf
Function to provide TYPEOF functionality for a field.
Function to provide TYPEOF functionality for a field.
- typevalue
type of the field.
field("a.d.d") typeof "INT"
Example: -
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.