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 Details

    • DEFAULT_DOC

      public static final String DEFAULT_DOC
      Deprecated.
    • DEFAULT_NAMESPACE

      public static final String DEFAULT_NAMESPACE
      Deprecated.
    • BYTE_WRAPPER

      public static final String BYTE_WRAPPER
      Deprecated.
      See Also:
    • SHORT_WRAPPER

      public static final String SHORT_WRAPPER
      Deprecated.
      See Also:
  • Method Details

    • parse

      public static org.apache.avro.Schema parse(String vsonSchemaStr)
      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.