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 Double s. |
Stores.ValueFactory<Integer> |
withIntegerKeys()
Begin to create a
KeyValueStore by specifying the keys will be Integer s. |
<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 Long s. |
Stores.ValueFactory<String> |
withStringKeys()
Begin to create a
KeyValueStore by specifying the keys will be String s. |
public Stores.ValueFactory<String> withStringKeys()
KeyValueStore
by specifying the keys will be String
s.public Stores.ValueFactory<Integer> withIntegerKeys()
KeyValueStore
by specifying the keys will be Integer
s.public Stores.ValueFactory<Long> withLongKeys()
KeyValueStore
by specifying the keys will be Long
s.public Stores.ValueFactory<Double> withDoubleKeys()
KeyValueStore
by specifying the keys will be Double
s.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