| Package | Description |
|---|---|
| redradishes.commands | |
| redradishes.encoder |
| Modifier and Type | Method and Description |
|---|---|
<T> CommandBuilder.CommandBuilder1<? super T> |
CommandBuilder.CommandBuilder0.withArg(Encoder<T> encoder) |
<T> CommandBuilder.CommandBuilder2<T1,T> |
CommandBuilder.CommandBuilder1.withArg(Encoder<T> encoder) |
<T> CommandBuilder.CommandBuilder3<T1,T2,T> |
CommandBuilder.CommandBuilder2.withArg(Encoder<T> encoder) |
<T> S |
CommandBuilder.CommandBuilderBase.withArg(T value,
Encoder<? super T> encoder) |
| Modifier and Type | Method and Description |
|---|---|
default Encoder<T> |
Encoder.append(ConstExpr c) |
static <E> Encoder<E[]> |
Encoders.arrayArg(Encoder<? super E> elemEncoder) |
static Encoder<byte[]> |
Encoders.bytesArg() |
static Encoder<byte[]> |
RespEncoders.bytesBulkString() |
static Encoder<byte[]> |
Encoder.bytesEnc() |
static <T> Encoder<T> |
Encoder.choice(Predicate<T> predicate,
Encoder<T> then,
Encoder<T> otherwise) |
static <T> Encoder<T> |
Encoder.choiceConst(Predicate<T> predicate,
ConstExpr then,
Encoder<T> otherwise) |
static <E> Encoder<Collection<? extends E>> |
Encoders.collArg(Encoder<? super E> elemEncoder) |
default Encoder<T> |
Encoder.compact() |
static Encoder<Integer> |
Encoders.intArg() |
static Encoder<int[]> |
Encoders.intArrayArg() |
static Encoder<Integer> |
RespEncoders.intBulkString() |
static Encoder<Long> |
Encoders.longArg() |
static Encoder<long[]> |
Encoders.longArrayArg() |
static Encoder<Long> |
RespEncoders.longBulkString() |
default <U> Encoder<U> |
IntEncoder.map(ToIntFunction<? super U> mapper) |
static <K,V> Encoder<Map<? extends K,? extends V>> |
Encoders.mapArg(Encoder<? super K> keyEncoder,
Encoder<? super V> valueEncoder) |
default Encoder<T> |
Encoder.prepend(ConstExpr c) |
static Encoder<CharSequence> |
Encoders.strArg(Charset charset) |
static Encoder<CharSequence> |
RespEncoders.strBulkString(Charset charset) |
static Encoder<CharSequence> |
Encoder.stringEnc(Charset charset) |
default Encoder<T> |
Encoder.zip(Encoder<T> enc2) |
| Modifier and Type | Method and Description |
|---|---|
default <T2> Encoder2<T,T2> |
Encoder.append(Encoder<T2> other) |
default <T3> Encoder3<T1,T2,T3> |
Encoder2.append(Encoder<T3> other) |
static <E> Encoder<E[]> |
Encoders.arrayArg(Encoder<? super E> elemEncoder) |
static <T> Encoder<T> |
Encoder.choice(Predicate<T> predicate,
Encoder<T> then,
Encoder<T> otherwise) |
static <T> Encoder<T> |
Encoder.choice(Predicate<T> predicate,
Encoder<T> then,
Encoder<T> otherwise) |
static <T> Encoder<T> |
Encoder.choiceConst(Predicate<T> predicate,
ConstExpr then,
Encoder<T> otherwise) |
static <E> Encoder<Collection<? extends E>> |
Encoders.collArg(Encoder<? super E> elemEncoder) |
static <K,V> Encoder<Map<? extends K,? extends V>> |
Encoders.mapArg(Encoder<? super K> keyEncoder,
Encoder<? super V> valueEncoder) |
static <K,V> Encoder<Map<? extends K,? extends V>> |
Encoders.mapArg(Encoder<? super K> keyEncoder,
Encoder<? super V> valueEncoder) |
default Encoder<T> |
Encoder.zip(Encoder<T> enc2) |
Copyright © 2016. All rights reserved.