Companion

object Companion : LongEntityClass<Report>

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<Long>) -> Report
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<Long>

Functions

Link copied to clipboard
open fun all(): SizedIterable<Report>
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
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<Long>, row: ResultRow?): Report
Link copied to clipboard
fun find(op: SqlExpressionBuilder.() -> Op<Boolean>): SizedIterable<Report>
fun find(op: Op<Boolean>): SizedIterable<Report>
Link copied to clipboard
fun findById(id: Long): Report?
open fun findById(id: EntityID<Long>): Report?
Link copied to clipboard
fun findByIdAndUpdate(id: Long, block: (it: Report) -> Unit): Report?
Link copied to clipboard
fun findSingleByAndUpdate(op: Op<Boolean>, block: (it: Report) -> Unit): Report?
Link copied to clipboard
fun findWithCacheCondition(cacheCheckCondition: Report.() -> Boolean, op: SqlExpressionBuilder.() -> Op<Boolean>): Sequence<Report>
Link copied to clipboard
open fun forEntityIds(ids: List<EntityID<Long>>): SizedIterable<Report>
Link copied to clipboard
fun forIds(ids: List<Long>): SizedIterable<Report>
Link copied to clipboard
operator fun get(id: Long): Report
operator fun get(id: EntityID<Long>): Report
Link copied to clipboard
private fun getEntities(forUpdate: Boolean?, findQuery: SizedIterable<Report>): List<Report>
Link copied to clipboard
internal open fun invalidateEntityInCache(o: Entity<Long>)
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: Report.() -> Unit): Report
open fun new(id: Long?, init: Report.() -> Unit): Report
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 <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, Long, Report>
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 <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, Long, Report>
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
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<Long>, flush: Boolean): Report?
Link copied to clipboard
fun removeFromCache(entity: Entity<Long>)
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: Report.() -> Boolean): Sequence<Report>
fun testCache(id: EntityID<Long>): Report?
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<Report>
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<Report>
internal fun <SID : Comparable<SID>> warmUpLinkedReferences(references: List<EntityID<SID>>, sourceRefColumn: Column<EntityID<SID>>, targetRefColumn: Column<EntityID<Long>>, linkTable: Table, forUpdate: Boolean?, optimizedLoad: Boolean): List<Report>
Link copied to clipboard
fun <SID> warmUpOptReferences(references: List<SID>, refColumn: Column<SID?>, forUpdate: Boolean?): List<Report>
Link copied to clipboard
fun <SID> warmUpReferences(references: List<SID>, refColumn: Column<SID>, forUpdate: Boolean?): List<Report>
Link copied to clipboard
fun wrap(id: EntityID<Long>, row: ResultRow?): Report
Link copied to clipboard
fun wrapRow(row: ResultRow): Report
fun wrapRow(row: ResultRow, alias: Alias<IdTable<*>>): Report
fun wrapRow(row: ResultRow, alias: QueryAlias): Report
Link copied to clipboard
fun wrapRows(rows: SizedIterable<ResultRow>): SizedIterable<Report>
fun wrapRows(rows: SizedIterable<ResultRow>, alias: Alias<IdTable<*>>): SizedIterable<Report>
fun wrapRows(rows: SizedIterable<ResultRow>, alias: QueryAlias): SizedIterable<Report>