Package com.illumon.iris.db.v2.locations
Class TableLookupKey.Immutable
java.lang.Object
com.illumon.iris.db.v2.locations.TableLookupKey<String>
com.illumon.iris.db.v2.locations.TableLookupKey.Immutable
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
,TableKey
,NamedImplementation
,Serializable
- Enclosing class:
- TableLookupKey<NAME_TYPE extends CharSequence>
public static final class TableLookupKey.Immutable extends TableLookupKey<String> implements Serializable
An immutable TableLookupKey
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.v2.locations.TableLookupKey
TableLookupKey.Immutable, TableLookupKey.Reusable
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.locations.TableKey
TableKey.KeyedObjectKeyImpl<VALUE_TYPE>, TableKey.SelfKeyedObjectKeyImpl<VALUE_TYPE extends TableKey>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
String
getImplementationName()
Get a name for the implementing class.int
hashCode()
void
setTableType(TableType tableType)
Methods inherited from class com.illumon.iris.db.v2.locations.TableLookupKey
getImmutableKey, getNamespace, getTableName, getTableType, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.locations.TableKey
append, asTableIdentifier, toStringDetailed, toStringHelper, writeTo
-
Constructor Details
-
Immutable
public Immutable(@NotNull String namespace, @NotNull String tableName, @NotNull TableType tableType)Create an immutable TableLookupKey.- Parameters:
namespace
- the namespacetableName
- the name within the namespacetableType
- the type of table (permanent, intraday, user, etc.)
-
Immutable
Create an immutable TableLookupKey from another TableKey.- Parameters:
other
- the TableKey to copy.
-
-
Method Details
-
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
-
setTableType
-
hashCode
public int hashCode() -
equals
-