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 class
TableLocationLookupKey.Immutable
static class
TableLocationLookupKey.Reusable
Nested 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 TYPE
columnPartition
protected TYPE
internalPartition
Fields inherited from interface com.illumon.iris.db.v2.locations.TableLocationKey
COMPARATOR, NULL_PARTITION
-
Method Summary
Modifier and Type Method Description TYPE
getColumnPartition()
static TableLocationLookupKey<String>
getImmutableKey(TableLocationKey locationKey)
TYPE
getInternalPartition()
String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.locations.TableLocationKey
append, toStringHelper, writeTo
-
Field Details
-
Method Details
-
toString
-
getInternalPartition
- Specified by:
getInternalPartition
in interfaceTableLocationKey
- Returns:
- The internal partition that encloses the identified table location, or null if none exists
-
getColumnPartition
- Specified by:
getColumnPartition
in 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)
-