Class

scalax.collection.io.json.descriptor

EdgeDescriptor

Related Doc: package descriptor

Permalink

class EdgeDescriptor[N, E[X] <: UnDiEdge[X], +C <: EdgeCompanion[E]] extends EdgeDescriptorBase[N, E, C]

Determines how to extract data relevant for non-weighted, non-labeled edges from a JValue and how to decompose such an outer edge to a JValue.

Instances of this class must be passed as a constructor argument to a scalax.collection.io.json.descriptor.Descriptor either directly or indirectly by utilizing a predefined edge descriptor.

Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EdgeDescriptor
  2. EdgeDescriptorBase
  3. GenEdgeDescriptor
  4. TypeId
  5. AnyRef
  6. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by EdgeAssoc
  3. by anyToNode
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeDescriptor(edgeCompanion: C, customSerializer: Option[Serializer[_ <: EdgeParameters]] = None, extraClasses: List[Class[_]] = Nil, typeId: String = Defaults.defaultId)(implicit edgeManifest: ClassTag[E[N]])

    Permalink

    edgeCompanion

    an edge companion object such as UnDiEdge.

    customSerializer

    Some list-json custom serializer or None.

    extraClasses

    list of classes referenced by this node provided they are to be (de)serialized; empty by default.

    typeId

    denotes the edge type in a JSON text.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to any2stringadd[EdgeDescriptor[N, E, C]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (EdgeDescriptor[N, E, C], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to ArrowAssoc[EdgeDescriptor[N, E, C]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val customSerializer: Option[Serializer[_ <: Parameters]]

    Permalink
    Definition Classes
    EdgeDescriptorBase
  9. final def decompose(edge: E[N])(implicit descriptor: Descriptor[N]): JValue

    Permalink
    Definition Classes
    EdgeDescriptorBase
  10. val edgeCompanion: C

    Permalink
    Definition Classes
    EdgeDescriptorBase
  11. val edgeManifest: ClassTag[_]

    Permalink
    Definition Classes
    GenEdgeDescriptor
  12. def ensuring(cond: (EdgeDescriptor[N, E, C]) ⇒ Boolean, msg: ⇒ Any): EdgeDescriptor[N, E, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to Ensuring[EdgeDescriptor[N, E, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (EdgeDescriptor[N, E, C]) ⇒ Boolean): EdgeDescriptor[N, E, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to Ensuring[EdgeDescriptor[N, E, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): EdgeDescriptor[N, E, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to Ensuring[EdgeDescriptor[N, E, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): EdgeDescriptor[N, E, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to Ensuring[EdgeDescriptor[N, E, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. val extraClasses: List[Class[_]]

    Permalink
    Definition Classes
    EdgeDescriptorBase
  19. def extract(jsonEdge: JValue): EdgeParameters

    Permalink
    Definition Classes
    EdgeDescriptorEdgeDescriptorBase
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. implicit val formats: Formats

    Permalink
    Definition Classes
    EdgeDescriptorBase
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to StringFormat[EdgeDescriptor[N, E, C]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def isDefined: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  26. def isEdge: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  27. def isIn: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def isNode: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  30. def isOut: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParam → Param
  31. val n1: EdgeDescriptor[N, E, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to EdgeAssoc[EdgeDescriptor[N, E, C]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. def nodeIds(edge: E[N], descriptor: Descriptor[N]): List[String]

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeDescriptorBase
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def stringPrefix: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toParArray: ParArray[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to CollectionsHaveToParArray[EdgeDescriptor[N, E, C], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (EdgeDescriptor[N, E, C]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  39. def toParameters(edge: E[N])(implicit descriptor: Descriptor[N]): EdgeParameters

    Permalink
    Attributes
    protected
    Definition Classes
    EdgeDescriptorEdgeDescriptorBase
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. val typeId: String

    Permalink
    Definition Classes
    GenEdgeDescriptorTypeId
  42. val value: EdgeDescriptor[N, E, C]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNode → NodeParam
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def ~[N >: N1](n2: N): UnDiEdge[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to EdgeAssoc[EdgeDescriptor[N, E, C]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  47. def ~>[N >: N1](n2: N): DiEdge[N]

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to EdgeAssoc[EdgeDescriptor[N, E, C]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  48. def [B](y: B): (EdgeDescriptor[N, E, C], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to ArrowAssoc[EdgeDescriptor[N, E, C]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def toString(): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]] performed by method anyToNode in scalax.collection.GraphPredef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (edgeDescriptor: OuterNode[EdgeDescriptor[N, E, C]]).toString()
    Definition Classes
    NodeParam → AnyRef → Any

Inherited from EdgeDescriptorBase[N, E, C]

Inherited from GenEdgeDescriptor[N]

Inherited from TypeId

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion CollectionsHaveToParArray from EdgeDescriptor[N, E, C] to CollectionsHaveToParArray[EdgeDescriptor[N, E, C], T]

Inherited by implicit conversion EdgeAssoc from EdgeDescriptor[N, E, C] to EdgeAssoc[EdgeDescriptor[N, E, C]]

Inherited by implicit conversion anyToNode from EdgeDescriptor[N, E, C] to OuterNode[EdgeDescriptor[N, E, C]]

Inherited by implicit conversion any2stringadd from EdgeDescriptor[N, E, C] to any2stringadd[EdgeDescriptor[N, E, C]]

Inherited by implicit conversion StringFormat from EdgeDescriptor[N, E, C] to StringFormat[EdgeDescriptor[N, E, C]]

Inherited by implicit conversion Ensuring from EdgeDescriptor[N, E, C] to Ensuring[EdgeDescriptor[N, E, C]]

Inherited by implicit conversion ArrowAssoc from EdgeDescriptor[N, E, C] to ArrowAssoc[EdgeDescriptor[N, E, C]]

Ungrouped