Object/Trait

com.fsist.safepickle

Schema

Related Docs: trait Schema | package safepickle

Permalink

object Schema

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Schema
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AtomicConst[T] extends AnyRef

    Permalink
  2. case class SArray(tpe: scala.reflect.api.JavaUniverse.Type, member: Schema) extends Schema with Product with Serializable

    Permalink

    An array whose items have the same schema.

  3. case class SBoolean(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  4. case class SBooleanConst(tpe: scala.reflect.api.JavaUniverse.Type, constant: Boolean, label: Option[String] = None) extends Schema with AtomicConst[Boolean] with Product with Serializable

    Permalink
  5. case class SDict(tpe: scala.reflect.api.JavaUniverse.Type, members: Schema) extends Schema with Product with Serializable

    Permalink

    An object with any number of attributes with different names, all sharing the same value schema.

  6. case class SDouble(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  7. case class SDoubleConst(tpe: scala.reflect.api.JavaUniverse.Type, constant: Double, label: Option[String] = None) extends Schema with AtomicConst[Double] with Product with Serializable

    Permalink
  8. case class SFloat(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  9. case class SFloatConst(tpe: scala.reflect.api.JavaUniverse.Type, constant: Float, label: Option[String] = None) extends Schema with AtomicConst[Float] with Product with Serializable

    Permalink
  10. case class SInt(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  11. case class SIntConst(tpe: scala.reflect.api.JavaUniverse.Type, constant: Int, label: Option[String] = None) extends Schema with AtomicConst[Int] with Product with Serializable

    Permalink
  12. case class SLong(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  13. case class SLongConst(tpe: scala.reflect.api.JavaUniverse.Type, constant: Long, label: Option[String] = None) extends Schema with AtomicConst[Long] with Product with Serializable

    Permalink
  14. case class SNull(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  15. case class SObject(tpe: scala.reflect.api.JavaUniverse.Type, members: List[SObjectMember], annotations: List[Annotation]) extends Schema with Product with Serializable

    Permalink

    An object with a fixed number of attributes, each having a different schema.

    An object with a fixed number of attributes, each having a different schema.

    annotations

    reified annotations from the corresponding Scala type. This allows annotations to be used easily to modify generated schemas, without having to use reflection to access them. This is filled by Autogen.apply with annotations on the class.

  16. case class SObjectMember(name: String, schema: Schema, required: Boolean, annotations: List[Annotation], default: Option[Any]) extends Product with Serializable

    Permalink

    annotations

    reified annotations from the corresponding Scala type. This allows annotations to be used easily to modify generated schemas, without having to use reflection to access them. This is filled by Autogen.apply with annotations on the constructor parameter.

    default

    The value used when unpickling if this object member is missing.

  17. case class SOneOf(tpe: scala.reflect.api.JavaUniverse.Type, options: List[Schema], annotations: List[Annotation]) extends Schema with Product with Serializable

    Permalink

    annotations

    reified annotations from the corresponding Scala type. This allows annotations to be used easily to modify generated schemas, without having to use reflection to access them. This is filled by Autogen.children with annotations on the parent type.

  18. case class SRef(toTpe: () ⇒ scala.reflect.api.JavaUniverse.Type, target: () ⇒ Schema) extends Schema with Product with Serializable

    Permalink

    A reference is equivalent to the schema returned by target, but prevents loops in recursive or mutually recursive schema definitions.

    A reference is equivalent to the schema returned by target, but prevents loops in recursive or mutually recursive schema definitions.

    tpe and resolve are lazy vals to prevent cases where toTpe or target return different values on subsequent calls; this interferes with e.g. code in JsonSchema that wants to compare Schemas for equality.

    The attributes are private to prevent them from being called directly, bypassing the lazy vals.

  19. case class SShort(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  20. case class SShortConst(tpe: scala.reflect.api.JavaUniverse.Type, constant: Short, label: Option[String] = None) extends Schema with AtomicConst[Short] with Product with Serializable

    Permalink
  21. case class SString(tpe: scala.reflect.api.JavaUniverse.Type) extends Schema with Product with Serializable

    Permalink
  22. case class SStringConst(tpe: scala.reflect.api.JavaUniverse.Type, constant: String, label: Option[String] = None) extends Schema with AtomicConst[String] with Product with Serializable

    Permalink
  23. case class STuple(tpe: scala.reflect.api.JavaUniverse.Type, members: List[Schema]) extends Schema with Product with Serializable

    Permalink

    An array with a fixed number of items with different schemas.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. implicit def fromPickler[T](implicit pickler: Pickler[T]): Schema

    Permalink
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped