Package com.linkedin.venice.schema.vson
Class VsonAvroSchemaAdapter
java.lang.Object
com.linkedin.venice.schema.vson.AbstractVsonSchemaAdapter<org.apache.avro.Schema>
com.linkedin.venice.schema.vson.VsonAvroSchemaAdapter
@Deprecated
public class VsonAvroSchemaAdapter
extends AbstractVsonSchemaAdapter<org.apache.avro.Schema>
Deprecated.
generate Avro schema. It will be invoked when creating new stores as Venice needs to convert Vson schema strings to Avro schemas.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.avro.SchemanullableUnion(org.apache.avro.Schema schema) Deprecated.Wrap a schema with a union so that it could return null if necessary From Vson's point of view, all fields can be optional (null is allowed to be return).static org.apache.avro.SchemaDeprecated.static org.apache.avro.SchemastripFromUnion(org.apache.avro.Schema schema) Deprecated.
-
Field Details
-
DEFAULT_DOC
Deprecated. -
DEFAULT_NAMESPACE
Deprecated. -
BYTE_WRAPPER
Deprecated.- See Also:
-
SHORT_WRAPPER
Deprecated.- See Also:
-
-
Method Details
-
parse
Deprecated. -
nullableUnion
public static org.apache.avro.Schema nullableUnion(org.apache.avro.Schema schema) Deprecated.Wrap a schema with a union so that it could return null if necessary From Vson's point of view, all fields can be optional (null is allowed to be return). -
stripFromUnion
public static org.apache.avro.Schema stripFromUnion(org.apache.avro.Schema schema) Deprecated.
-