Parser

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

Attributes

Companion
class
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

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

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

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

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

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

Givens

Givens

given given_Decoder_Column: Decoder[Column]
given given_Decoder_Extend: Decoder[Extend]
given given_Decoder_Parser: Decoder[Parser]
given given_Decoder_Table: Decoder[Table]