Class LongSchemaVersion

java.lang.Object
org.apache.calcite.schema.impl.LongSchemaVersion
All Implemented Interfaces:
SchemaVersion

public class LongSchemaVersion extends Object implements SchemaVersion
Implementation of SchemaVersion that uses a long value as representation.
  • Constructor Details

    • LongSchemaVersion

      public LongSchemaVersion(long value)
  • Method Details

    • isBefore

      public boolean isBefore(SchemaVersion other)
      Description copied from interface: SchemaVersion
      Returns if this Version happens before the other Version.
      Specified by:
      isBefore in interface SchemaVersion
      Parameters:
      other - the other Version object
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object