java.lang.Object
io.helidon.dbclient.DbColumnBase
io.helidon.dbclient.mongodb.MongoDbColumn
- All Implemented Interfaces:
OptionalValue<Object>
,Value<Object>
,DbColumn
Mongo implementation of
DbColumn
.-
Method Summary
Methods inherited from class io.helidon.dbclient.DbColumnBase
as, as, as, asBoolean, asDouble, asInt, asLong, asOptional, asString, get, get, map, map, rawValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.common.mapper.OptionalValue
ifPresent, ifPresentOrElse, isEmpty, isPresent, map, or, orElse, orElseGet, orElseThrow, orElseThrow
-
Method Details
-
javaType
Description copied from interface:DbColumn
Type of the column as would be returned by the underlying database driver.- Returns:
- class of the type
- See Also:
-
dbType
Description copied from interface:DbColumn
Type of the column in the language of the database.Example for SQL - if a column is declared as
VARCHAR(256)
in the database, this method would returnVARCHAR
and methodDbColumn.javaType()
would returnString
.- Returns:
- column type as the database understands it
-
name
Description copied from interface:DbColumn
Column name.- Returns:
- name of this column
-