Class MongoDbColumn

java.lang.Object
io.helidon.dbclient.DbColumnBase
io.helidon.dbclient.mongodb.MongoDbColumn
All Implemented Interfaces:
Value<Object>, DbColumn

public final class MongoDbColumn extends DbColumnBase
Mongo implementation of DbColumn.
  • Method Details

    • javaType

      public Class<?> 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

      public String 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 return VARCHAR and method DbColumn.javaType() would return String.

      Returns:
      column type as the database understands it
    • name

      public String name()
      Description copied from interface: DbColumn
      Column name.
      Returns:
      name of this column