congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
TranslateGraphIds.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.flink.graph.asm.translate.TranslateGraphIds
constructor

Best Java code snippets using org.apache.flink.graph.asm.translate.TranslateGraphIds.<init> (Showing top 5 results out of 315)

origin: apache/flink

/**
 * Translate {@link Vertex} and {@link Edge} IDs using the given {@link MapFunction}.
 *
 * @param translator implements conversion from {@code K} to {@code NEW}
 * @param <NEW> new ID type
 * @return graph with translated vertex and edge IDs
 * @throws Exception
 */
public <NEW> Graph<NEW, VV, EV> translateGraphIds(TranslateFunction<K, NEW> translator) throws Exception {
  return run(new TranslateGraphIds<>(translator));
}
origin: apache/flink

  return input;
} else {
  return (Graph<?, VV, EV>) input.run(new TranslateGraphIds(translator));
origin: org.apache.flink/flink-gelly_2.11

/**
 * Translate {@link Vertex} and {@link Edge} IDs using the given {@link MapFunction}.
 *
 * @param translator implements conversion from {@code K} to {@code NEW}
 * @param <NEW> new ID type
 * @return graph with translated vertex and edge IDs
 * @throws Exception
 */
public <NEW> Graph<NEW, VV, EV> translateGraphIds(TranslateFunction<K, NEW> translator) throws Exception {
  return run(new TranslateGraphIds<>(translator));
}
origin: org.apache.flink/flink-gelly_2.10

/**
 * Translate {@link Vertex} and {@link Edge} IDs using the given {@link MapFunction}.
 *
 * @param translator implements conversion from {@code K} to {@code NEW}
 * @param <NEW> new ID type
 * @return graph with translated vertex and edge IDs
 * @throws Exception
 */
public <NEW> Graph<NEW, VV, EV> translateGraphIds(TranslateFunction<K, NEW> translator) throws Exception {
  return run(new TranslateGraphIds<K, NEW, VV, EV>(translator));
}
origin: com.alibaba.blink/flink-gelly

/**
 * Translate {@link Vertex} and {@link Edge} IDs using the given {@link MapFunction}.
 *
 * @param translator implements conversion from {@code K} to {@code NEW}
 * @param <NEW> new ID type
 * @return graph with translated vertex and edge IDs
 * @throws Exception
 */
public <NEW> Graph<NEW, VV, EV> translateGraphIds(TranslateFunction<K, NEW> translator) throws Exception {
  return run(new TranslateGraphIds<>(translator));
}
org.apache.flink.graph.asm.translateTranslateGraphIds<init>

Javadoc

Translate Vertex and Edge IDs of a Graph using the given TranslateFunction.

Popular methods of TranslateGraphIds

    Popular in Java

    • Start an intent from android
    • setRequestProperty (URLConnection)
    • getSystemService (Context)
    • setContentView (Activity)
    • File (java.io)
      An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
    • Iterator (java.util)
      An iterator over a sequence of objects, such as a collection.If a collection has been changed since
    • BlockingQueue (java.util.concurrent)
      A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
    • CountDownLatch (java.util.concurrent)
      A synchronization aid that allows one or more threads to wait until a set of operations being perfor
    • BoxLayout (javax.swing)
    • JLabel (javax.swing)
    • PhpStorm for WordPress
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now