Packages

object LastCheckpointInfo extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LastCheckpointInfo
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val STORED_CHECKSUM_KEY: String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checksumEnabled(spark: SparkSession): Boolean

    Whether to store checksum OR do checksum validations around LastCheckpointInfo

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def deserializeFromJson(jsonStr: String, validate: Boolean): LastCheckpointInfo

    Converts the given jsonStr into a LastCheckpointInfo object.

    Converts the given jsonStr into a LastCheckpointInfo object. if validate is set, then it also validates the consistency of the json:

    • calculating the checksum and comparing it with the storedChecksum.
    • json should not have any duplicates.
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromFiles(files: Seq[FileStatus]): LastCheckpointInfo
  13. def getChecksums(jsonStr: String): (Option[String], String)

    Analyzes the json representation of LastCheckpointInfo and returns checksum tuple where - first element refers to the stored checksum in the json representation of LastCheckpointInfo, None if the checksum is not present.

    Analyzes the json representation of LastCheckpointInfo and returns checksum tuple where - first element refers to the stored checksum in the json representation of LastCheckpointInfo, None if the checksum is not present. - second element refers to the checksum computed from the canonicalized json representation of the LastCheckpointInfo.

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def serializeToJson(lastCheckpointInfo: LastCheckpointInfo, addChecksum: Boolean, suppressOptionalFields: Boolean = false): String

    Returns the json representation of this LastCheckpointInfo object.

    Returns the json representation of this LastCheckpointInfo object. Also adds the checksum to the returned json if addChecksum is set. The checksum can be used by readers to validate consistency of the LastCheckpointInfo. It is calculated using rules mentioned in "JSON checksum" section in PROTOCOL.md.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def treeNodeToChecksum(treeNode: JsonNode): String

    Canonicalizes the given treeNode json and returns its md5 checksum.

    Canonicalizes the given treeNode json and returns its md5 checksum. Refer to "JSON checksum" section in PROTOCOL.md for canonicalization steps.

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped