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, taskId: Option[TinyString]) 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 KeepAlive(payload: Byte) extends Message with Product with Serializable

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

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

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

    Permalink
  30. sealed trait Message extends AnyRef

    Permalink
  31. abstract class MessageCompanion[T] extends AnyRef

    Permalink
  32. 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) ** *****************************************************

  33. final case class MoveCell(globalVersion: Int, localVersion: Int, id: CellID, after: CellID) extends Message with NotebookUpdate with Product with Serializable

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

    Permalink
  35. 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
  36. 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]], scalaVersion: Option[String] = None, jvmArgs: Option[TinyList[String]] = None) extends Product with Serializable

    Permalink
  37. sealed trait NotebookUpdate extends Message

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

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

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

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

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

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

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

    Permalink
  45. 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
  46. final case class SetCellLanguage(globalVersion: Int, localVersion: Int, id: CellID, language: TinyString) extends Message with NotebookUpdate with Product with Serializable

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

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

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

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

    Permalink
  51. trait ShortTag extends AnyRef

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

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

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

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

    Permalink
  56. trait TinyTag extends AnyRef

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

    Permalink
  58. 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
  59. 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 KeepAlive extends MessageCompanion[KeepAlive] with Serializable

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

    Permalink
  26. object Lazy extends HandleType with Product with Serializable

    Permalink

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

  27. object ListNotebooks extends MessageCompanion[ListNotebooks] with Serializable

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

    Permalink
  29. object Message

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

    Permalink
  31. object MoveCell extends NotebookUpdateCompanion[MoveCell] with Serializable

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

    Permalink
  33. object NotebookCell extends Serializable

    Permalink
  34. object NotebookConfig extends Serializable

    Permalink
  35. object NotebookUpdate

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

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

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

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

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

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

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

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

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

    Permalink
  45. object ShortList extends Serializable

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

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

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

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

    Permalink
  50. object Streaming extends HandleType with Product with Serializable

    Permalink
  51. object TinyList extends Serializable

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

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

    Permalink
  54. object TinyString extends Serializable

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

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

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

    Permalink
  58. object Updating extends HandleType with Product with Serializable

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

    Permalink
  60. implicit val byteVector32Codec: Codec[ByteVector32]

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

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

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

    Permalink
  64. implicit def listString2TinyListTinyString(ls: List[String]): TinyList[TinyString]

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

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

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

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

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

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

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

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

    Permalink
  73. implicit val shortStringCodec: Codec[ShortString]

    Permalink
  74. implicit val shortStringDecoder: Decoder[ShortString]

    Permalink
  75. implicit val shortStringEncoder: Encoder[ShortString]

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

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

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

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

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

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

    Permalink
  82. implicit val tinyStringCodec: Codec[TinyString]

    Permalink
  83. implicit val tinyStringDecoder: Decoder[TinyString]

    Permalink
  84. implicit val tinyStringEncoder: Encoder[TinyString]

    Permalink
  85. implicit val tinyStringKeyDecoder: KeyDecoder[TinyString]

    Permalink
  86. implicit val tinyStringKeyEncoder: KeyEncoder[TinyString]

    Permalink
  87. implicit def truncateShortList[T](list: List[T]): ShortList[T]

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped