Tabnine Logo
Converters.deserializingGeoResultsConverter
Code IndexAdd Tabnine to your IDE (free)

How to use
deserializingGeoResultsConverter
method
in
org.springframework.data.redis.connection.convert.Converters

Best Java code snippets using org.springframework.data.redis.connection.convert.Converters.deserializingGeoResultsConverter (Showing top 6 results out of 315)

origin: spring-projects/spring-data-redis

/**
 * Constructs a new <code>DefaultStringRedisConnection</code> instance.
 *
 * @param connection Redis connection
 * @param serializer String serializer
 */
public DefaultStringRedisConnection(RedisConnection connection, RedisSerializer<String> serializer) {
  Assert.notNull(connection, "connection is required");
  Assert.notNull(serializer, "serializer is required");
  this.delegate = connection;
  this.serializer = serializer;
  this.byteGeoResultsToStringGeoResults = Converters.deserializingGeoResultsConverter(serializer);
}
origin: spring-projects/spring-data-redis

  /**
   * Deserialize {@link GeoLocation} of {@link GeoResults}.
   *
   * @param source can be {@literal null}.
   * @return converted or {@literal null}.
   * @since 1.8
   */
  GeoResults<GeoLocation<V>> deserializeGeoResults(GeoResults<GeoLocation<byte[]>> source) {

    if (valueSerializer() == null) {
      return (GeoResults<GeoLocation<V>>) (Object) source;
    }

    return Converters.deserializingGeoResultsConverter((RedisSerializer<V>) valueSerializer()).convert(source);
  }
}
origin: apache/servicemix-bundles

/**
 * Constructs a new <code>DefaultStringRedisConnection</code> instance.
 *
 * @param connection Redis connection
 * @param serializer String serializer
 */
public DefaultStringRedisConnection(RedisConnection connection, RedisSerializer<String> serializer) {
  Assert.notNull(connection, "connection is required");
  Assert.notNull(serializer, "serializer is required");
  this.delegate = connection;
  this.serializer = serializer;
  this.byteGeoResultsToStringGeoResults = Converters.deserializingGeoResultsConverter(serializer);
}
origin: org.springframework.data/spring-data-redis

/**
 * Constructs a new <code>DefaultStringRedisConnection</code> instance.
 *
 * @param connection Redis connection
 * @param serializer String serializer
 */
public DefaultStringRedisConnection(RedisConnection connection, RedisSerializer<String> serializer) {
  Assert.notNull(connection, "connection is required");
  Assert.notNull(serializer, "serializer is required");
  this.delegate = connection;
  this.serializer = serializer;
  this.byteGeoResultsToStringGeoResults = Converters.deserializingGeoResultsConverter(serializer);
}
origin: org.springframework.data/spring-data-redis

  /**
   * Deserialize {@link GeoLocation} of {@link GeoResults}.
   *
   * @param source can be {@literal null}.
   * @return converted or {@literal null}.
   * @since 1.8
   */
  GeoResults<GeoLocation<V>> deserializeGeoResults(GeoResults<GeoLocation<byte[]>> source) {

    if (valueSerializer() == null) {
      return (GeoResults<GeoLocation<V>>) (Object) source;
    }

    return Converters.deserializingGeoResultsConverter((RedisSerializer<V>) valueSerializer()).convert(source);
  }
}
origin: apache/servicemix-bundles

  /**
   * Deserialize {@link GeoLocation} of {@link GeoResults}.
   *
   * @param source can be {@literal null}.
   * @return converted or {@literal null}.
   * @since 1.8
   */
  GeoResults<GeoLocation<V>> deserializeGeoResults(GeoResults<GeoLocation<byte[]>> source) {

    if (valueSerializer() == null) {
      return (GeoResults<GeoLocation<V>>) (Object) source;
    }

    return Converters.deserializingGeoResultsConverter((RedisSerializer<V>) valueSerializer()).convert(source);
  }
}
org.springframework.data.redis.connection.convertConvertersdeserializingGeoResultsConverter

Javadoc

Converter capable of deserializing GeoResults.

Popular methods of Converters

  • toProperties
  • listToPropertiesConverter
    Returns a converter to convert array outputs with key-value sequences (such as produced by CONFIG GE
  • mapToPropertiesConverter
    Returns a converter to convert from Map to Properties.
  • millisecondsToTimeUnit
    Creates a new Converter to convert from milliseconds to the given TimeUnit.
  • secondsToDuration
    Convert the given nullable seconds to a Duration or null.
  • secondsToTimeUnit
    Creates a new Converter to convert from seconds to the given TimeUnit.
  • stringToBoolean
  • stringToBooleanConverter
  • toClusterNode
    Converts the result of a single line of CLUSTER NODES into a RedisClusterNode.
  • toSetOfRedisClusterNodes
    Converts lines from the result of CLUSTER NODES into RedisClusterNodes.
  • toTimeMillis
    Returns the timestamp constructed from the given seconds and microseconds.
  • toTimeMillis

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Menu (java.awt)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
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