Field

lightdb.field.Field
See theField companion object
sealed class Field[Doc <: Document[Doc], V](val name: String, val get: FieldGetter[Doc, V], val getRW: () => RW[V], val indexed: Boolean) extends FilterSupport[V, Doc, Filter[Doc]], AggregateSupport[Doc, V], Materializable[Doc, V]

Attributes

Companion
object
Graph
Supertypes
trait Materializable[Doc, V]
trait AggregateSupport[Doc, V]
trait FilterSupport[V, Doc, Filter[Doc]]
class Object
trait Matchable
class Any
Show all
Known subtypes
class FacetField[Doc]
trait Indexed[Doc, V]
trait Tokenized[Doc]
trait UniqueIndex[Doc, V]

Members list

Value members

Concrete methods

override def !==(value: V): Filter[Doc]

Attributes

Definition Classes
override def IN(values: Seq[V]): Filter[Doc]

Attributes

Definition Classes
override def contains(value: String): Filter[Doc]

Attributes

Definition Classes
override def distance(from: Point, radius: Distance): Filter[Doc]

Attributes

Definition Classes
override def endsWith(value: String): Filter[Doc]

Attributes

Definition Classes
override def exactly(value: String): Filter[Doc]

Attributes

Definition Classes
def getJson(doc: Doc, state: IndexingState): Json
override def is(value: V): Filter[Doc]

Attributes

Definition Classes
def isArr: Boolean
def isTokenized: Boolean
def list: Field[Doc, List[V]]
def opt: Field[Doc, Option[V]]
override def regex(expression: String): Filter[Doc]

Attributes

Definition Classes
override def startsWith(value: String): Filter[Doc]

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
override def words(s: String, matchStartsWith: Boolean, matchEndsWith: Boolean): Filter[Doc]

Attributes

Definition Classes

Inherited methods

def <(value: V)(implicit num: Numeric[V]): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def <=(value: V)(implicit num: Numeric[V]): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def <=>(tuple: (V, V))(implicit num: Numeric[V]): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def ===(value: V): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def >(value: V)(implicit num: Numeric[V]): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def >=(value: V)(implicit num: Numeric[V]): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def BETWEEN(tuple: (V, V))(implicit num: Numeric[V]): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def range(from: Option[V], to: Option[V], includeFrom: Boolean, includeTo: Boolean)(implicit num: Numeric[V]): Filter[Doc]

Attributes

Inherited from:
FilterSupport
def ~*(expression: String): Filter[Doc]

Attributes

Inherited from:
FilterSupport

Concrete fields

lazy val className: Option[String]
val get: FieldGetter[Doc, V]
val getRW: () => RW[V]
val indexed: Boolean
lazy val isSpatial: Boolean
val name: String

Inherited fields

lazy val avg: AggregateFunction[Double, V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val concat: AggregateFunction[List[V], V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val concatDistinct: AggregateFunction[List[V], V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val count: AggregateFunction[Int, V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val countDistinct: AggregateFunction[Int, V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val group: AggregateFunction[V, V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val max: AggregateFunction[V, V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val min: AggregateFunction[V, V, Doc]

Attributes

Inherited from:
AggregateSupport
lazy val sum: AggregateFunction[V, V, Doc]

Attributes

Inherited from:
AggregateSupport

Implicits

Implicits

implicit def rw: RW[V]