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. Protected

Instance Constructors

  1. new SchemaBuilder(domainShortName: String, basePackage: String, additionalTraversalsPackages: Seq[String] = Seq.empty)

Value Members

  1. def addConstants(category: String, constants: Constant[_]*): Seq[Constant[_]]
  2. def addEdgeType(name: String, comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): EdgeType
  3. def addNodeBaseType(name: String, comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): NodeBaseType
  4. def addNodeType(name: String, comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): NodeType
  5. def addProperty[A](name: String, valueType: ValueType[A], comment: String = "")(implicit schemaInfo: SchemaInfo = SchemaInfo.Unknown): Property[A]
  6. lazy val anyNode: AnyNodeType

    root node trait for all nodes - use if you want to be explicitly unspecific

  7. def build: Schema
  8. val constantsByCategory: Map[String, Seq[Constant[_]]]
  9. def dontWarnForDuplicateProperty(nodeType: AbstractNodeType, property: Property[_]): SchemaBuilder
  10. val edgeTypes: ListBuffer[EdgeType]
  11. val noWarnList: Set[(AbstractNodeType, Property[_])]
  12. val nodeBaseTypes: ListBuffer[NodeBaseType]
  13. val nodeTypes: ListBuffer[NodeType]
  14. val properties: ListBuffer[Property[_]]
  15. def protoOptions(value: ProtoOptions): SchemaBuilder
  16. var protoOptions: Option[ProtoOptions]
  17. def verifyProtoIdsUnique(schema: Schema): Unit

    proto ids must be unique (if used)