Package com.illumon.iris.db.v2.locations
Class TableLocationLookupKey<TYPE extends CharSequence>
java.lang.Object
com.illumon.iris.db.v2.locations.TableLocationLookupKey<TYPE>
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable,TableLocationKey,NamedImplementation,Serializable
- Direct Known Subclasses:
TableLocationLookupKey.Immutable,TableLocationLookupKey.Reusable
public abstract class TableLocationLookupKey<TYPE extends CharSequence> extends Object implements TableLocationKey, Serializable
A simple implementation of TableLocationKey for use in hash lookups.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableLocationLookupKey.Immutablestatic classTableLocationLookupKey.ReusableNested classes/interfaces inherited from interface com.illumon.iris.db.v2.locations.TableLocationKey
TableLocationKey.ComparatorImpl, TableLocationKey.KeyedObjectKeyImpl<VALUE_TYPE>, TableLocationKey.SelfKeyedObjectKeyImpl<VALUE_TYPE extends TableLocationKey> -
Field Summary
Fields Modifier and Type Field Description protected TYPEcolumnPartitionprotected TYPEinternalPartitionFields inherited from interface com.illumon.iris.db.v2.locations.TableLocationKey
COMPARATOR, NULL_PARTITION -
Method Summary
Modifier and Type Method Description TYPEgetColumnPartition()static TableLocationLookupKey<String>getImmutableKey(TableLocationKey locationKey)TYPEgetInternalPartition()StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.locations.TableLocationKey
append, toStringHelper, writeTo
-
Field Details
-
Method Details
-
toString
-
getInternalPartition
- Specified by:
getInternalPartitionin interfaceTableLocationKey- Returns:
- The internal partition that encloses the identified table location, or null if none exists
-
getColumnPartition
- Specified by:
getColumnPartitionin interfaceTableLocationKey- Returns:
- The column partition that encloses the identified table location, or null if none exists
-
getImmutableKey
public static TableLocationLookupKey<String> getImmutableKey(@NotNull TableLocationKey locationKey)
-