Package org.openmetadata.service.jdbi3
Class CollectionDAO.TokenRowMapper
- java.lang.Object
-
- org.openmetadata.service.jdbi3.CollectionDAO.TokenRowMapper
-
- All Implemented Interfaces:
org.jdbi.v3.core.mapper.RowMapper<TokenInterface>
- Enclosing interface:
- CollectionDAO
public static class CollectionDAO.TokenRowMapper extends Object implements org.jdbi.v3.core.mapper.RowMapper<TokenInterface>
-
-
Constructor Summary
Constructors Constructor Description TokenRowMapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenInterfacegetToken(TokenType type, String json)TokenInterfacemap(ResultSet rs, org.jdbi.v3.core.statement.StatementContext ctx)
-
-
-
Method Detail
-
map
public TokenInterface map(ResultSet rs, org.jdbi.v3.core.statement.StatementContext ctx) throws SQLException
- Specified by:
mapin interfaceorg.jdbi.v3.core.mapper.RowMapper<TokenInterface>- Throws:
SQLException
-
getToken
public static TokenInterface getToken(TokenType type, String json)
-
-