Packages

package utils

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class CloseableIterator[+T] extends Iterator[T]
  2. class ContextObjectInputStream extends ObjectInputStream
  3. trait ParamEquality[T] extends Param[T]
  4. trait ParamGroup extends Serializable

    Derive from this to create an encapsulated subset of params that can be integrated into a parent ParamsStringBuilder with appendParamsSet, Useful for encapsulating Params into smaller subsets.

  5. class ParamsStringBuilder extends Serializable

    Helper class for converting individual typed parameters to a single long string for passing to native libraries.

    Helper class for converting individual typed parameters to a single long string for passing to native libraries.

    Example: new ParamsStringBuilder(prefix = "--", delimiter = "=") .append("--first_param=a") .appendParamValueIfNotThere("first_param", Option("a2")) .appendParamValueIfNotThere("second_param", Option("b")) .appendParamValueIfNotThere("third_param", None) .result

    result == "--first_param=a --second_param=b"

    This utility mimics a traditional StringBuilder, where you append parts and ask for the final result() at the end. Each parameter appended is tracked and can be compared against the current string, to both avoid duplicates and provide an override mechanism. The first param added is considered the primary one to not be replaced.

    Use 'append' to add an unchecked string directly to end of current string.

    Use ParamsSet to create encapsulated subsets of params that can be incorporated into the parent ParamsStringBuilder.

    There is also integration with the SparkML Params system. Construct with a parent Params object and use the methods with Param arguments.

  6. class StopWatch extends AnyRef

Value Members

  1. object AsyncUtils
  2. object BreezeUtils
  3. object CastUtilities

    Utilities for casting values.

  4. object ClusterUtil
  5. object FaultToleranceUtils
  6. object JarLoadingUtils

    Contains logic for loading classes.

  7. object ModelEquality
  8. object OsUtils

Ungrouped