Package com.linkedin.venice.utils
Class PushInputSchemaBuilder
java.lang.Object
com.linkedin.venice.utils.PushInputSchemaBuilder
This class is a simple schema builder to generate Venice Push Job input file schema. This builder allows user to set
up key schema, value schema and additional unrelated fields. It will perform sanity check to make sure generated schema
is good for push job in integration test.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.avro.Schema
build()
setFieldSchema
(String fieldName, org.apache.avro.Schema fieldSchema) setKeySchema
(org.apache.avro.Schema schema) setValueSchema
(org.apache.avro.Schema schema)
-
Constructor Details
-
PushInputSchemaBuilder
public PushInputSchemaBuilder()
-
-
Method Details
-
setKeySchema
-
setValueSchema
-
setFieldSchema
-
build
public org.apache.avro.Schema build()
-