public abstract static class Stores.StoreFactory
extends java.lang.Object
Constructor | Description |
---|---|
StoreFactory() |
Modifier and Type | Method | Description |
---|---|---|
Stores.ValueFactory<byte[]> |
withByteArrayKeys() |
Begin to create a
KeyValueStore by specifying the keys will be byte arrays. |
Stores.ValueFactory<java.nio.ByteBuffer> |
withByteBufferKeys() |
Begin to create a
KeyValueStore by specifying the keys will be ByteBuffer . |
Stores.ValueFactory<java.lang.Double> |
withDoubleKeys() |
Begin to create a
KeyValueStore by specifying the keys will be Double s. |
Stores.ValueFactory<java.lang.Integer> |
withIntegerKeys() |
Begin to create a
KeyValueStore by specifying the keys will be Integer s. |
<K> Stores.ValueFactory<K> |
withKeys(java.lang.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<java.lang.Long> |
withLongKeys() |
Begin to create a
KeyValueStore by specifying the keys will be Long s. |
Stores.ValueFactory<java.lang.String> |
withStringKeys() |
Begin to create a
KeyValueStore by specifying the keys will be String s. |
public Stores.ValueFactory<java.lang.String> withStringKeys()
KeyValueStore
by specifying the keys will be String
s.public Stores.ValueFactory<java.lang.Integer> withIntegerKeys()
KeyValueStore
by specifying the keys will be Integer
s.public Stores.ValueFactory<java.lang.Long> withLongKeys()
KeyValueStore
by specifying the keys will be Long
s.public Stores.ValueFactory<java.lang.Double> withDoubleKeys()
KeyValueStore
by specifying the keys will be Double
s.public Stores.ValueFactory<java.nio.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(java.lang.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