Package

polynote

messages

Permalink

package messages

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. messages
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ByteVector32 = ByteVector with Tagged[ShortTag]

    Permalink
  2. final case class CancelTasks(path: ShortString) extends Message with Product with Serializable

    Permalink
  3. type CellID = Short

    Permalink
  4. final case class CellMetadata(disableRun: Boolean = false, hideSource: Boolean = false, hideOutput: Boolean = false, executionInfo: Option[ExecutionInfo] = None) extends Product with Serializable

    Permalink
  5. final case class CellResult(id: CellID, result: Result) extends Message with Product with Serializable

    Permalink
  6. final case class ClearOutput() extends Message with Product with Serializable

    Permalink
  7. final case class Comment(uuid: CommentID, range: CellRange, author: TinyString, authorAvatarUrl: Option[String], createdAt: Long, content: ShortString) extends Product with Serializable

    Permalink
  8. type CommentID = String with Tagged[TinyTag]

    Permalink
  9. final case class CompletionsAt(id: CellID, pos: Int, completions: ShortList[Completion]) extends Message with Product with Serializable

    Permalink
  10. sealed trait ContentEdit extends AnyRef

    Permalink
  11. final case class ContentEdits(edits: ShortList[ContentEdit]) extends AnyVal with Product with Serializable

    Permalink

    Represents a sequence of ContentEdits.

    Represents a sequence of ContentEdits. Each edit in the sequence must be based upon (or independent of) the edits before it.

  12. final case class CopyNotebook(path: ShortString, newPath: ShortString) extends Message with Product with Serializable

    Permalink
  13. final case class CreateComment(globalVersion: Int, localVersion: Int, cellId: CellID, comment: Comment) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  14. final case class CreateNotebook(path: ShortString, maybeContent: Option[String] = None) extends Message with Product with Serializable

    Permalink
  15. final case class CurrentSelection(cellID: CellID, range: CellRange) extends Message with Product with Serializable

    Permalink
  16. final case class Delete(pos: Int, length: Int) extends ContentEdit with Product with Serializable

    Permalink
  17. final case class DeleteCell(globalVersion: Int, localVersion: Int, id: CellID) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  18. final case class DeleteComment(globalVersion: Int, localVersion: Int, cellId: CellID, commentId: CommentID) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  19. final case class DeleteNotebook(path: ShortString) extends Message with Product with Serializable

    Permalink
  20. final case class Error(code: Int, error: Throwable) extends Message with Product with Serializable

    Permalink
  21. final case class HandleData(handleType: HandleType, handle: Int, count: Int, data: Either[Error, Array[ByteVector32]]) extends Message with Product with Serializable

    Permalink
  22. sealed trait HandleType extends AnyRef

    Permalink
  23. final case class Identity(name: TinyString, avatar: Option[ShortString]) extends Product with Serializable

    Permalink
  24. final case class Insert(pos: Int, content: String) extends ContentEdit with Product with Serializable

    Permalink
  25. final case class InsertCell(globalVersion: Int, localVersion: Int, cell: NotebookCell, after: CellID) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  26. final case class KernelStatus(update: KernelStatusUpdate) extends Message with Product with Serializable

    Permalink
  27. final case class ListNotebooks(paths: List[ShortString]) extends Message with Product with Serializable

    Permalink
  28. final case class LoadNotebook(path: ShortString) extends Message with Product with Serializable

    Permalink
  29. sealed trait Message extends AnyRef

    Permalink
  30. abstract class MessageCompanion[T] extends AnyRef

    Permalink
  31. final case class ModifyStream(fromHandle: Int, ops: TinyList[TableOp], newRepr: Option[StreamingDataRepr]) extends Message with Product with Serializable

    Permalink

    ****************************************************** * Specifically for streams of structs (i.e.

    ****************************************************** * Specifically for streams of structs (i.e. tables) ** *****************************************************

  32. final case class Notebook(path: ShortString, cells: ShortList[NotebookCell], config: Option[NotebookConfig]) extends Message with Product with Serializable

    Permalink
  33. final case class NotebookCell(id: CellID, language: TinyString, content: Rope, results: ShortList[Result] = ShortList(Nil), metadata: CellMetadata = CellMetadata(), comments: ShortMap[CommentID, Comment] = Map.empty[CommentID, Comment]) extends Product with Serializable

    Permalink
  34. final case class NotebookConfig(dependencies: Option[DependencyConfigs], exclusions: Option[TinyList[TinyString]], repositories: Option[TinyList[RepositoryConfig]], sparkConfig: Option[ShortMap[String, String]], sparkTemplate: Option[SparkPropertySet], env: Option[ShortMap[String, String]]) extends Product with Serializable

    Permalink
  35. sealed trait NotebookUpdate extends Message

    Permalink
  36. abstract class NotebookUpdateCompanion[T <: NotebookUpdate] extends MessageCompanion[T]

    Permalink
  37. final case class NotebookVersion(notebook: ShortString, globalVersion: Int) extends Message with Product with Serializable

    Permalink
  38. final case class ParametersAt(id: CellID, pos: Int, signatures: Option[Signatures]) extends Message with Product with Serializable

    Permalink
  39. final case class ReleaseHandle(handleType: HandleType, handle: Int) extends Message with Product with Serializable

    Permalink
  40. final case class RenameNotebook(path: ShortString, newPath: ShortString) extends Message with Product with Serializable

    Permalink
  41. final case class RunCell(ids: ShortList[CellID]) extends Message with Product with Serializable

    Permalink
  42. final case class RunningKernels(statuses: TinyList[(ShortString, KernelBusyState)]) extends Message with Product with Serializable

    Permalink
  43. final case class ServerHandshake(interpreters: TinyMap[TinyString, TinyString], serverVersion: TinyString, serverCommit: TinyString, identity: Option[Identity], sparkTemplates: List[SparkPropertySet]) extends Message with Product with Serializable

    Permalink
  44. final case class SetCellLanguage(globalVersion: Int, localVersion: Int, id: CellID, language: TinyString) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  45. final case class SetCellOutput(globalVersion: Int, localVersion: Int, id: CellID, output: Option[Output]) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  46. type ShortList[A] = List[A] with Tagged[ShortTag]

    Permalink
  47. type ShortMap[A, B] = Map[A, B] with Tagged[ShortTag]

    Permalink
  48. type ShortString = String with Tagged[ShortTag]

    Permalink
  49. trait ShortTag extends AnyRef

    Permalink
  50. final case class StartKernel(level: Byte) extends Message with Product with Serializable

    Permalink
  51. type TinyList[A] = List[A] with Tagged[TinyTag]

    Permalink
  52. type TinyMap[A, B] = Map[A, B] with Tagged[TinyTag]

    Permalink
  53. type TinyString = String with Tagged[TinyTag]

    Permalink
  54. trait TinyTag extends AnyRef

    Permalink
  55. final case class UpdateCell(globalVersion: Int, localVersion: Int, id: CellID, edits: ContentEdits, metadata: Option[CellMetadata]) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  56. final case class UpdateComment(globalVersion: Int, localVersion: Int, cellId: CellID, commentId: CommentID, range: CellRange, content: ShortString) extends Message with NotebookUpdate with Product with Serializable

    Permalink
  57. final case class UpdateConfig(globalVersion: Int, localVersion: Int, config: NotebookConfig) extends Message with NotebookUpdate with Product with Serializable

    Permalink

Value Members

  1. implicit def ByteVector32(byteVector: ByteVector): ByteVector32

    Permalink
  2. object CancelTasks extends MessageCompanion[CancelTasks] with Serializable

    Permalink
  3. def CellID(i: Int): CellID

    Permalink
  4. object CellMetadata extends Serializable

    Permalink
  5. object CellResult extends MessageCompanion[CellResult] with Serializable

    Permalink
  6. object ClearOutput extends MessageCompanion[ClearOutput] with Serializable

    Permalink
  7. object Comment extends Serializable

    Permalink
  8. object CompletionsAt extends MessageCompanion[CompletionsAt] with Serializable

    Permalink
  9. object ContentEdit

    Permalink
  10. object ContentEdits extends Serializable

    Permalink
  11. object CopyNotebook extends MessageCompanion[CopyNotebook] with Serializable

    Permalink
  12. object CreateComment extends NotebookUpdateCompanion[CreateComment] with Serializable

    Permalink
  13. object CreateNotebook extends MessageCompanion[CreateNotebook] with Serializable

    Permalink
  14. object CurrentSelection extends MessageCompanion[CurrentSelection] with Serializable

    Permalink
  15. object Delete extends Serializable

    Permalink
  16. object DeleteCell extends NotebookUpdateCompanion[DeleteCell] with Serializable

    Permalink
  17. object DeleteComment extends NotebookUpdateCompanion[DeleteComment] with Serializable

    Permalink
  18. object DeleteNotebook extends MessageCompanion[DeleteNotebook] with Serializable

    Permalink
  19. object Error extends MessageCompanion[Error] with Serializable

    Permalink
  20. object HandleData extends MessageCompanion[HandleData] with Serializable

    Permalink
  21. object HandleType

    Permalink
  22. object Insert extends Serializable

    Permalink
  23. object InsertCell extends NotebookUpdateCompanion[InsertCell] with Serializable

    Permalink
  24. object KernelStatus extends MessageCompanion[KernelStatus] with Serializable

    Permalink
  25. object Lazy extends HandleType with Product with Serializable

    Permalink

    *************************************** * Stuff for stream-ish value handling ** ***************************************

  26. object ListNotebooks extends MessageCompanion[ListNotebooks] with Serializable

    Permalink
  27. object LoadNotebook extends MessageCompanion[LoadNotebook] with Serializable

    Permalink
  28. object Message

    Permalink
  29. object ModifyStream extends MessageCompanion[ModifyStream] with Serializable

    Permalink
  30. object Notebook extends MessageCompanion[Notebook] with Serializable

    Permalink
  31. object NotebookCell extends Serializable

    Permalink
  32. object NotebookConfig extends Serializable

    Permalink
  33. object NotebookUpdate

    Permalink
  34. object NotebookVersion extends MessageCompanion[NotebookVersion] with Serializable

    Permalink
  35. object ParametersAt extends MessageCompanion[ParametersAt] with Serializable

    Permalink
  36. object ReleaseHandle extends MessageCompanion[ReleaseHandle] with Serializable

    Permalink
  37. object RenameNotebook extends MessageCompanion[RenameNotebook] with Serializable

    Permalink
  38. object RunCell extends MessageCompanion[RunCell] with Serializable

    Permalink
  39. object RunningKernels extends MessageCompanion[RunningKernels] with Serializable

    Permalink
  40. object ServerHandshake extends MessageCompanion[ServerHandshake] with Serializable

    Permalink
  41. object SetCellLanguage extends NotebookUpdateCompanion[SetCellLanguage] with Serializable

    Permalink
  42. object SetCellOutput extends NotebookUpdateCompanion[SetCellOutput] with Serializable

    Permalink
  43. object ShortList extends Serializable

    Permalink
  44. def ShortMap[A, B](t: (A, B)*): ShortMap[A, B]

    Permalink
  45. def ShortMap[A, B](map: Map[A, B]): ShortMap[A, B]

    Permalink
  46. object ShortString extends (String) ⇒ ShortString with Serializable

    Permalink
  47. object StartKernel extends MessageCompanion[StartKernel] with Serializable

    Permalink
  48. object Streaming extends HandleType with Product with Serializable

    Permalink
  49. object TinyList extends Serializable

    Permalink
  50. def TinyMap[A, B](t: (A, B)*): TinyMap[A, B]

    Permalink
  51. def TinyMap[A, B](map: Map[A, B]): TinyMap[A, B]

    Permalink
  52. object TinyString extends Serializable

    Permalink
  53. object UpdateCell extends NotebookUpdateCompanion[UpdateCell] with Serializable

    Permalink
  54. object UpdateComment extends NotebookUpdateCompanion[UpdateComment] with Serializable

    Permalink
  55. object UpdateConfig extends NotebookUpdateCompanion[UpdateConfig] with Serializable

    Permalink
  56. object Updating extends HandleType with Product with Serializable

    Permalink
  57. implicit def arrayCodec[A](implicit arg0: ClassTag[A], aCodec: Codec[A]): Codec[Array[A]]

    Permalink
  58. implicit val byteVector32Codec: Codec[ByteVector32]

    Permalink
  59. implicit def eitherCodec[A, B](implicit cguard: Lazy[Codec[Boolean]], ca: Lazy[Codec[A]], cb: Lazy[Codec[B]]): Codec[Either[A, B]]

    Permalink
  60. implicit def int2cellId(i: Int): CellID

    Permalink
  61. implicit def iorCodec[A, B](implicit codecA: Codec[A], codecB: Codec[B]): Codec[Ior[A, B]]

    Permalink
  62. implicit def listString2ShortListTinyString(ls: List[String]): TinyList[TinyString]

    Permalink
  63. implicit def map2ShortMap[A, B](map: Map[A, B]): ShortMap[A, B]

    Permalink
  64. implicit def optionShortString(o: Option[String]): Option[ShortString]

    Permalink
  65. implicit def shortListCodec[A](implicit ca: Lazy[Codec[A]]): Codec[ShortList[A]]

    Permalink
  66. implicit def shortListDecoder[A](implicit listDecoder: Decoder[List[A]]): Decoder[ShortList[A]]

    Permalink
  67. implicit def shortListEncoder[A](implicit listEncoder: Encoder[List[A]]): Encoder[ShortList[A]]

    Permalink
  68. implicit def shortMapCodec[A, B](implicit ca: Lazy[Codec[A]], cb: Lazy[Codec[B]]): Codec[ShortMap[A, B]]

    Permalink
  69. implicit def shortMapDecoder[A, B](implicit dec: Decoder[Map[A, B]]): Decoder[ShortMap[A, B]]

    Permalink
  70. implicit def shortMapEncoder[A, B](implicit enc: Encoder[Map[A, B]]): Encoder[ShortMap[A, B]]

    Permalink
  71. implicit val shortStringCodec: Codec[ShortString]

    Permalink
  72. implicit val shortStringDecoder: Decoder[ShortString]

    Permalink
  73. implicit val shortStringEncoder: Encoder[ShortString]

    Permalink
  74. implicit def tinyListCodec[A](implicit ca: Lazy[Codec[A]]): Codec[TinyList[A]]

    Permalink
  75. implicit def tinyListDecoder[A](implicit listDecoder: Decoder[List[A]]): Decoder[TinyList[A]]

    Permalink
  76. implicit def tinyListEncoder[A](implicit listEncoder: Encoder[List[A]]): Encoder[TinyList[A]]

    Permalink
  77. implicit def tinyMapCodec[A, B](implicit ca: Lazy[Codec[A]], cb: Lazy[Codec[B]]): Codec[TinyMap[A, B]]

    Permalink
  78. implicit def tinyMapDecoder[A, B](implicit dec: Decoder[Map[A, B]]): Decoder[TinyMap[A, B]]

    Permalink
  79. implicit def tinyMapEncoder[A, B](implicit enc: Encoder[Map[A, B]]): Encoder[TinyMap[A, B]]

    Permalink
  80. implicit val tinyStringCodec: Codec[TinyString]

    Permalink
  81. implicit val tinyStringDecoder: Decoder[TinyString]

    Permalink
  82. implicit val tinyStringEncoder: Encoder[TinyString]

    Permalink
  83. implicit val tinyStringKeyDecoder: KeyDecoder[TinyString]

    Permalink
  84. implicit val tinyStringKeyEncoder: KeyEncoder[TinyString]

    Permalink
  85. implicit def truncateShortString(str: String): ShortString

    Permalink
  86. implicit def truncateTinyList[A](list: List[A]): TinyList[A]

    Permalink
  87. implicit def truncateTinyString(str: String): TinyString

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped