c

overflowdb.schema

SchemaBuilder

class SchemaBuilder extends AnyRef

TODO future refactorings: + move lazy val to Helpers, don't import Helpers here

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SchemaBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SchemaBuilder(basePackage: String)

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. def addConstants(category: String, constants: Constant*): Seq[Constant]
  5. def addEdgeProperty(name: String, valueType: ValueTypes, cardinality: Cardinality, comment: String = ""): Property
  6. def addEdgeType(name: String, comment: String = ""): EdgeType
  7. def addNodeBaseType(name: String, comment: String = ""): NodeBaseType
  8. def addNodeProperty(name: String, valueType: ValueTypes, cardinality: Cardinality, comment: String = ""): Property
  9. def addNodeType(name: String, comment: String = ""): NodeType
  10. lazy val anyNode: NodeBaseType

    root node trait for all nodes - use if you want to be explicitly unspecific TODO handle differently - it's a cpg-specific special type at the moment, which isn't nice.

    root node trait for all nodes - use if you want to be explicitly unspecific TODO handle differently - it's a cpg-specific special type at the moment, which isn't nice. it's not even part of the regular base types, but instead defined in the RootTypes.scala

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def build: Schema
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. val constantsByCategory: Map[String, Seq[Constant]]
  15. val edgePropertyKeys: ListBuffer[Property]
  16. val edgeTypes: ListBuffer[EdgeType]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. val nodeBaseTypes: ListBuffer[NodeBaseType]
  25. val nodePropertyKeys: ListBuffer[Property]
  26. val nodeTypes: ListBuffer[NodeType]
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def protoOptions(value: ProtoOptions): SchemaBuilder
  30. var protoOptions: Option[ProtoOptions]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def verifyProtoIdsUnique: Unit

    proto ids must be unique (if used)

  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped