public class LongToLongValue extends Object implements TranslateFunction<Long,LongValue>
Constructor and Description |
---|
LongToLongValue() |
Modifier and Type | Method and Description |
---|---|
LongValue |
translate(Long value,
LongValue reuse)
The translating method.
|
public LongValue translate(Long value, LongValue reuse) throws Exception
TranslateFunction
translate
in interface TranslateFunction<Long,LongValue>
value
- input value.reuse
- value which may be reused for output; if reuse is null then a new output object
must be instantiated and returnedException
- This method may throw exceptions. Throwing an exception will cause the
operation to fail and may trigger recovery.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.