Package com.linkedin.venice.schema
Class GeneratedSchemaEntry
- java.lang.Object
-
- com.linkedin.venice.schema.SchemaEntry
-
- com.linkedin.venice.schema.GeneratedSchemaEntry
-
- Direct Known Subclasses:
DerivedSchemaEntry
,RmdSchemaEntry
public class GeneratedSchemaEntry extends SchemaEntry
This is an abstract class which represents a generic class associating a generated schema id with it's corresponding value schema id
-
-
Field Summary
Fields Modifier and Type Field Description protected int
valueSchemaID
-
Fields inherited from class com.linkedin.venice.schema.SchemaEntry
DEFAULT_SCHEMA_CREATION_COMPATIBILITY_TYPE
-
-
Constructor Summary
Constructors Constructor Description GeneratedSchemaEntry(int valueSchemaID, int protocolVersion, byte[] bytes)
GeneratedSchemaEntry(int valueSchemaID, int protocolVersion, java.lang.String schemaStr)
GeneratedSchemaEntry(int valueSchemaID, int protocolVersion, org.apache.avro.Schema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getValueSchemaID()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class com.linkedin.venice.schema.SchemaEntry
clone, getCanonicalSchemaStr, getId, getSchema, getSchemaBytes, getSchemaStr, isNewSchemaCompatible, toString
-
-
-
-
Constructor Detail
-
GeneratedSchemaEntry
public GeneratedSchemaEntry(int valueSchemaID, int protocolVersion, java.lang.String schemaStr)
-
GeneratedSchemaEntry
public GeneratedSchemaEntry(int valueSchemaID, int protocolVersion, org.apache.avro.Schema schema)
-
GeneratedSchemaEntry
public GeneratedSchemaEntry(int valueSchemaID, int protocolVersion, byte[] bytes)
-
-
Method Detail
-
getValueSchemaID
public int getValueSchemaID()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classSchemaEntry
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSchemaEntry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSchemaEntry
-
-