Class VsonSchema

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public final class VsonSchema
    extends java.lang.Object
    implements java.io.Serializable
    Deprecated.
    See Also:
    Serialized Form
    • Constructor Detail

      • VsonSchema

        protected VsonSchema​(java.lang.Object type)
        Deprecated.
    • Method Detail

      • parse

        public static VsonSchema parse​(java.lang.String vsonSchemaStr)
        Deprecated.
      • projectionType

        public VsonSchema projectionType​(java.lang.String... properties)
        Deprecated.
        Get the type created by selecting only a subset of properties from this type. The type must be a map for this to work
        Parameters:
        properties - The properties to select
        Returns:
        The new type definition
      • listSubtype

        public VsonSchema listSubtype()
        Deprecated.
      • recordSubtype

        public VsonSchema recordSubtype​(java.lang.String field)
        Deprecated.
      • getType

        public java.lang.Object getType()
        Deprecated.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • format

        public static java.lang.String format​(java.lang.Object type)
        Deprecated.
      • validate

        public void validate()
        Deprecated.
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object