Package com.linkedin.davinci.client
Class DaVinciRecordTransformerConfig
- java.lang.Object
-
- com.linkedin.davinci.client.DaVinciRecordTransformerConfig
-
public class DaVinciRecordTransformerConfig extends java.lang.Object
Configuration class forDaVinciRecordTransformer
, which is passed intoDaVinciConfig
.
-
-
Constructor Summary
Constructors Constructor Description DaVinciRecordTransformerConfig(DaVinciRecordTransformerFunctionalInterface recordTransformerFunction, java.lang.Class outputValueClass, org.apache.avro.Schema outputValueSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getOutputValueClass()
org.apache.avro.Schema
getOutputValueSchema()
DaVinciRecordTransformer
getRecordTransformer(java.lang.Integer storeVersion)
DaVinciRecordTransformerFunctionalInterface
getRecordTransformerFunction()
-
-
-
Constructor Detail
-
DaVinciRecordTransformerConfig
public DaVinciRecordTransformerConfig(DaVinciRecordTransformerFunctionalInterface recordTransformerFunction, java.lang.Class outputValueClass, org.apache.avro.Schema outputValueSchema)
- Parameters:
recordTransformerFunction
- the functional interface for creating aDaVinciRecordTransformer
outputValueClass
- the class of the output valueoutputValueSchema
- the schema of the output value
-
-
Method Detail
-
getRecordTransformerFunction
public DaVinciRecordTransformerFunctionalInterface getRecordTransformerFunction()
- Returns:
recordTransformerFunction
-
getRecordTransformer
public DaVinciRecordTransformer getRecordTransformer(java.lang.Integer storeVersion)
- Parameters:
storeVersion
- the store version- Returns:
- a new
DaVinciRecordTransformer
-
getOutputValueClass
public java.lang.Class getOutputValueClass()
- Returns:
outputValueClass
-
getOutputValueSchema
public org.apache.avro.Schema getOutputValueSchema()
- Returns:
outputValueSchema
-
-