Class FlinkPravegaInputFormat.Builder<T>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withDeserializationSchema

        public FlinkPravegaInputFormat.Builder<T> withDeserializationSchema​(org.apache.flink.api.common.serialization.DeserializationSchema<T> deserializationSchema)
        Sets the deserialization schema.
        Parameters:
        deserializationSchema - The deserialization schema
        Returns:
        A builder to configure and create a batch reader.
      • withDeserializationSchemaFromRegistry

        public FlinkPravegaInputFormat.Builder<T> withDeserializationSchemaFromRegistry​(java.lang.String groupId,
                                                                                        java.lang.Class<T> tClass)
        Sets the deserialization schema from schema registry.
        Parameters:
        groupId - The group id in schema registry
        tClass - The class describing the deserialized type.
        Returns:
        Builder instance.
      • getDeserializationSchema

        protected org.apache.flink.api.common.serialization.DeserializationSchema<T> getDeserializationSchema()