congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RedisZSetCommands$Limit.count
Code IndexAdd Tabnine to your IDE (free)

How to use
count
method
in
org.springframework.data.redis.connection.RedisZSetCommands$Limit

Best Java code snippets using org.springframework.data.redis.connection.RedisZSetCommands$Limit.count (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

/**
 * Applies a {@code Limit}. Constructs a new command instance with all previously configured properties.
 *
 * @param count
 * @return a new {@link RangeCommand} with {@code limit} applied.
 */
public RangeCommand limit(int count) {
  return new RangeCommand(getKey(), range, Limit.unlimited().count(count));
}
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$Limitcount

Popular methods of RedisZSetCommands$Limit

  • <init>
  • getCount
  • getOffset
  • offset
  • isUnlimited
  • unlimited

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ImageIO (javax.imageio)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • 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