abstract class SQLStore[Doc <: Document[Doc], Model <: DocumentModel[Doc]] extends Store[Doc, Model]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SQLStore
- Store
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SQLStore(name: String, model: Model)
Abstract Value Members
- abstract def connectionManager: ConnectionManager
- Attributes
- protected
- abstract def connectionShared: Boolean
- Attributes
- protected
- abstract def storeMode: StoreMode[Doc, Model]
- Definition Classes
- Store
- abstract def tables(connection: Connection): Set[String]
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addColumn(field: Field[Doc, _])(implicit transaction: Transaction[Doc]): Unit
- Attributes
- protected
- def aggregate(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Iterator[MaterializedAggregate[Doc, Model]]
- Definition Classes
- SQLStore → Store
- def aggregateCount(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Int
- Definition Classes
- SQLStore → Store
- def apply(id: Id[Doc])(implicit transaction: Transaction[Doc]): Doc
- Definition Classes
- Store
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def concatPrefix: String
- Attributes
- protected
- def count(implicit transaction: Transaction[Doc]): Int
- Definition Classes
- SQLStore → Store
- def createInsertSQL(): String
- Attributes
- protected
- def createTable()(implicit transaction: Transaction[Doc]): Unit
- Attributes
- protected
- final def createTransaction(): Transaction[Doc]
- Definition Classes
- Store
- def createUpsertSQL(): String
- Attributes
- protected
- def delete[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Boolean
- Definition Classes
- SQLStore → Store
- def dispose(): Unit
- Definition Classes
- SQLStore → Store
- def distanceFilter(f: Distance[Doc]): SQLPart
- Attributes
- protected
- def doSearch[V](query: Query[Doc, Model], conversion: Conversion[Doc, V])(implicit transaction: Transaction[Doc]): SearchResults[Doc, Model, V]
- Definition Classes
- SQLStore → Store
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executeUpdate(sql: String)(implicit transaction: Transaction[Doc]): Unit
- Attributes
- protected
- def exists(id: Id[Doc])(implicit transaction: Transaction[Doc]): Boolean
- Definition Classes
- SQLStore → Store
- def extraFieldsForDistance(conversion: Distance[Doc, _]): List[SQLPart]
- Attributes
- protected
- def field2Value(field: Field[Doc, _]): String
- Attributes
- protected
- def fieldPart[V](field: Field[Doc, V]): SQLPart
- Attributes
- protected
- lazy val fields: List[Field[Doc, _]]
- Attributes
- protected
- Definition Classes
- Store
- def fromString(string: String): Doc
- Attributes
- protected
- Definition Classes
- Store
- def get[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Option[Doc]
- Definition Classes
- SQLStore → Store
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- lazy val hasSpatial: Boolean
- Definition Classes
- Store
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def id(doc: Doc): Id[Doc]
- Attributes
- protected
- Definition Classes
- Store
- lazy val idField: UniqueIndex[Doc, Id[Doc]]
- Definition Classes
- Store
- def initTransaction()(implicit transaction: Transaction[Doc]): Unit
- Attributes
- protected
- def insert(doc: Doc)(implicit transaction: Transaction[Doc]): Unit
- Definition Classes
- SQLStore → Store
- def insertPrefix: String
- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator(implicit transaction: Transaction[Doc]): Iterator[Doc]
- Definition Classes
- SQLStore → Store
- def jsonIterator(implicit transaction: Transaction[Doc]): Iterator[Json]
- Definition Classes
- Store
- lazy val lock: LockManager[Id[Doc], Doc]
- Definition Classes
- Store
- def modify(id: Id[Doc], establishLock: Boolean, deleteOnNone: Boolean)(f: (Option[Doc]) => Option[Doc])(implicit transaction: Transaction[Doc]): Option[Doc]
- Definition Classes
- Store
- val name: String
- Definition Classes
- Store
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def prepareTransaction(transaction: Transaction[Doc]): Unit
- Definition Classes
- SQLStore → Store
- def reIndex(): Boolean
- Definition Classes
- Store
- def releaseTransaction(transaction: Transaction[Doc]): Unit
- Definition Classes
- Store
- def sortByDistance[G <: Geo](field: Field[_, List[G]], direction: SortDirection): SQLPart
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toJson(value: Any, rw: RW[_]): Json
- Attributes
- protected
- def toString(doc: Doc): String
- Attributes
- protected
- Definition Classes
- Store
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncate()(implicit transaction: Transaction[Doc]): Int
- Definition Classes
- SQLStore → Store
- def upsert(doc: Doc)(implicit transaction: Transaction[Doc]): Unit
- Definition Classes
- SQLStore → Store
- def upsertPrefix: String
- Attributes
- protected
- def verify(): Boolean
- Definition Classes
- Store
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object transaction
- Definition Classes
- Store
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)