public abstract class AbstractBaseSetsOnJdbc extends Object implements Sets
| Modifier and Type | Method and Description |
|---|---|
void |
add(String namespace,
String key,
Map<String,Long> entries) |
void |
add(String namespace,
String key,
String entry,
long weight) |
void |
create(String namespace) |
void |
delete(String namespace,
String key,
Collection<String> entries) |
void |
delete(String namespace,
String key,
long min,
long max) |
boolean |
delete(String namespace,
String key,
String entry) |
void |
drop(String namespace) |
Collection<String> |
entries(String namespace,
String set,
long min,
long max,
int start,
int count,
boolean ascending) |
Map<String,Long> |
get(String namespace,
String set,
long min,
long max,
int start,
int count,
boolean ascending) |
long |
inc(String namespace,
String key,
String entry,
long count) |
Map<String,Long> |
intersect(String namespace,
Collection<String> sets,
long min,
long max,
int start,
int count,
boolean ascending) |
Collection<String> |
namespaces() |
Map<String,Long> |
pop(String namespace,
String key,
long min,
long max,
int start,
int count,
boolean ascending) |
Collection<String> |
sets(String namespace) |
int |
size(String namespace,
String set) |
Map<String,Long> |
union(String namespace,
Collection<String> sets,
long min,
long max,
int start,
int count,
boolean ascending) |
Long |
weight(String namespace,
String key,
String entry) |
public Collection<String> namespaces() throws IOException
namespaces in interface NamespaceableIOExceptionpublic void create(String namespace) throws IOException
create in interface NamespaceableIOExceptionpublic void drop(String namespace) throws IOException
drop in interface NamespaceableIOExceptionpublic int size(String namespace, String set) throws IOException
size in interface SetsIOExceptionpublic Collection<String> entries(String namespace, String set, long min, long max, int start, int count, boolean ascending) throws IOException
entries in interface SetsIOExceptionpublic Collection<String> sets(String namespace) throws IOException
sets in interface SetsIOExceptionpublic Map<String,Long> get(String namespace, String set, long min, long max, int start, int count, boolean ascending) throws IOException
get in interface SetsIOExceptionpublic Map<String,Long> union(String namespace, Collection<String> sets, long min, long max, int start, int count, boolean ascending) throws IOException
union in interface SetsIOExceptionpublic Map<String,Long> intersect(String namespace, Collection<String> sets, long min, long max, int start, int count, boolean ascending) throws IOException
intersect in interface SetsIOExceptionpublic Map<String,Long> pop(String namespace, String key, long min, long max, int start, int count, boolean ascending) throws IOException
pop in interface SetsIOExceptionpublic void delete(String namespace, String key, long min, long max) throws IOException
delete in interface SetsIOExceptionpublic boolean delete(String namespace, String key, String entry) throws IOException
delete in interface SetsIOExceptionpublic void delete(String namespace, String key, Collection<String> entries) throws IOException
delete in interface SetsIOExceptionpublic void add(String namespace, String key, String entry, long weight) throws IOException
add in interface SetsIOExceptionpublic void add(String namespace, String key, Map<String,Long> entries) throws IOException
add in interface SetsIOExceptionpublic Long weight(String namespace, String key, String entry) throws IOException
weight in interface SetsIOExceptionpublic long inc(String namespace, String key, String entry, long count) throws IOException
inc in interface SetsIOExceptionCopyright © 2021. All rights reserved.