scalax.collection.io.json.descriptor

EdgeDescriptor

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
EdgeDescriptorBase[N, E, C], GenEdgeDescriptor[N], TypeId, AnyRef, Any
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 EdgeAssoc
  2. by anyToNode
  3. by any2stringadd
  4. by any2stringfmt
  5. by any2ArrowAssoc
  6. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def decompose(edge: E[N])(implicit descriptor: Descriptor[N]): JValue

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  17. def extract(jsonEdge: JValue): EdgeParameters

    Definition Classes
    EdgeDescriptorEdgeDescriptorBase
  18. def finalize(): Unit

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

    Definition Classes
    EdgeDescriptorBase
  20. def formatted(fmtstr: String): String

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

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

    Definition Classes
    AnyRef → Any
  23. def isDefined: Boolean

    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
  24. def isEdge: Boolean

    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
  25. def isIn: Boolean

    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
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isNode: Boolean

    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
  28. def isOut: Boolean

    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
  29. val n1: EdgeDescriptor[N, E, C]

    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
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def stringPrefix: String

    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
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toParameters(edge: E[N])(implicit descriptor: Descriptor[N]): EdgeParameters

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

    Definition Classes
    AnyRef → Any
  38. val value: EdgeDescriptor[N, E, C]

    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
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def ~[N >: N1, N2 <: N](n2: N2): UnDiEdge[N]

    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()
  43. def ~>[N >: N1, N2 <: N](n2: N2): DiEdge[N]

    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()
  44. def [B](y: B): (EdgeDescriptor[N, E, C], B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeDescriptor: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeDescriptor: StringFormat).self
    Definition Classes
    StringFormat
  3. def toString(): String

    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

Deprecated Value Members

  1. def x: EdgeDescriptor[N, E, C]

    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to ArrowAssoc[EdgeDescriptor[N, E, C]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeDescriptor: ArrowAssoc[EdgeDescriptor[N, E, C]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: EdgeDescriptor[N, E, C]

    Implicit information
    This member is added by an implicit conversion from EdgeDescriptor[N, E, C] to Ensuring[EdgeDescriptor[N, E, C]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (edgeDescriptor: Ensuring[EdgeDescriptor[N, E, C]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from EdgeDescriptorBase[N, E, C]

Inherited from GenEdgeDescriptor[N]

Inherited from TypeId

Inherited from AnyRef

Inherited from Any

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 StringAdd

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

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

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

Ungrouped