object Migration
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Migration
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final case class AddCase(path: NodePath, node: SchemaAst) extends Migration with Product with Serializable
- final case class AddNode(path: NodePath, node: SchemaAst) extends Migration with Product with Serializable
- final case class ChangeType(path: NodePath, value: StandardType[_]) extends Migration with Product with Serializable
- final case class DecrementDimensions(path: NodePath, n: Int) extends Migration with Product with Serializable
- final case class DeleteNode(path: NodePath) extends Migration with Product with Serializable
- final case class IncrementDimensions(path: NodePath, n: Int) extends Migration with Product with Serializable
-
sealed
trait
LabelTransformation extends AnyRef
Represents a valid label transformation.
Represents a valid label transformation.
Not currently implemented but we can use this type to encode unambiguous string transformations applued to field and case labels. For example, convering from snake to camel case (or vica versa)
- final case class Optional(path: NodePath) extends Migration with Product with Serializable
- final case class Recursive(path: NodePath, relativeNodePath: NodePath, relativeMigration: Migration) extends Migration with Product with Serializable
- final case class Relabel(path: NodePath, tranform: LabelTransformation) extends Migration with Product with Serializable
- final case class Require(path: NodePath) extends Migration with Product with Serializable
- final case class UpdateFail(path: NodePath, message: String) extends Migration with Product with Serializable
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decrementDimensions(value: DynamicValue, path: List[String], n: Int): Either[String, DynamicValue]
- Attributes
- protected[schema]
-
def
deleteNode(value: DynamicValue, path: List[String]): Either[String, DynamicValue]
- Attributes
- protected[schema]
- def derive(from: SchemaAst, to: SchemaAst): Either[String, Chunk[Migration]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
incrementDimension(value: DynamicValue, path: List[String], n: Int): Either[String, DynamicValue]
- Attributes
- protected[schema]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
makeOptional(value: DynamicValue, path: List[String]): Either[String, DynamicValue]
- Attributes
- protected[schema]
-
def
migrateRecursive(value: DynamicValue, migration: Recursive): Either[String, DynamicValue]
- Attributes
- protected[schema]
-
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
relabel(value: DynamicValue, path: List[String], transformation: LabelTransformation): Either[String, DynamicValue]
- Attributes
- protected[schema]
-
def
require(value: DynamicValue, path: List[String]): Either[String, DynamicValue]
- Attributes
- protected[schema]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateFail(value: DynamicValue, path: List[String], newMessage: String): Either[String, DynamicValue]
- Attributes
- protected[schema]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object LabelTransformation