abstract class PropertyDelegate<T>(val parent: Node, val property: KProperty1<*, *>)

Parameters

parent

the node which hosts this property

property

the property on the class

Type Parameters

T

query result data type

Inheritors

Constructors

Link copied to clipboard
constructor(parent: Node, property: KProperty1<*, *>)

Properties

Link copied to clipboard
protected val parent: Node
Link copied to clipboard
protected val property: KProperty1<*, *>

Functions

Link copied to clipboard
abstract fun registerQueryResult(fieldDefinition: FieldDefinition, queryResult: T)

Called to register a database query result Adds the result to the cache Can be overridden to add custom behavior (super should be called in this case)