Package com.illumon.iris.db.v2.locations
Interface TableLocationKey
- All Superinterfaces:
com.fishlib.base.log.LogOutputAppendable,NamedImplementation
- All Known Subinterfaces:
DeephavenFormatTableLocation<CLT>,IWritableLocalTableLocation,ParquetFormatTableLocation<CLT>,TableLocation<CLT>
- All Known Implementing Classes:
AbstractTableLocation,DeferredTableLocation,DeferredTableLocation.DataDriven,DeferredTableLocation.SnapshotDriven,LocalTableLocation,ReadOnlyLocalTableLocation,ReadOnlyParquetTableLocation,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 Classes Modifier and Type Interface Description static classTableLocationKey.ComparatorImplstatic classTableLocationKey.KeyedObjectKeyImpl<VALUE_TYPE>static classTableLocationKey.SelfKeyedObjectKeyImpl<VALUE_TYPE extends TableLocationKey> -
Field Summary
Fields Modifier and Type Field Description static Comparator<TableLocationKey>COMPARATORRe-usable Comparator for TableLocationKey objects that disregards the implementation class.static StringNULL_PARTITIONConstant used to designate partition values for unpartitioned tables, i.e. -
Method Summary
Modifier and Type Method Description default com.fishlib.base.log.LogOutputappend(com.fishlib.base.log.LogOutput logOutput)static booleanareEqual(TableLocationKey key1, TableLocationKey key2)CharSequencegetColumnPartition()CharSequencegetInternalPartition()static <VALUE_TYPE extends TableLocationKey>
com.fishlib.base.hash.KeyedObjectKey<TableLocationKey,VALUE_TYPE>getKeyedObjectKey()Re-usable key object for TableLocationKeys that disregards the implementation class.static inthash(TableLocationKey key)default StringtoStringHelper()default voidwriteTo(com.fishlib.net.impl.nio.WObjectWriter writer)
-
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:
- Constant Field Values
-
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:
appendin interfacecom.fishlib.base.log.LogOutputAppendable
-
toStringHelper
-
hash
-
areEqual
-
getKeyedObjectKey
static <VALUE_TYPE extends TableLocationKey> com.fishlib.base.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
-