SQLIndex

lightdb.sql.SQLIndex
case class SQLIndex[F, D <: Document[D]](fieldName: String, indexSupport: IndexSupport[D], get: D => List[F])(implicit fRW: RW[F]) extends Index[F, D], SQLFilterSupport[F, D, Filter[D]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SQLFilterSupport[F, D, Filter[D]]
trait Index[F, D]
trait FilterSupport[F, D, Filter[D]]
class Object
trait Matchable
class Any
Show all
Self type
SQLIndex[F, D]

Members list

Type members

Classlikes

class SQLAggregateFilterSupport(name: String) extends SQLFilterSupport[F, D, AggregateFilter[D]]

Attributes

Supertypes
trait SQLFilterSupport[F, D, AggregateFilter[D]]
trait FilterSupport[F, D, AggregateFilter[D]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def aggregateFilterSupport(name: String): FilterSupport[F, D, AggregateFilter[D]]

Inherited methods

override def <(value: F)(implicit num: Numeric[F]): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
override def <=(value: F)(implicit num: Numeric[F]): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
def <=>(tuple: (F, F))(implicit num: Numeric[F]): Filter[D]

Attributes

Inherited from:
FilterSupport
def ===(value: F): Filter[D]

Attributes

Inherited from:
FilterSupport
override def >(value: F)(implicit num: Numeric[F]): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
override def >=(value: F)(implicit num: Numeric[F]): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
def BETWEEN(tuple: (F, F))(implicit num: Numeric[F]): Filter[D]

Attributes

Inherited from:
FilterSupport
override def IN(values: Seq[F]): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
protected def doublePrecision: Double

Attributes

Inherited from:
FilterSupport
def getJson: D => List[Json]

Attributes

Inherited from:
Index
override def is(value: F): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
def parsed(query: String, allowLeadingWildcard: Boolean): Filter[D]

Attributes

Inherited from:
FilterSupport
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def range(from: Option[F], to: Option[F], includeFrom: Boolean, includeTo: Boolean)(implicit num: Numeric[F]): Filter[D]

Attributes

Inherited from:
FilterSupport
override def rangeDouble(from: Double, to: Double): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
override def rangeLong(from: Long, to: Long): Filter[D]

Attributes

Definition Classes
SQLFilterSupport -> FilterSupport
Inherited from:
SQLFilterSupport
def words(s: String, matchStartsWith: Boolean, matchEndsWith: Boolean): Filter[D]

Attributes

Inherited from:
FilterSupport

Inherited fields

lazy val avg: AggregateFunction[Double, F, D]

Attributes

Inherited from:
Index
lazy val concat: AggregateFunction[List[F], F, D]

Attributes

Inherited from:
Index
lazy val concatDistinct: AggregateFunction[List[F], F, D]

Attributes

Inherited from:
Index
lazy val count: AggregateFunction[Int, F, D]

Attributes

Inherited from:
Index
lazy val countDistinct: AggregateFunction[Int, F, D]

Attributes

Inherited from:
Index
lazy val group: AggregateFunction[F, F, D]

Attributes

Inherited from:
Index
lazy val max: AggregateFunction[F, F, D]

Attributes

Inherited from:
Index
lazy val min: AggregateFunction[F, F, D]

Attributes

Inherited from:
Index
lazy val sum: AggregateFunction[F, F, D]

Attributes

Inherited from:
Index

Implicits

Implicits

implicit val fRW: RW[F]