c

overflowdb.schema

SchemaBuilder

class SchemaBuilder extends AnyRef

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 addEdgeType(name: String, comment: String = ""): EdgeType
  6. def addNodeBaseType(name: String, comment: String = ""): NodeBaseType
  7. def addNodeType(name: String, comment: String = ""): NodeType
  8. def addProperty(name: String, valueType: ValueTypes, cardinality: Cardinality, comment: String = ""): Property
  9. 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

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

    proto ids must be unique (if used)

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

Inherited from AnyRef

Inherited from Any

Ungrouped