Tabnine Logo
RedisZSetCommands$Limit.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.springframework.data.redis.connection.RedisZSetCommands$Limit
constructor

Best Java code snippets using org.springframework.data.redis.connection.RedisZSetCommands$Limit.<init> (Showing top 20 results out of 315)

origin: redisson/redisson

@Override
public Set<byte[]> zRevRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<byte[]> zRevRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<byte[]> zRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: spring-projects/spring-data-redis

/**
 * Get elements in range from {@code start} to {@code end} where score is between {@code min} and {@code max} from
 * sorted set ordered high -> low.
 *
 * @param key must not be {@literal null}.
 * @param min
 * @param max
 * @param offset
 * @param count
 * @return {@literal null} when used in pipeline / transaction.
 * @see <a href="http://redis.io/commands/zrevrangebyscore">Redis Documentation: ZREVRANGEBYSCORE</a>
 */
@Nullable
default Set<byte[]> zRevRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: spring-projects/spring-data-redis

/**
 * Get set of {@link Tuple}s in range from {@code start} to {@code end} where score is between {@code min} and
 * {@code max} from sorted set.
 *
 * @param key must not be {@literal null}.
 * @param min
 * @param max
 * @param offset
 * @param count
 * @return empty {@link Set} when key does not exists or no members in range. {@literal null} when used in pipeline /
 *         transaction.
 * @see <a href="http://redis.io/commands/zrangebyscore">Redis Documentation: ZRANGEBYSCORE</a>
 */
@Nullable
default Set<Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: spring-projects/spring-data-redis

/**
 * Get elements in range from {@code start} to {@code end} where score is between {@code min} and {@code max} from
 * sorted set.
 *
 * @param key must not be {@literal null}.
 * @param min
 * @param max
 * @param offset
 * @param count
 * @return empty {@link Set} when key does not exists or no members in range. {@literal null} when used in pipeline /
 *         transaction.
 * @see <a href="http://redis.io/commands/zrangebyscore">Redis Documentation: ZRANGEBYSCORE</a>
 */
@Nullable
default Set<byte[]> zRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: spring-projects/spring-data-redis

public static Limit limit() {
  return new Limit();
}
origin: redisson/redisson

@Override
public Set<Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}

origin: redisson/redisson

@Override
public Set<byte[]> zRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<byte[]> zRevRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}

origin: redisson/redisson

@Override
public Set<byte[]> zRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}

origin: redisson/redisson

@Override
public Set<Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<byte[]> zRevRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<byte[]> zRangeByScore(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScore(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
origin: redisson/redisson

@Override
public Set<Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}

origin: redisson/redisson

@Override
public Set<Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) {
  return zRevRangeByScoreWithScores(key, new Range().gte(min).lte(max),
      new Limit().offset(Long.valueOf(offset).intValue()).count(Long.valueOf(count).intValue()));
}
org.springframework.data.redis.connectionRedisZSetCommands$Limit<init>

Popular methods of RedisZSetCommands$Limit

  • count
  • getCount
  • getOffset
  • offset
  • isUnlimited
  • unlimited

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Path (java.nio.file)
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Option (scala)
  • Top PhpStorm 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