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 classstatic classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<TableLocationKey>Re-usable Comparator for TableLocationKey objects that disregards the implementation class.static final StringConstant used to designate partition values for unpartitioned tables, i.e. -
Method Summary
Modifier and TypeMethodDescriptiondefault com.fishlib.base.log.LogOutputappend(@NotNull com.fishlib.base.log.LogOutput logOutput) static booleanareEqual(@NotNull TableLocationKey key1, @NotNull TableLocationKey key2) @NotNull CharSequence@NotNull CharSequencestatic <VALUE_TYPE extends TableLocationKey>
io.deephaven.hash.KeyedObjectKey<TableLocationKey,VALUE_TYPE> Re-usable key object for TableLocationKeys that disregards the implementation class.static inthash(@NotNull TableLocationKey key) default Stringdefault voidwriteTo(@NotNull 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 @NotNull com.fishlib.base.log.LogOutput logOutput) - Specified by:
appendin interfacecom.fishlib.base.log.LogOutputAppendable
-
toStringHelper
-
hash
-
areEqual
static boolean areEqual(@NotNull @NotNull TableLocationKey key1, @NotNull @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
- Throws:
IOException
-