Interface TableLocationKey

All Superinterfaces:
com.fishlib.base.log.LogOutputAppendable, NamedImplementation
All Known Subinterfaces:
DeephavenFormatTableLocation, IWritableLocalTableLocation, ParquetFormatTableLocation, TableLocation
All Known Implementing Classes:
AbstractTableLocation, DeferredTableLocation, DeferredTableLocation.DataDriven, DeferredTableLocation.SnapshotDriven, LocalTableLocation, ReadOnlyLocalTableLocation, ReadOnlyParquetTableLocation, RemoteTableLocationImpl, SimpleTableLocationKey, TableLocationLookupKey, TableLocationLookupKey.Immutable, TableLocationLookupKey.Reusable, TableLocationMetadataIndex.TableLocationSnapshot, WritableLocalTableLocation

public interface TableLocationKey extends NamedImplementation, com.fishlib.base.log.LogOutputAppendable
Interface that specifies key fields for any TableLocation.
  • Field Details

    • NULL_PARTITION

      static final String NULL_PARTITION
      Constant used to designate partition values for unpartitioned tables, i.e. "simple" tables. Also used for fully-standalone locations, e.g. for tables persisted or loaded outside of a Database/TableDataService framework.
      See Also:
    • COMPARATOR

      static final Comparator<TableLocationKey> COMPARATOR
      Re-usable Comparator for TableLocationKey objects that disregards the implementation class.
  • Method Details

    • getInternalPartition

      @NotNull CharSequence getInternalPartition()
      Returns:
      The internal partition that encloses the identified table location, or null if none exists
    • getColumnPartition

      @NotNull CharSequence getColumnPartition()
      Returns:
      The column partition that encloses the identified table location, or null if none exists
    • append

      default com.fishlib.base.log.LogOutput append(@NotNull com.fishlib.base.log.LogOutput logOutput)
      Specified by:
      append in interface com.fishlib.base.log.LogOutputAppendable
    • toStringHelper

      default String toStringHelper()
    • hash

      static int hash(@NotNull TableLocationKey key)
    • areEqual

      static boolean areEqual(@NotNull TableLocationKey key1, @NotNull TableLocationKey key2)
    • getKeyedObjectKey

      static <VALUE_TYPE extends TableLocationKey> io.deephaven.hash.KeyedObjectKey<TableLocationKey,VALUE_TYPE> getKeyedObjectKey()
      Re-usable key object for TableLocationKeys that disregards the implementation class.
    • writeTo

      @FinalDefault default void writeTo(@NotNull com.fishlib.net.impl.nio.WObjectWriter writer) throws IOException
      Throws:
      IOException