Class 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 
      Modifier and Type Field Description
      static java.lang.String BYTE_WRAPPER
      Deprecated.
       
      static java.lang.String DEFAULT_DOC
      Deprecated.
       
      static java.lang.String DEFAULT_NAMESPACE
      Deprecated.
       
      static java.lang.String SHORT_WRAPPER
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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).
      static org.apache.avro.Schema parse​(java.lang.String vsonSchemaStr)
      Deprecated.
       
      static org.apache.avro.Schema stripFromUnion​(org.apache.avro.Schema schema)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_DOC

        public static final java.lang.String DEFAULT_DOC
        Deprecated.
      • DEFAULT_NAMESPACE

        public static final java.lang.String DEFAULT_NAMESPACE
        Deprecated.
      • BYTE_WRAPPER

        public static final java.lang.String BYTE_WRAPPER
        Deprecated.
        See Also:
        Constant Field Values
      • SHORT_WRAPPER

        public static final java.lang.String SHORT_WRAPPER
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • parse

        public static org.apache.avro.Schema parse​(java.lang.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.