K
- graph ID typepublic interface TranslatableResult<K>
Modifier and Type | Method and Description |
---|---|
<T> TranslatableResult<T> |
translate(TranslateFunction<K,T> translator,
TranslatableResult<T> reuse,
Collector<TranslatableResult<T>> out)
Output the result after transforming the vertex ID type.
|
<T> TranslatableResult<T> translate(TranslateFunction<K,T> translator, TranslatableResult<T> reuse, Collector<TranslatableResult<T>> out) throws Exception
T
- ID output typetranslator
- translates type K
to type T
reuse
- reusable valueout
- output collectorException
- on errorCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.