Class Serialized<K,​V>

    • Field Detail

      • keySerde

        protected final Serde<K> keySerde
        Deprecated.
      • valueSerde

        protected final Serde<V> valueSerde
        Deprecated.
    • Constructor Detail

      • Serialized

        protected Serialized​(Serialized<K,​V> serialized)
        Deprecated.
    • Method Detail

      • with

        public static <K,​V> Serialized<K,​V> with​(Serde<K> keySerde,
                                                             Serde<V> valueSerde)
        Deprecated.
        Construct a Serialized instance with the provided key and value Serdes. If the Serde params are null the default serdes defined in the configs will be used.
        Type Parameters:
        K - the key type
        V - the value type
        Parameters:
        keySerde - keySerde that will be used to materialize a stream if not specified the default serdes defined in the configs will be used
        valueSerde - valueSerde that will be used to materialize a stream if not specified the default serdes defined in the configs will be used
        Returns:
        a new instance of Serialized configured with the provided serdes
      • withKeySerde

        public Serialized<K,​V> withKeySerde​(Serde<K> keySerde)
        Deprecated.
        Construct a Serialized instance with the provided key Serde. If the Serde params are null the default serdes defined in the configs will be used.
        Parameters:
        keySerde - keySerde that will be used to materialize a stream if not specified the default serdes defined in the configs will be used
        Returns:
        a new instance of Serialized configured with the provided key serde
      • withValueSerde

        public Serialized<K,​V> withValueSerde​(Serde<V> valueSerde)
        Deprecated.
        Construct a Serialized instance with the provided value Serde. If the Serde params are null the default serdes defined in the configs will be used.
        Parameters:
        valueSerde - valueSerde that will be used to materialize a stream if not specified the default serdes defined in the configs will be used
        Returns:
        a new instance of Serialized configured with the provided key serde