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 | Method and Description |
---|---|
<T> TranslatableResult<T> |
UnaryResultBase.translate(TranslateFunction<K,T> translator,
TranslatableResult<T> reuse,
Collector<TranslatableResult<T>> out) |
<T> TranslatableResult<T> |
TranslatableResult.translate(TranslateFunction<K,T> translator,
TranslatableResult<T> reuse,
Collector<TranslatableResult<T>> out)
Output the result after transforming the vertex ID type.
|
<T> TranslatableResult<T> |
TertiaryResultBase.translate(TranslateFunction<K,T> translator,
TranslatableResult<T> reuse,
Collector<TranslatableResult<T>> out) |
<T> TranslatableResult<T> |
BinaryResultBase.translate(TranslateFunction<K,T> translator,
TranslatableResult<T> reuse,
Collector<TranslatableResult<T>> out) |
Modifier and Type | Class and Description |
---|---|
class |
RichTranslateFunction<IN,OUT>
Rich variant of the
TranslateFunction . |
Modifier and Type | Method and Description |
---|---|
static <OLD,NEW,EV> |
Translate.translateEdgeIds(DataSet<Edge<OLD,EV>> edges,
TranslateFunction<OLD,NEW> translator)
Translate
Edge IDs using the given TranslateFunction . |
static <OLD,NEW,EV> |
Translate.translateEdgeIds(DataSet<Edge<OLD,EV>> edges,
TranslateFunction<OLD,NEW> translator,
int parallelism)
Translate
Edge IDs using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateEdgeValues(DataSet<Edge<K,OLD>> edges,
TranslateFunction<OLD,NEW> translator)
Translate
Edge values using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateEdgeValues(DataSet<Edge<K,OLD>> edges,
TranslateFunction<OLD,NEW> translator,
int parallelism)
Translate
Edge values using the given TranslateFunction . |
static <OLD,NEW,VV> |
Translate.translateVertexIds(DataSet<Vertex<OLD,VV>> vertices,
TranslateFunction<OLD,NEW> translator)
Translate
Vertex IDs using the given TranslateFunction . |
static <OLD,NEW,VV> |
Translate.translateVertexIds(DataSet<Vertex<OLD,VV>> vertices,
TranslateFunction<OLD,NEW> translator,
int parallelism)
Translate
Vertex IDs using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateVertexValues(DataSet<Vertex<K,OLD>> vertices,
TranslateFunction<OLD,NEW> translator)
Translate
Vertex values using the given TranslateFunction . |
static <K,OLD,NEW> |
Translate.translateVertexValues(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 . |
Modifier and Type | Class and Description |
---|---|
class |
LongToLongValue
|
class |
LongValueAddOffset
Translate
LongValue by adding a constant offset value. |
class |
LongValueToSignedIntValue
|
class |
LongValueToStringValue
Translate
LongValue to StringValue . |
class |
LongValueToUnsignedIntValue
|
class |
ToNullValue<T>
Replace any type with
NullValue . |
Modifier and Type | Class and Description |
---|---|
static class |
GraphUtils.MapTo<I,O>
Map each element to a value.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.