Package-level declarations
Types
Link copied to clipboard
class ChangeApplyError(val docKey: String? = null, val changeID: String, val opIndex: Int? = null, val operation: String? = null, cause: Throwable?) : YorkieException
ChangeApplyError is thrown when a change cannot be applied to a document (JS error.ts ChangeApplyError, 4251ab7e, #1403).
Link copied to clipboard
IndexTreeNode is the node of IndexTree. It is used to represent the document of text-based editors.
Link copied to clipboard
This is a specialized MutableList for IndexTree. It is intended to cache active tree nodes list for better performance.
Link copied to clipboard
Link copied to clipboard
open class YorkieException(val code: YorkieException.Code, val errorMessage: String) : RuntimeException
YorkieError is an error returned by a Yorkie operation.
Functions
Link copied to clipboard
addDataSizes adds the size of a resource to the target resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
subDataSize subtracts the size of a resource from the target resource.
Link copied to clipboard
totalDataSize calculates the total size of a resource.
Link copied to clipboard
totalDocSize calculates the total size of a document.