Packages

o

org.apache.graphar.graph

GraphTransformer

object GraphTransformer

The helper object for transforming graphs through the definitions of their infos.

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

Value Members

  1. def transform(sourceGraphInfoPath: String, destGraphInfoPath: String, spark: SparkSession): Unit

    Transform the graphs following the meta data defined in info files.

    Transform the graphs following the meta data defined in info files.

    sourceGraphInfoPath

    The path of the graph info yaml file for the source graph.

    destGraphInfoPath

    The path of the graph info yaml file for the destination graph.

    spark

    The Spark session for the transformer.

  2. def transform(sourceGraphInfo: GraphInfo, destGraphInfo: GraphInfo, spark: SparkSession): Unit

    Transform the graphs following the meta data defined in graph info objects.

    Transform the graphs following the meta data defined in graph info objects.

    sourceGraphInfo

    The info object for the source graph.

    destGraphInfo

    The info object for the destination graph.

    spark

    The Spark session for the transformer.