Package com.linkedin.davinci.client
Class DaVinciRecordTransformerResult<O>
java.lang.Object
com.linkedin.davinci.client.DaVinciRecordTransformerResult<O>
- Type Parameters:
O
- the type of the output value
This class encapsulates the result of
DaVinciRecordTransformer.transform(com.linkedin.venice.utils.lazy.Lazy<K>, com.linkedin.venice.utils.lazy.Lazy<V>)
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionUse this constructor if result isDaVinciRecordTransformerResult.Result.SKIP
orDaVinciRecordTransformerResult.Result.UNCHANGED
DaVinciRecordTransformerResult
(DaVinciRecordTransformerResult.Result result, O value) Use this constructor if result isDaVinciRecordTransformerResult.Result.TRANSFORMED
-
Method Summary
-
Constructor Details
-
DaVinciRecordTransformerResult
Use this constructor if result isDaVinciRecordTransformerResult.Result.SKIP
orDaVinciRecordTransformerResult.Result.UNCHANGED
-
DaVinciRecordTransformerResult
Use this constructor if result isDaVinciRecordTransformerResult.Result.TRANSFORMED
-
-
Method Details
-
getResult
-
getValue
- Returns:
- the transformed record
-