Parser

ldbc.codegen.parser.yml.Parser
See theParser companion class
object Parser

Attributes

Companion
class
Source
Parser.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Parser.type

Members list

Type members

Classlikes

case class Column(name: String, `type`: String)

Model for changing the Scala type of table columns.

Model for changing the Scala type of table columns.

Value parameters

`type`

Scala Type

name

Column name

Attributes

Source
Parser.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Database(name: String, tables: Seq[Table])

A model for organizing tables and models for extending models on a per-database basis.

A model for organizing tables and models for extending models on a per-database basis.

Value parameters

name

Database name

tables

List of tables and models to extend the model.

Attributes

Source
Parser.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Extend(`extends`: Seq[String])

A model for mixing in values to classes and objects.

A model for mixing in values to classes and objects.

Value parameters

`extends`

List of values to be mixed in for classes and objects.

Attributes

Source
Parser.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Table(name: String, columns: Option[Seq[Column]], `object`: Option[Extend], `class`: Option[Extend])

Tables and models for extending the model.

Tables and models for extending the model.

Value parameters

`class`

A model for mixing in values to class.

`object`

A model for mixing in values to objects.

columns

List of models to change the Scala type of table columns.

name

Table name

Attributes

Source
Parser.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def parse(str: String): Parser

Methods for generating models to extend models and tables from strings in Yaml format.

Methods for generating models to extend models and tables from strings in Yaml format.

Value parameters

str

String in Yaml format

Attributes

Source
Parser.scala

Givens

Givens

Attributes

Source
Parser.scala

Attributes

Source
Parser.scala

Attributes

Source
Parser.scala

Attributes

Source
Parser.scala