Class GeneratedSchemaID


  • public class GeneratedSchemaID
    extends java.lang.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)
    • Constructor Detail

      • GeneratedSchemaID

        public GeneratedSchemaID​(int valueSchemaID,
                                 int generatedSchemaVersion)
    • Method Detail

      • getValueSchemaID

        public int getValueSchemaID()
      • getGeneratedSchemaVersion

        public int getGeneratedSchemaVersion()
      • isValid

        public boolean isValid()
      • equals

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

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