Descriptor

com.digitalasset.transcode.schema.Descriptor
See theDescriptor companion trait
object Descriptor

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Descriptor.type

Members list

Type members

Classlikes

sealed trait Adt extends Descriptor

Attributes

Supertypes
trait Descriptor
class Object
trait Matchable
class Any
Known subtypes
class Enumeration
class Record
class Variant
final case class Application extends Descriptor

Type application

Type application

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Descriptor
class Object
trait Matchable
class Any
Show all
case object Bool extends Primitive

Boolean

Boolean

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
Self type
Bool.type
final case class Constructor extends Descriptor

Type Constructor with a fully qualified name and optional type parameters. The body is lazy to break cyclic references.

Type Constructor with a fully qualified name and optional type parameters. The body is lazy to break cyclic references.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Descriptor
class Object
trait Matchable
class Any
Show all
object Constructor

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ContractId extends Primitive

Contract ID

Contract ID

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
case object Date extends Primitive

Date

Date

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
Self type
Date.type
final case class Enumeration extends Adt

Sum data type. Exclusive union of symbols.

Sum data type. Exclusive union of symbols.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Adt
trait Descriptor
class Object
trait Matchable
class Any
Show all
object Enumeration

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class GenMap extends Traversable

Map

Map

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Traversable
trait Descriptor
class Object
trait Matchable
class Any
Show all
case object Int64 extends Primitive

64-bit integer

64-bit integer

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
Self type
Int64.type
final case class List extends Traversable

List of values of the same type

List of values of the same type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Traversable
trait Descriptor
class Object
trait Matchable
class Any
Show all
final case class Numeric extends Primitive

Rational Number with a predefined scale

Rational Number with a predefined scale

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
final case class Optional extends Traversable

Optional value

Optional value

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Traversable
trait Descriptor
class Object
trait Matchable
class Any
Show all
case object Party extends Primitive

Party ID

Party ID

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
Self type
Party.type
sealed trait Primitive extends Descriptor

Attributes

Supertypes
trait Descriptor
class Object
trait Matchable
class Any
Known subtypes
object Bool
class ContractId
object Date
object Int64
class Numeric
object Party
object Text
object Timestamp
object Unit
Show all
final case class Record extends Adt

Product data type. Has a list of named fields.

Product data type. Has a list of named fields.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Adt
trait Descriptor
class Object
trait Matchable
class Any
Show all
object Record

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Record.type
case object Text extends Primitive

String

String

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
Self type
Text.type
final case class TextMap extends Traversable

Map with string keys

Map with string keys

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Traversable
trait Descriptor
class Object
trait Matchable
class Any
Show all
case object Timestamp extends Primitive

Timestamp

Timestamp

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
Self type
Timestamp.type
sealed trait Traversable extends Descriptor

Attributes

Supertypes
trait Descriptor
class Object
trait Matchable
class Any
Known subtypes
class GenMap
class List
class Optional
class TextMap
case object Unit extends Primitive

Singleton type

Singleton type

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Primitive
trait Descriptor
class Object
trait Matchable
class Any
Show all
Self type
Unit.type
final case class Variable extends Descriptor

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Descriptor
class Object
trait Matchable
class Any
Show all
final case class Variant extends Adt

Sum data type. Exclusive union of named data structures or values

Sum data type. Exclusive union of named data structures or values

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Adt
trait Descriptor
class Object
trait Matchable
class Any
Show all
object Variant

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Variant.type

Inherited and Abstract 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 application(ctor: Constructor, args: Seq[Descriptor]): Application
def collect[B](descriptors: IterableOnce[Descriptor])(f: PartialFunction[Descriptor, B]): Seq[B]
def constructor(id: Identifier, body: => Adt): Constructor
def constructor(id: Identifier, typeParams: Array[String], body: => Adt): Constructor
def constructor(id: Identifier, typeParams: IterableOnce[String], body: => Adt): Constructor
def enumeration(`case`: String, cases: String*): Enumeration
def enumeration(cases: Seq[String]): Enumeration
def flatten(descriptors: IterableOnce[Descriptor]): Seq[Descriptor]
def genMap(key: Descriptor, value: Descriptor): GenMap
def list(value: Descriptor): List
def numeric(scale: Int): Numeric
def record(): Record
def record(field: (String, Descriptor), fields: (String, Descriptor)*): Record
def record(fields: Seq[(String, Descriptor)]): Record
def textMap(value: Descriptor): TextMap
def variable(name: String): Variable
def variant(`case`: (String, Descriptor), cases: (String, Descriptor)*): Variant
def variant(cases: Seq[(String, Descriptor)]): Variant

Concrete fields

val bool: Bool.type
val date: Date.type
val int64: Int64.type
val party: Party.type
val text: Text.type
val timestamp: Timestamp.type
val unit: Unit.type