Packages

final class Fingerprints extends AnyRef

Fingerprints of compilation. They are constructed from both source code and configuration. The library uses the fingerprints, for example, to verify that the incremental compilation is done using the same setup as a previous full compilation, and to disable incremental compilation otherwise.

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

Instance Constructors

  1. new Fingerprints(frameworkVersion: String, compilerVersion: String, configurationHashCode: Int, scalaBinaryVersion: String, inputCatalogSubsetsFingerprints: Map[String, String] = Map.empty, customHashCodes: Map[String, Int] = Map.empty, customUnnamedHashCodes: List[Int] = Nil)

    frameworkVersion

    The version of the processing library creating the fingerprints.

    compilerVersion

    The version of the compiler creating the fingerprints.

    configurationHashCode

    The hash code of the compiler configuration.

    scalaBinaryVersion

    The Scala version substring describing binary compatibility this version of the processing library depends on.

    inputCatalogSubsetsFingerprints

    Subsets fingerprints of all access restricted input catalogs.

    customHashCodes

    Map of custom hash codes, indexed by unique IDs. These can be used to store in the fingerprints additional hashes of data that is used for compilation but it is not passed as inData to the executors. Storing this information is important as incremental compilation must be disabled if this data changes. For example, hash codes of the broadcast variables used by one or more driver task can be stored here.

    customUnnamedHashCodes

    Sequence of unnamed custom hash codes. Unlike the named hash codes, the order of insertion is significant in this case.

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. def addCustomHash(hash: Int): Unit

    Adds a custom hash code to fingerprints.

    Adds a custom hash code to fingerprints.

    You can use this function if you have custom data that may affect compilation, to disable incremental compilation in case it changes.

    hash

    The hash code to be added.

  5. def addCustomHash(hash: Int, id: String): Unit

    Adds a custom hash code to fingerprints.

    Adds a custom hash code to fingerprints.

    You can use this function if you have custom data that may affect compilation, to disable incremental compilation in case it changes.

    hash

    The hash code to be added.

    id

    The ID of the custom hash code. Hash codes with IDs can be provided in any order.

  6. def aggregatedCustomHashCodes: Int

    The custom named hash codes aggregated into a single one.

  7. def aggregatedCustomUnnamedHashCodes: Int

    The custom unnamed hash codes aggregated into a single one.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. val compilerVersion: String
  11. val configurationHashCode: Int
  12. def copy(frameworkVersion: String = frameworkVersion, compilerVersion: String = compilerVersion, configurationHashCode: Int = configurationHashCode, scalaBinaryVersion: String = scalaBinaryVersion, inputCatalogSubsetsFingerprints: Map[String, String] = inputCatalogSubsetsFingerprints, customHashCodes: Map[String, Int] = customHashCodes, customUnnamedHashCodes: List[Int] = customUnnamedHashCodes): Fingerprints

    Creates a copy of the fingerprints, optionally overriding each component.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(that: Any): Boolean

    equals method override.

    equals method override.

    Definition Classes
    Fingerprints → AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. val frameworkVersion: String
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int

    hashCode method override.

    hashCode method override.

    Definition Classes
    Fingerprints → AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val scalaBinaryVersion: String
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toJSON: JObject

    Converts the fingerprints object to JSON.

  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped