Class SqlJsonColumnMapperProvider<S>

java.lang.Object
io.micronaut.data.runtime.operations.internal.sql.SqlJsonColumnMapperProvider<S>
Type Parameters:
S - the reader result set type

@Internal @Singleton public final class SqlJsonColumnMapperProvider<S> extends Object
The provider for SqlJsonValueMapper when JSON columns are being written using SqlStoredQuery and for SqlJsonColumnReader when JSON columns are being read from SqlPreparedQuery results.
Since:
4.0.0
Author:
radovanradic
  • Constructor Details

    • SqlJsonColumnMapperProvider

      public SqlJsonColumnMapperProvider(@Nullable @Nullable io.micronaut.json.JsonMapper jsonMapper, List<SqlJsonColumnReader<S>> sqlJsonColumnReaders, List<SqlJsonValueMapper> sqlJsonValueMappers)
      Default constructor.
      Parameters:
      jsonMapper - the default JSON mapper
      sqlJsonColumnReaders - list of custom SQL JSON column readers
      sqlJsonValueMappers - list of custom SQL JSON value mappers
  • Method Details