case class Schema[T](schemaType: SchemaType, isOptional: Boolean = false, description: Option[String] = None, format: Option[String] = None) extends Product with Serializable
Describes the shape of the low-level, "raw" representation of type T
.
- format
The name of the format of the low-level representation of
T
.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Schema
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Schema(schemaType: SchemaType, isOptional: Boolean = false, description: Option[String] = None, format: Option[String] = None)
- format
The name of the format of the low-level representation of
T
.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def asArrayElement[U]: Schema[U]
Returns a collection version of this schema, with the schema type wrapped in SArray.
Returns a collection version of this schema, with the schema type wrapped in SArray. Also, sets
isOptional
to true as the collection might be empty. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asOptional[U]: Schema[U]
Returns an optional version of this schema, with
isOptional
set to true. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def description(d: String): Schema[T]
- val description: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def format(f: String): Schema[T]
- val format: Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isOptional: Boolean
- def modifyUnsafe(fields: String*)(modify: (Schema[_]) => Schema[_]): Schema[T]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val schemaType: SchemaType
- def show: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()