Class CriteriaSerDe

java.lang.Object
org.apache.nifi.update.attributes.serde.CriteriaSerDe

public class CriteriaSerDe extends Object
  • Field Details

    • JAXB_CONTEXT

      private static final jakarta.xml.bind.JAXBContext JAXB_CONTEXT
  • Constructor Details

    • CriteriaSerDe

      public CriteriaSerDe()
  • Method Details

    • serialize

      public static String serialize(Criteria criteria)
      Serializes the specified criteria.
      Parameters:
      criteria - to serialize
      Returns:
      the string representation of the given criteria
    • deserialize

      public static Criteria deserialize(String string)
      Deserializes the specified criteria.
      Parameters:
      string - the string representation of the criteria
      Returns:
      the criteria object