Object

org.apache.flink.ml.common

FlinkMLTools

Related Doc: package common

Permalink

object FlinkMLTools

FlinkMLTools contains a set of convenience functions for Flink's machine learning library:

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val EXECUTION_ENVIRONMENT_NAME: String

    Permalink
  5. object ModuloKeyPartitioner extends Partitioner[Int]

    Permalink

    Distributes the elements by taking the modulo of their keys and assigning it to this channel

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def block[T](input: DataSet[T], numBlocks: Int, partitionerOption: Option[Partitioner[Int]] = None)(implicit arg0: TypeInformation[T], arg1: ClassTag[T]): DataSet[Block[T]]

    Permalink

    Groups the DataSet input into numBlocks blocks.

    Groups the DataSet input into numBlocks blocks.

    T

    Type of the DataSet's elements

    input

    the input dataset

    numBlocks

    Number of Blocks

    partitionerOption

    Optional partitioner to control the partitioning

    returns

    The different datasets grouped into blocks

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def persist[A, B, C, D, E](ds1: DataSet[A], ds2: DataSet[B], ds3: DataSet[C], ds4: DataSet[D], ds5: DataSet[E], path1: String, path2: String, path3: String, path4: String, path5: String)(implicit arg0: ClassTag[A], arg1: TypeInformation[A], arg2: ClassTag[B], arg3: TypeInformation[B], arg4: ClassTag[C], arg5: TypeInformation[C], arg6: ClassTag[D], arg7: TypeInformation[D], arg8: ClassTag[E], arg9: TypeInformation[E]): (DataSet[A], DataSet[B], DataSet[C], DataSet[D], DataSet[E])

    Permalink

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    A

    Type of first DataSet's elements

    B

    Type of second DataSet's elements

    C

    Type of third DataSet's elements

    D

    Type of fourth DataSet's elements

    E

    Type of fifth DataSet's elements

    ds1

    First DataSet to write to disk

    ds2

    Second DataSet to write to disk

    ds3

    Third DataSet to write to disk

    ds4

    Fourth DataSet to write to disk

    ds5

    Fifth DataSet to write to disk

    path1

    Path for ds1

    path2

    Path for ds2

    path3

    Path for ds3

    path4

    Path for ds4

    path5

    Path for ds5

    returns

    Tuple of DataSets reading the just written files

  19. def persist[A, B, C, D](ds1: DataSet[A], ds2: DataSet[B], ds3: DataSet[C], ds4: DataSet[D], path1: String, path2: String, path3: String, path4: String)(implicit arg0: ClassTag[A], arg1: TypeInformation[A], arg2: ClassTag[B], arg3: TypeInformation[B], arg4: ClassTag[C], arg5: TypeInformation[C], arg6: ClassTag[D], arg7: TypeInformation[D]): (DataSet[A], DataSet[B], DataSet[C], DataSet[D])

    Permalink

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    A

    Type of first DataSet's elements

    B

    Type of second DataSet's elements

    C

    Type of third DataSet's elements

    D

    Type of fourth DataSet's elements

    ds1

    First DataSet to write to disk

    ds2

    Second DataSet to write to disk

    ds3

    Third DataSet to write to disk

    ds4

    Fourth DataSet to write to disk

    path1

    Path for ds1

    path2

    Path for ds2

    path3

    Path for ds3

    path4

    Path for ds4

    returns

    Tuple of DataSets reading the just written files

  20. def persist[A, B, C](ds1: DataSet[A], ds2: DataSet[B], ds3: DataSet[C], path1: String, path2: String, path3: String)(implicit arg0: ClassTag[A], arg1: TypeInformation[A], arg2: ClassTag[B], arg3: TypeInformation[B], arg4: ClassTag[C], arg5: TypeInformation[C]): (DataSet[A], DataSet[B], DataSet[C])

    Permalink

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    A

    Type of first DataSet's elements

    B

    Type of second DataSet's elements

    C

    Type of third DataSet's elements

    ds1

    First DataSet to write to disk

    ds2

    Second DataSet to write to disk

    ds3

    Third DataSet to write to disk

    path1

    Path for ds1

    path2

    Path for ds2

    path3

    Path for ds3

    returns

    Tuple of DataSets reading the just written files

  21. def persist[A, B](ds1: DataSet[A], ds2: DataSet[B], path1: String, path2: String)(implicit arg0: ClassTag[A], arg1: TypeInformation[A], arg2: ClassTag[B], arg3: TypeInformation[B]): (DataSet[A], DataSet[B])

    Permalink

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    Writes multiple DataSets to the specified paths and returns them as DataSources for subsequent operations.

    A

    Type of the first DataSet's elements

    B

    Type of the second DataSet's elements

    ds1

    First DataSet to write to disk

    ds2

    Second DataSet to write to disk

    path1

    Path for ds1

    path2

    Path for ds2

    returns

    Tuple of DataSets reading the just written files

  22. def persist[T](dataset: DataSet[T], path: String)(implicit arg0: ClassTag[T], arg1: TypeInformation[T]): DataSet[T]

    Permalink

    Writes a DataSet to the specified path and returns it as a DataSource for subsequent operations.

    Writes a DataSet to the specified path and returns it as a DataSource for subsequent operations.

    T

    Type of the DataSet elements

    dataset

    DataSet to write to disk

    path

    File path to write dataset to

    returns

    DataSet reading the just written file

  23. def registerFlinkMLTypes(env: ExecutionEnvironment): Unit

    Permalink

    Registers the different FlinkML related types for Kryo serialization

    Registers the different FlinkML related types for Kryo serialization

    env

    The Flink execution environment where the types need to be registered

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped