Class TableLookupKey<NAME_TYPE extends CharSequence>

java.lang.Object
com.illumon.iris.db.v2.locations.TableLookupKey<NAME_TYPE>
All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, TableKey, NamedImplementation, Serializable
Direct Known Subclasses:
TableLookupKey.Immutable, TableLookupKey.Reusable

public abstract class TableLookupKey<NAME_TYPE extends CharSequence> extends Object implements TableKey, Serializable
A simple implementation of TableKey for use in hash lookups, or as a parent class for complex sub-classes.
See Also:
  • Field Details

  • Method Details

    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • getNamespace

      @NotNull public final NAME_TYPE getNamespace()
      Specified by:
      getNamespace in interface TableKey
      Returns:
      The namespace enclosing this table
    • getTableName

      @NotNull public final NAME_TYPE getTableName()
      Specified by:
      getTableName in interface TableKey
      Returns:
      The name of this table
    • getTableType

      @NotNull public final @NotNull TableType getTableType()
      Specified by:
      getTableType in interface TableKey
      Returns:
      The type of this table (which generally dictates storage, metadata-availability, etc)
    • getImmutableKey

      public static TableLookupKey<String> getImmutableKey(@NotNull @NotNull TableKey tableKey)