Package org.apache.kafka.streams.state
Class DslKeyValueParams
java.lang.Object
org.apache.kafka.streams.state.DslKeyValueParams
DslKeyValueParams is a wrapper class for all parameters that function
as inputs to DslStoreSuppliers.keyValueStore(DslKeyValueParams).-
Constructor Summary
ConstructorsConstructorDescriptionDslKeyValueParams(String name, boolean isTimestamped) Deprecated.Since 4.3.DslKeyValueParams(String name, DslStoreFormat dslStoreFormat) -
Method Summary
-
Constructor Details
-
DslKeyValueParams
Deprecated.Since 4.3. UseDslKeyValueParams(String, DslStoreFormat)instead.- Parameters:
name- the name of the store (cannot benull)isTimestamped- whether the returned stores should be timestamped, see (TimestampedKeyValueStore
-
DslKeyValueParams
- Parameters:
name- the name of the store (cannot benull)dslStoreFormat- the format of the state store, see (DslStoreFormat
-
-
Method Details
-
name
-
isTimestamped
Deprecated.Since 4.3. UsedslStoreFormat()instead to check the store format.- Returns:
trueif the store format isDslStoreFormat.TIMESTAMPED,falseotherwise
-
dslStoreFormat
Returns the store format for this key-value store.- Returns:
- the
DslStoreFormatspecifying whether to use plain, timestamped, or headers-aware stores
-
equals
-
hashCode
public int hashCode() -
toString
-