Package com.linkedin.venice.schema.vson
Class VsonSchema
- java.lang.Object
-
- com.linkedin.venice.schema.vson.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 Summary
Constructors Modifier Constructor Description protected
VsonSchema(java.lang.Object type)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.static java.lang.String
format(java.lang.Object type)
Deprecated.java.lang.Object
getType()
Deprecated.int
hashCode()
Deprecated.VsonSchema
listSubtype()
Deprecated.static VsonSchema
parse(java.lang.String vsonSchemaStr)
Deprecated.VsonSchema
projectionType(java.lang.String... properties)
Deprecated.Get the type created by selecting only a subset of properties from this type.VsonSchema
recordSubtype(java.lang.String field)
Deprecated.java.lang.String
toString()
Deprecated.void
validate()
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 classjava.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 classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-