Class DefaultJdbcRepositoryOperations.ArgumentJdbcCC

java.lang.Object
io.micronaut.data.runtime.support.AbstractConversionContext
io.micronaut.data.jdbc.operations.DefaultJdbcRepositoryOperations.ArgumentJdbcCC
All Implemented Interfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.convert.ArgumentConversionContext<Object>, io.micronaut.core.convert.ConversionContext, io.micronaut.core.convert.ErrorsContext, io.micronaut.core.type.TypeVariableResolver, JdbcConversionContext, DatabaseTypeConversionContext, Iterable<io.micronaut.core.convert.ConversionError>
Enclosing class:
DefaultJdbcRepositoryOperations

@Internal public static final class DefaultJdbcRepositoryOperations.ArgumentJdbcCC extends AbstractConversionContext implements io.micronaut.core.convert.ArgumentConversionContext<Object>
Internal argument-based JDBC conversion context used by repository operations.

This type is exposed only to share the current Connection, database type, and Argument metadata with converter infrastructure. It is not intended for user code.

Since:
1.0.0
Author:
graemerocher, Denis Stepanov
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY

    Fields inherited from interface io.micronaut.core.convert.ConversionContext

    BOOLEAN, DEFAULT, INT, LIST_OF_STRING, LONG, MAP, STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArgumentJdbcCC(Connection connection, DatabaseType databaseType, io.micronaut.core.type.Argument<?> argument)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.type.Argument<Object>
     
    Provides access to JDBC connection.
    Returns the DatabaseType for the current operation.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

    findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType

    Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

    getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared

    Methods inherited from interface io.micronaut.core.convert.ArgumentConversionContext

    getAnnotationMetadata, getTypeParameters, getTypeVariables, with

    Methods inherited from interface io.micronaut.core.convert.ConversionContext

    getCharset, getLocale, with

    Methods inherited from interface io.micronaut.core.convert.ErrorsContext

    getLastError, hasErrors, iterator, reject, reject

    Methods inherited from interface Iterable

    forEach, spliterator

    Methods inherited from interface io.micronaut.core.type.TypeVariableResolver

    getFirstTypeVariable, getTypeVariable
  • Constructor Details

    • ArgumentJdbcCC

      public ArgumentJdbcCC(Connection connection, DatabaseType databaseType, io.micronaut.core.type.Argument<?> argument)
      Parameters:
      connection - the current JDBC connection
      databaseType - the canonical database type
      argument - the conversion argument metadata
  • Method Details