Tabnine Logo
RedisMappingContext.getMappingConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
getMappingConfiguration
method
in
org.springframework.data.redis.core.mapping.RedisMappingContext

Best Java code snippets using org.springframework.data.redis.core.mapping.RedisMappingContext.getMappingConfiguration (Showing top 6 results out of 315)

origin: spring-projects/spring-data-redis

/**
 * Creates a new instance
 *
 * @param mappingContext the {@link RedisMappingContext} to use. Cannot be null.
 * @param parser the {@link SpelExpressionParser} to use. Cannot be null.
 */
public SpelIndexResolver(RedisMappingContext mappingContext, SpelExpressionParser parser) {
  Assert.notNull(mappingContext, "RedisMappingContext must not be null!");
  Assert.notNull(parser, "SpelExpressionParser must not be null!");
  this.mappingContext = mappingContext;
  this.settings = mappingContext.getMappingConfiguration().getIndexConfiguration();
  this.expressionCache = new HashMap<>();
  this.parser = parser;
}
origin: spring-projects/spring-data-redis

/**
 * Creates new {@link PathIndexResolver} with given {@link IndexConfiguration}.
 *
 * @param mappingContext must not be {@literal null}.
 */
public PathIndexResolver(RedisMappingContext mappingContext) {
  Assert.notNull(mappingContext, "MappingContext must not be null!");
  this.mappingContext = mappingContext;
  this.indexConfiguration = mappingContext.getMappingConfiguration().getIndexConfiguration();
  this.indexedDataFactoryProvider = new IndexedDataFactoryProvider();
}
origin: apache/servicemix-bundles

/**
 * Creates a new instance
 *
 * @param mappingContext the {@link RedisMappingContext} to use. Cannot be null.
 * @param parser the {@link SpelExpressionParser} to use. Cannot be null.
 */
public SpelIndexResolver(RedisMappingContext mappingContext, SpelExpressionParser parser) {
  Assert.notNull(mappingContext, "RedisMappingContext must not be null!");
  Assert.notNull(parser, "SpelExpressionParser must not be null!");
  this.mappingContext = mappingContext;
  this.settings = mappingContext.getMappingConfiguration().getIndexConfiguration();
  this.expressionCache = new HashMap<>();
  this.parser = parser;
}
origin: org.springframework.data/spring-data-redis

/**
 * Creates a new instance
 *
 * @param mappingContext the {@link RedisMappingContext} to use. Cannot be null.
 * @param parser the {@link SpelExpressionParser} to use. Cannot be null.
 */
public SpelIndexResolver(RedisMappingContext mappingContext, SpelExpressionParser parser) {
  Assert.notNull(mappingContext, "RedisMappingContext must not be null!");
  Assert.notNull(parser, "SpelExpressionParser must not be null!");
  this.mappingContext = mappingContext;
  this.settings = mappingContext.getMappingConfiguration().getIndexConfiguration();
  this.expressionCache = new HashMap<>();
  this.parser = parser;
}
origin: org.springframework.data/spring-data-redis

/**
 * Creates new {@link PathIndexResolver} with given {@link IndexConfiguration}.
 *
 * @param mappingContext must not be {@literal null}.
 */
public PathIndexResolver(RedisMappingContext mappingContext) {
  Assert.notNull(mappingContext, "MappingContext must not be null!");
  this.mappingContext = mappingContext;
  this.indexConfiguration = mappingContext.getMappingConfiguration().getIndexConfiguration();
  this.indexedDataFactoryProvider = new IndexedDataFactoryProvider();
}
origin: apache/servicemix-bundles

/**
 * Creates new {@link PathIndexResolver} with given {@link IndexConfiguration}.
 *
 * @param mappingContext must not be {@literal null}.
 */
public PathIndexResolver(RedisMappingContext mappingContext) {
  Assert.notNull(mappingContext, "MappingContext must not be null!");
  this.mappingContext = mappingContext;
  this.indexConfiguration = mappingContext.getMappingConfiguration().getIndexConfiguration();
  this.indexedDataFactoryProvider = new IndexedDataFactoryProvider();
}
org.springframework.data.redis.core.mappingRedisMappingContextgetMappingConfiguration

Javadoc

Get the MappingConfiguration used.

Popular methods of RedisMappingContext

  • <init>
    Creates new RedisMappingContext.
  • afterPropertiesSet
  • getPersistentEntity
  • getPersistentPropertyPath
  • getRequiredPersistentEntity
  • setFallbackKeySpaceResolver
    Configures the KeySpaceResolver to be used if not explicit key space is annotated to the domain type
  • setSimpleTypeHolder

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • getSystemService (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ plugins
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