Class TableLookupKey.Immutable

java.lang.Object
com.illumon.iris.db.v2.locations.TableLookupKey<String>
com.illumon.iris.db.v2.locations.TableLookupKey.Immutable
All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, TableKey, NamedImplementation, Serializable
Enclosing class:
TableLookupKey<NAME_TYPE extends CharSequence>

public static final class TableLookupKey.Immutable extends TableLookupKey<String> implements Serializable
An immutable TableLookupKey
See Also:
  • Constructor Details

    • Immutable

      public Immutable(@NotNull String namespace, @NotNull String tableName, @NotNull TableType tableType)
      Create an immutable TableLookupKey.
      Parameters:
      namespace - the namespace
      tableName - the name within the namespace
      tableType - the type of table (permanent, intraday, user, etc.)
    • Immutable

      public Immutable(@NotNull TableKey other)
      Create an immutable TableLookupKey from another TableKey.
      Parameters:
      other - the TableKey to copy.
  • Method Details

    • getImplementationName

      public String getImplementationName()
      Description copied from interface: NamedImplementation

      Get a name for the implementing class. Useful for abstract classes that implement LogOutputAppendable or override toString.

      The default implementation is correct, but not suitable for high-frequency usage.

      Specified by:
      getImplementationName in interface NamedImplementation
      Returns:
      A name for the implementing class
    • setTableType

      public final void setTableType(@NotNull TableType tableType)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object