Tabnine Logo
ReferenceResolverImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
ReferenceResolverImpl
in
org.springframework.data.redis.core.convert

Best Java code snippets using org.springframework.data.redis.core.convert.ReferenceResolverImpl (Showing top 3 results out of 315)

origin: spring-projects/spring-data-redis

/**
 * Creates new {@link RedisKeyValueAdapter}.
 *
 * @param redisOps must not be {@literal null}.
 * @param mappingContext must not be {@literal null}.
 * @param customConversions can be {@literal null}.
 * @since 2.0
 */
public RedisKeyValueAdapter(RedisOperations<?, ?> redisOps, RedisMappingContext mappingContext,
    @Nullable org.springframework.data.convert.CustomConversions customConversions) {
  super(new RedisQueryEngine());
  Assert.notNull(redisOps, "RedisOperations must not be null!");
  Assert.notNull(mappingContext, "RedisMappingContext must not be null!");
  MappingRedisConverter mappingConverter = new MappingRedisConverter(mappingContext,
      new PathIndexResolver(mappingContext), new ReferenceResolverImpl(redisOps));
  mappingConverter.setCustomConversions(customConversions == null ? new RedisCustomConversions() : customConversions);
  mappingConverter.afterPropertiesSet();
  this.converter = mappingConverter;
  this.redisOps = redisOps;
  initMessageListenerContainer();
}
origin: org.springframework.data/spring-data-redis

/**
 * Creates new {@link RedisKeyValueAdapter}.
 *
 * @param redisOps must not be {@literal null}.
 * @param mappingContext must not be {@literal null}.
 * @param customConversions can be {@literal null}.
 * @since 2.0
 */
public RedisKeyValueAdapter(RedisOperations<?, ?> redisOps, RedisMappingContext mappingContext,
    @Nullable org.springframework.data.convert.CustomConversions customConversions) {
  super(new RedisQueryEngine());
  Assert.notNull(redisOps, "RedisOperations must not be null!");
  Assert.notNull(mappingContext, "RedisMappingContext must not be null!");
  MappingRedisConverter mappingConverter = new MappingRedisConverter(mappingContext,
      new PathIndexResolver(mappingContext), new ReferenceResolverImpl(redisOps));
  mappingConverter.setCustomConversions(customConversions == null ? new RedisCustomConversions() : customConversions);
  mappingConverter.afterPropertiesSet();
  this.converter = mappingConverter;
  this.redisOps = redisOps;
  initMessageListenerContainer();
}
origin: apache/servicemix-bundles

/**
 * Creates new {@link RedisKeyValueAdapter}.
 *
 * @param redisOps must not be {@literal null}.
 * @param mappingContext must not be {@literal null}.
 * @param customConversions can be {@literal null}.
 * @since 2.0
 */
public RedisKeyValueAdapter(RedisOperations<?, ?> redisOps, RedisMappingContext mappingContext,
    @Nullable org.springframework.data.convert.CustomConversions customConversions) {
  super(new RedisQueryEngine());
  Assert.notNull(redisOps, "RedisOperations must not be null!");
  Assert.notNull(mappingContext, "RedisMappingContext must not be null!");
  MappingRedisConverter mappingConverter = new MappingRedisConverter(mappingContext,
      new PathIndexResolver(mappingContext), new ReferenceResolverImpl(redisOps));
  mappingConverter.setCustomConversions(customConversions == null ? new RedisCustomConversions() : customConversions);
  mappingConverter.afterPropertiesSet();
  this.converter = mappingConverter;
  this.redisOps = redisOps;
  initMessageListenerContainer();
}
org.springframework.data.redis.core.convertReferenceResolverImpl

Javadoc

ReferenceResolver using RedisKeyValueAdapter to read raw data.

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now