Class ClassifierJSONLogging

java.lang.Object
generalDatabase.JsonConverter
clickTrainDetector.classification.ClassifierJSONLogging
Direct Known Subclasses:
SimpleClassifierJSONLogging

public abstract class ClassifierJSONLogging extends JsonConverter
String logging for classifier for the click train detector.
Author:
Jamie Macaulay
  • Constructor Details

    • ClassifierJSONLogging

      public ClassifierJSONLogging()
  • Method Details

    • getJsonString

      public abstract String getJsonString(CTClassification classification)
      Create a standard xml like string of the error data which can be written to the relational database.
      Returns:
      Error information in an XML like format.
    • createClassification

      public abstract CTClassification createClassification(String jsonString)
      Get the CT classification from a string
      Parameters:
      jsonString - - the input string.
      Returns: