All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redis.lettucemod.search.Max Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package com.redis.lettucemod.search;

import com.redis.lettucemod.protocol.SearchCommandKeyword;

@SuppressWarnings("rawtypes")
public class Max implements RediSearchArgument {

	private final long value;

	public Max(long value) {
		this.value = value;
	}

	public long getValue() {
		return value;
	}

	@Override
	public String toString() {
		return "Max [value=" + value + "]";
	}

	@Override
	public void build(SearchCommandArgs args) {
		args.add(SearchCommandKeyword.MAX).add(value);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy