Class GeneratedSchemaID

java.lang.Object
com.linkedin.venice.schema.GeneratedSchemaID

public class GeneratedSchemaID extends Object
In Venice, some schemas are generated, by deriving them from value schemas. These generated schemas are identified by a composite ID: - The valueSchemaID, which is the value schema that it was generated from. - The generatedSchemaVersion, which serves to version the generation logic itself, to account for future changes to how the generation is performed, yielding a different generated schema. Examples of generated schemas include: - Write compute operation schema (DerivedSchemaEntry) - Replication metadata schema (RmdSchemaEntry)
  • Field Details

  • Constructor Details

    • GeneratedSchemaID

      public GeneratedSchemaID(int valueSchemaID, int generatedSchemaVersion)
  • Method Details

    • getValueSchemaID

      public int getValueSchemaID()
    • getGeneratedSchemaVersion

      public int getGeneratedSchemaVersion()
    • isValid

      public boolean isValid()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object