object Materialized
- Alphabetic
- By Inheritance
- Materialized
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
as[K, V](supplier: KeyValueBytesStoreSupplier)(implicit keySerde: Serde[K], valueSerde: Serde[V]): kstream.Materialized[K, V, ByteArrayKeyValueStore]
Materialize a org.apache.kafka.streams.state.KeyValueStore using the provided KeyValueBytesStoreSupplier.
Materialize a org.apache.kafka.streams.state.KeyValueStore using the provided KeyValueBytesStoreSupplier.
- K
key type of the store
- V
value type of the store
- supplier
the KeyValueBytesStoreSupplier used to materialize the store
- keySerde
the key serde to use.
- valueSerde
the value serde to use.
- returns
a new Materialized instance with the given supplier
-
def
as[K, V](supplier: SessionBytesStoreSupplier)(implicit keySerde: Serde[K], valueSerde: Serde[V]): kstream.Materialized[K, V, ByteArraySessionStore]
Materialize a org.apache.kafka.streams.state.SessionStore using the provided SessionBytesStoreSupplier.
Materialize a org.apache.kafka.streams.state.SessionStore using the provided SessionBytesStoreSupplier.
Important: Custom subclasses are allowed here, but they should respect the retention contract: Session stores are required to retain windows at least as long as (session inactivity gap + session grace period). Stores constructed via org.apache.kafka.streams.state.Stores already satisfy this contract.
- K
key type of the store
- V
value type of the store
- supplier
the SessionBytesStoreSupplier used to materialize the store
- keySerde
the key serde to use.
- valueSerde
the value serde to use.
- returns
a new Materialized instance with the given supplier
-
def
as[K, V](supplier: WindowBytesStoreSupplier)(implicit keySerde: Serde[K], valueSerde: Serde[V]): kstream.Materialized[K, V, ByteArrayWindowStore]
Materialize a org.apache.kafka.streams.state.WindowStore using the provided WindowBytesStoreSupplier.
Materialize a org.apache.kafka.streams.state.WindowStore using the provided WindowBytesStoreSupplier.
Important: Custom subclasses are allowed here, but they should respect the retention contract: Window stores are required to retain windows at least as long as (window size + window grace period). Stores constructed via org.apache.kafka.streams.state.Stores already satisfy this contract.
- K
key type of the store
- V
value type of the store
- supplier
the WindowBytesStoreSupplier used to materialize the store
- keySerde
the key serde to use.
- valueSerde
the value serde to use.
- returns
a new Materialized instance with the given supplier
-
def
as[K, V, S <: StateStore](storeName: String)(implicit keySerde: Serde[K], valueSerde: Serde[V]): kstream.Materialized[K, V, S]
Materialize a StateStore with the given name.
Materialize a StateStore with the given name.
- K
key type of the store
- V
value type of the store
- S
type of the StateStore
- storeName
the name of the underlying org.apache.kafka.streams.scala.kstream.KTable state store; valid characters are ASCII alphanumerics, '.', '_' and '-'.
- keySerde
the key serde to use.
- valueSerde
the value serde to use.
- returns
a new Materialized instance with the given storeName
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
with[K, V, S <: StateStore](implicit keySerde: Serde[K], valueSerde: Serde[V]): kstream.Materialized[K, V, S]
Materialize a StateStore with the provided key and value Serdes.
Materialize a StateStore with the provided key and value Serdes. An internal name will be used for the store.
- K
key type
- V
value type
- S
store type
- keySerde
the key Serde to use.
- valueSerde
the value Serde to use.
- returns
a new Materialized instance with the given key and value serdes