congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Reference (javax.naming)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Table (org.hibernate.mapping)
    A relational table
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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