Companion

object Companion : IntEntityClass<AssignmentType>

Properties

Link copied to clipboard
open val dependsOnColumns: List<Column<out Any?>>
Link copied to clipboard
open val dependsOnTables: ColumnSet
Link copied to clipboard
private val entityCtor: (EntityID<Int>) -> AssignmentType
Link copied to clipboard
Link copied to clipboard
internal val klass: Class<*>
Link copied to clipboard
private val refDefinitions: HashMap<Pair<Column<*>, KClass<*>>, Any>
Link copied to clipboard
val table: IdTable<Int>

Functions

Link copied to clipboard
open fun all(): SizedIterable<AssignmentType>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF?>): ReadOnlyProperty<Entity<Int>, Target>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF>): ReadOnlyProperty<Entity<Int>, Target>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF?>): ReadOnlyProperty<Entity<Long>, Target>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.backReferencedOn(column: Column<REF>): ReadOnlyProperty<Entity<Long>, Target>
Link copied to clipboard
fun count(op: Op<Boolean>?): Long
Link copied to clipboard
protected open fun createInstance(entityId: EntityID<Int>, row: ResultRow?): AssignmentType
Link copied to clipboard
fun find(op: SqlExpressionBuilder.() -> Op<Boolean>): SizedIterable<AssignmentType>
fun find(op: Op<Boolean>): SizedIterable<AssignmentType>
Link copied to clipboard
open fun findById(id: EntityID<Int>): AssignmentType?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun findWithCacheCondition(cacheCheckCondition: AssignmentType.() -> Boolean, op: SqlExpressionBuilder.() -> Op<Boolean>): Sequence<AssignmentType>
Link copied to clipboard
open fun forEntityIds(ids: List<EntityID<Int>>): SizedIterable<AssignmentType>
Link copied to clipboard
fun forIds(ids: List<Int>): SizedIterable<AssignmentType>
Link copied to clipboard
operator fun get(id: Int): AssignmentType
operator fun get(id: EntityID<Int>): AssignmentType
Link copied to clipboard
private fun getEntities(forUpdate: Boolean?, findQuery: SizedIterable<AssignmentType>): List<AssignmentType>
Link copied to clipboard
internal open fun invalidateEntityInCache(o: Entity<Int>)
Link copied to clipboard
fun <ID : Comparable<ID>, T : Entity<ID>> isAssignableTo(entityClass: EntityClass<ID, T>): Boolean
Link copied to clipboard
fun <TColumn, TReal> Column<TColumn>.memoizedTransform(toColumn: (TReal) -> TColumn, toReal: (TColumn) -> TReal): ColumnWithTransform<TColumn, TReal>
Link copied to clipboard
open fun new(init: AssignmentType.() -> Unit): AssignmentType
open fun new(id: Int?, init: AssignmentType.() -> Unit): AssignmentType
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF?>): OptionalBackReference<TargetID, Target, Int, Entity<Int>, REF>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF>): OptionalBackReference<TargetID, Target, Int, Entity<Int>, REF>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF?>): OptionalBackReference<TargetID, Target, Long, Entity<Long>, REF>
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalBackReferencedOn(column: Column<REF>): OptionalBackReference<TargetID, Target, Long, Entity<Long>, REF>
Link copied to clipboard
infix fun <REF : Comparable<REF>> optionalReferencedOn(column: Column<REF?>): OptionalReference<REF, Int, AssignmentType>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>): OptionalReferrers<Int, Entity<Int>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>, cache: Boolean): OptionalReferrers<Int, Entity<Int>, TargetID, Target, REF>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>): OptionalReferrers<Long, Entity<Long>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.optionalReferrersOn(column: Column<REF?>, cache: Boolean): OptionalReferrers<Long, Entity<Long>, TargetID, Target, REF>
Link copied to clipboard
infix fun <REF : Comparable<REF>> referencedOn(column: Column<REF>): Reference<REF, Int, AssignmentType>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>): Referrers<Int, Entity<Int>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>, cache: Boolean): Referrers<Int, Entity<Int>, TargetID, Target, REF>
Link copied to clipboard
infix fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>): Referrers<Long, Entity<Long>, TargetID, Target, REF>
fun <TargetID : Comparable<TargetID>, Target : Entity<TargetID>, REF : Comparable<REF>> EntityClass<TargetID, Target>.referrersOn(column: Column<REF>, cache: Boolean): Referrers<Long, Entity<Long>, TargetID, Target, REF>
Link copied to clipboard
private inline fun <R : Any> registerRefRule(column: Column<*>, ref: () -> R): R
Link copied to clipboard
fun reload(entity: Entity<Int>, flush: Boolean): AssignmentType?
Link copied to clipboard
fun removeFromCache(entity: Entity<Int>)
Link copied to clipboard
open fun searchQuery(op: Op<Boolean>): Query
Link copied to clipboard
private fun Query.setForUpdateStatus(): Query
Link copied to clipboard
fun testCache(cacheCheckCondition: AssignmentType.() -> Boolean): Sequence<AssignmentType>
fun testCache(id: EntityID<Int>): AssignmentType?
Link copied to clipboard
fun <TColumn, TReal> Column<TColumn>.transform(toColumn: (TReal) -> TColumn, toReal: (TColumn) -> TReal): ColumnWithTransform<TColumn, TReal>
Link copied to clipboard
inline fun view(op: SqlExpressionBuilder.() -> Op<Boolean>): View<AssignmentType>
Link copied to clipboard
protected open fun warmCache(): EntityCache
Link copied to clipboard
fun <SID : Comparable<SID>> warmUpLinkedReferences(references: List<EntityID<SID>>, linkTable: Table, forUpdate: Boolean?, optimizedLoad: Boolean): List<AssignmentType>
internal fun <SID : Comparable<SID>> warmUpLinkedReferences(references: List<EntityID<SID>>, sourceRefColumn: Column<EntityID<SID>>, targetRefColumn: Column<EntityID<Int>>, linkTable: Table, forUpdate: Boolean?, optimizedLoad: Boolean): List<AssignmentType>
Link copied to clipboard
fun <SID> warmUpOptReferences(references: List<SID>, refColumn: Column<SID?>, forUpdate: Boolean?): List<AssignmentType>
Link copied to clipboard
fun <SID> warmUpReferences(references: List<SID>, refColumn: Column<SID>, forUpdate: Boolean?): List<AssignmentType>
Link copied to clipboard
fun wrap(id: EntityID<Int>, row: ResultRow?): AssignmentType
Link copied to clipboard
fun wrapRow(row: ResultRow): AssignmentType
fun wrapRow(row: ResultRow, alias: Alias<IdTable<*>>): AssignmentType
fun wrapRow(row: ResultRow, alias: QueryAlias): AssignmentType
Link copied to clipboard
fun wrapRows(rows: SizedIterable<ResultRow>): SizedIterable<AssignmentType>
fun wrapRows(rows: SizedIterable<ResultRow>, alias: Alias<IdTable<*>>): SizedIterable<AssignmentType>
fun wrapRows(rows: SizedIterable<ResultRow>, alias: QueryAlias): SizedIterable<AssignmentType>