Package com.illumon.iris.db.v2.locations
Class SimpleTableLocationKey
java.lang.Object
com.illumon.iris.db.v2.locations.SimpleTableLocationKey
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
,TableLocationKey
,NamedImplementation
public final class SimpleTableLocationKey extends Object implements TableLocationKey
Table location key for simple (i.e. unpartitioned) tables.
-
Nested Class Summary
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 inherited from interface com.illumon.iris.db.v2.locations.TableLocationKey
COMPARATOR, NULL_PARTITION
-
Method Summary
Modifier and Type Method Description CharSequence
getColumnPartition()
String
getImplementationName()
Get a name for the implementing class.static TableLocationKey
getInstance()
CharSequence
getInternalPartition()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.locations.TableLocationKey
append, toStringHelper, writeTo
-
Method Details
-
getInstance
-
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
-
getImplementationName
Description copied from interface:NamedImplementation
Get a name for the implementing class. Useful for abstract classes that implement
LogOutputAppendable
or overridetoString
.The default implementation is correct, but not suitable for high-frequency usage.
- Specified by:
getImplementationName
in interfaceNamedImplementation
- Returns:
- A name for the implementing class
-