Package | Description |
---|---|
org.apache.flink.graph | |
org.apache.flink.graph.asm.translate |
Modifier and Type | Method and Description |
---|---|
<NEW> Graph<K,VV,NEW> |
Graph.translateEdgeValues(TranslateFunction<EV,NEW> translator)
Translate
Edge values using the given MapFunction . |
<NEW> Graph<NEW,VV,EV> |
Graph.translateGraphIds(TranslateFunction<K,NEW> translator)
|
<NEW> Graph<K,NEW,EV> |
Graph.translateVertexValues(TranslateFunction<VV,NEW> translator)
Translate
Vertex values using the given MapFunction . |
Modifier and Type | Class and Description |
---|---|
class |
LongValueAddOffset
Translate
LongValue by adding a constant offset value. |
class |
LongValueToIntValue
Translate
LongValue to IntValue . |
class |
LongValueToStringValue
Translate
LongValue to StringValue . |
class |
RichTranslateFunction<IN,OUT>
Rich variant of the
TranslateFunction . |
Modifier and Type | Method and Description |
---|---|
static <OLD,NEW,EV> |
Translate.translateEdgeIds(org.apache.flink.api.java.DataSet<Edge<OLD,EV>> edges,
TranslateFunction<OLD,NEW> translator)
Translate
Edge IDs using the given TranslateFunction . |
static <OLD,NEW,EV> |
Translate.translateEdgeIds(org.apache.flink.api.java.DataSet<Edge<OLD,EV>> edges,
TranslateFunction<OLD,NEW> translator,
int parallelism)
Translate
Edge IDs using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateEdgeValues(org.apache.flink.api.java.DataSet<Edge<K,OLD>> edges,
TranslateFunction<OLD,NEW> translator)
Translate
Edge values using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateEdgeValues(org.apache.flink.api.java.DataSet<Edge<K,OLD>> edges,
TranslateFunction<OLD,NEW> translator,
int parallelism)
Translate
Edge values using the given TranslateFunction . |
static <OLD,NEW,VV> |
Translate.translateVertexIds(org.apache.flink.api.java.DataSet<Vertex<OLD,VV>> vertices,
TranslateFunction<OLD,NEW> translator)
Translate
Vertex IDs using the given TranslateFunction . |
static <OLD,NEW,VV> |
Translate.translateVertexIds(org.apache.flink.api.java.DataSet<Vertex<OLD,VV>> vertices,
TranslateFunction<OLD,NEW> translator,
int parallelism)
Translate
Vertex IDs using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateVertexValues(org.apache.flink.api.java.DataSet<Vertex<K,OLD>> vertices,
TranslateFunction<OLD,NEW> translator)
Translate
Vertex values using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateVertexValues(org.apache.flink.api.java.DataSet<Vertex<K,OLD>> vertices,
TranslateFunction<OLD,NEW> translator,
int parallelism)
Translate
Vertex values using the given TranslateFunction . |
Constructor and Description |
---|
TranslateEdgeValues(TranslateFunction<OLD,NEW> translator)
Translate
Edge values using the given TranslateFunction . |
TranslateGraphIds(TranslateFunction<OLD,NEW> translator)
|
TranslateVertexValues(TranslateFunction<OLD,NEW> translator)
Translate
Vertex values using the given TranslateFunction . |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.