Package com.linkedin.davinci.client
Class DaVinciRecordTransformerConfig
java.lang.Object
com.linkedin.davinci.client.DaVinciRecordTransformerConfig
Configuration class for
DaVinciRecordTransformer
, which is passed into DaVinciConfig
.-
Constructor Summary
ConstructorDescriptionDaVinciRecordTransformerConfig
(DaVinciRecordTransformerFunctionalInterface recordTransformerFunction, Class outputValueClass, org.apache.avro.Schema outputValueSchema) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.avro.Schema
-
Constructor Details
-
DaVinciRecordTransformerConfig
public DaVinciRecordTransformerConfig(DaVinciRecordTransformerFunctionalInterface recordTransformerFunction, 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 Details
-
getRecordTransformerFunction
- Returns:
recordTransformerFunction
-
getOutputValueClass
- Returns:
outputValueClass
-
getOutputValueSchema
public org.apache.avro.Schema getOutputValueSchema()- Returns:
outputValueSchema
-