Packages

c

one.xingyi.core.orm

FanoutOrmData

case class FanoutOrmData[Context, T](t: T, name: String, flyweightKey: FlyweightKey, executeWhenMatch: (Context, T, List[Any]) => Context, ar: Array[List[Any]], children: List[OrmData[Context]]) extends OrmData[Context] with Product with Serializable

The data read from the database by ORM. Later this should be replaceable by a cursor

This is just for the 'numeric keys' story

So important features:*

  • We need to process one to many tables and their children sensibly using the next mechanism
  • That means we will process all the things for my id, and then tell the children The data is sorted by id. Children are sorted by child Id Note that we need the id to by ordered... ANd that's awkward because we don't know how big the composible key is... suppose we have Keys1(a), Keys2(a,b), Keys3(a,b,c)... ah do we actually need the id or can we go flyweight?
Linear Supertypes
Serializable, Product, Equals, OrmData[Context], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FanoutOrmData
  2. Serializable
  3. Product
  4. Equals
  5. OrmData
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FanoutOrmData(t: T, name: String, flyweightKey: FlyweightKey, executeWhenMatch: (Context, T, List[Any]) => Context, ar: Array[List[Any]], children: List[OrmData[Context]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ar: Array[List[Any]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val children: List[OrmData[Context]]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val executeWhenMatch: (Context, T, List[Any]) => Context
  10. val flyweightKey: FlyweightKey
  11. def fromParent(context: Context, parent: List[Any]): Context
    Definition Classes
    FanoutOrmDataOrmData
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. var i: Int
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val name: String
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def prettyString(indent: String): String
    Definition Classes
    FanoutOrmDataOrmData
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. val t: T
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OrmData[Context]

Inherited from AnyRef

Inherited from Any

Ungrouped