Package com.illumon.iris.db.v2.locations
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static class
static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<TableLocationKey>
Re-usable Comparator for TableLocationKey objects that disregards the implementation class.static final String
Constant used to designate partition values for unpartitioned tables, i.e. -
Method Summary
Modifier and TypeMethodDescriptiondefault com.fishlib.base.log.LogOutput
append
(com.fishlib.base.log.LogOutput logOutput) static boolean
areEqual
(TableLocationKey key1, TableLocationKey key2) static <VALUE_TYPE extends TableLocationKey>
io.deephaven.hash.KeyedObjectKey<TableLocationKey,VALUE_TYPE> Re-usable key object for TableLocationKeys that disregards the implementation class.static int
hash
(TableLocationKey key) default String
default void
writeTo
(com.fishlib.net.impl.nio.WObjectWriter writer) Methods inherited from interface com.illumon.util.type.NamedImplementation
getImplementationName
-
Field Details
-
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
Re-usable Comparator for TableLocationKey objects that disregards the implementation class.
-
-
Method Details
-
getInternalPartition
- Returns:
- The internal partition that encloses the identified table location, or null if none exists
-
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 interfacecom.fishlib.base.log.LogOutputAppendable
-
toStringHelper
-
hash
-
areEqual
-
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
-