| Constructor and Description |
|---|
Stores.StoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
Stores.ValueFactory<byte[]> |
withByteArrayKeys()
Begin to create a
KeyValueStore by specifying the keys will be byte arrays. |
Stores.ValueFactory<ByteBuffer> |
withByteBufferKeys()
Begin to create a
KeyValueStore by specifying the keys will be ByteBuffer. |
Stores.ValueFactory<Double> |
withDoubleKeys()
Begin to create a
KeyValueStore by specifying the keys will be Doubles. |
Stores.ValueFactory<Integer> |
withIntegerKeys()
Begin to create a
KeyValueStore by specifying the keys will be Integers. |
<K> Stores.ValueFactory<K> |
withKeys(Class<K> keyClass)
Begin to create a
KeyValueStore by specifying the keys. |
abstract <K> Stores.ValueFactory<K> |
withKeys(Serde<K> keySerde)
Begin to create a
KeyValueStore by specifying the serializer and deserializer for the keys. |
Stores.ValueFactory<Long> |
withLongKeys()
Begin to create a
KeyValueStore by specifying the keys will be Longs. |
Stores.ValueFactory<String> |
withStringKeys()
Begin to create a
KeyValueStore by specifying the keys will be Strings. |
public Stores.ValueFactory<String> withStringKeys()
KeyValueStore by specifying the keys will be Strings.public Stores.ValueFactory<Integer> withIntegerKeys()
KeyValueStore by specifying the keys will be Integers.public Stores.ValueFactory<Long> withLongKeys()
KeyValueStore by specifying the keys will be Longs.public Stores.ValueFactory<Double> withDoubleKeys()
KeyValueStore by specifying the keys will be Doubles.public Stores.ValueFactory<ByteBuffer> withByteBufferKeys()
KeyValueStore by specifying the keys will be ByteBuffer.public Stores.ValueFactory<byte[]> withByteArrayKeys()
KeyValueStore by specifying the keys will be byte arrays.public <K> Stores.ValueFactory<K> withKeys(Class<K> keyClass)
KeyValueStore by specifying the keys.keyClass - the class for the keys, which must be one of the types for which Kafka has built-in serdespublic abstract <K> Stores.ValueFactory<K> withKeys(Serde<K> keySerde)
KeyValueStore by specifying the serializer and deserializer for the keys.keySerde - the serialization factory for keys; may be null