ENTITY
- the entity typepublic interface ColumnIdentifier<ENTITY> extends HasDbmsId, HasSchemaId, HasTableId, HasColumnId
To find the actual documents referred to by the identifier, the following utility methods can be used:
DocumentDbUtil
Modifier and Type | Interface and Description |
---|---|
static class |
ColumnIdentifier.Hidden
Internal class only used to hide a map of interned instances.
|
Modifier and Type | Method and Description |
---|---|
default TableIdentifier<ENTITY> |
asTableIdentifier()
|
default ColumnLabel |
label()
Returns a label that can be used as key in a map.
|
static <ENTITY> ColumnIdentifier<ENTITY> |
of(String dbmsId,
String schemaId,
String tableId,
String columnId)
Returns a dynamic
ColumnIdentifier based on the default
implementation of the interface. |
getSchemaId
getTableId
getColumnId
static <ENTITY> ColumnIdentifier<ENTITY> of(String dbmsId, String schemaId, String tableId, String columnId)
ColumnIdentifier
based on the default
implementation of the interface. Note that the
ColumnIdentifier
-interface is usually implemented using a
generated enum
. This method should therefore only be used if a
generated instance is not possible to use.
The returned instance has a well defined Object.hashCode()
and
Object.equals(Object)
method so it is safe to use as the key of a
map.
ENTITY
- the entity typedbmsId
- the dbms database idschemaId
- the schema database idtableId
- the table database idcolumnId
- the column database iddefault TableIdentifier<ENTITY> asTableIdentifier()
default ColumnLabel label()
label()
iff they refer to the same column.Copyright © 2018 Speedment, Inc.. All rights reserved.