ENTITY
- the entity typepublic interface ColumnIdentifier<ENTITY> extends HasDbmsName, HasSchemaName, HasTableName, HasColumnName
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()
Returns a
TableIdentifier that has the same dbmsName ,
schemaName and tableName as this
ColumnIdentifier . |
default ColumnLabel |
label()
Returns a label that can be used as key in a map.
|
static <ENTITY> ColumnIdentifier<ENTITY> |
of(String dbmsName,
String schemaName,
String tableName,
String columnName)
Returns a dynamic
ColumnIdentifier based on the default
implementation of the interface. |
getDbmsName
getSchemaName
getTableName
getColumnName
static <ENTITY> ColumnIdentifier<ENTITY> of(String dbmsName, String schemaName, String tableName, String columnName)
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 typedbmsName
- the dbms database nameschemaName
- the schema database nametableName
- the table database namecolumnName
- the column database namedefault TableIdentifier<ENTITY> asTableIdentifier()
TableIdentifier
that has the same dbmsName
,
schemaName
and tableName
as this
ColumnIdentifier
.default ColumnLabel label()
label()
iff they refer to the same column.Copyright © 2018 Speedment, Inc.. All rights reserved.