Class ReconConfig

java.lang.Object
com.google.refine.model.recon.ReconConfig
Direct Known Subclasses:
StandardReconConfig

public abstract class ReconConfig extends Object
  • Field Details

  • Constructor Details

    • ReconConfig

      public ReconConfig()
  • Method Details

    • registerReconConfig

      public static void registerReconConfig(edu.mit.simile.butterfly.ButterflyModule module, String name, Class<? extends ReconConfig> klass)
    • getClassFromMode

      public static Class<? extends ReconConfig> getClassFromMode(String mode)
    • reconstruct

      public static ReconConfig reconstruct(String json) throws Exception
      Throws:
      Exception
    • getBatchSize

      public abstract int getBatchSize(int rowCount)
    • getBriefDescription

      public abstract String getBriefDescription(Project project, String columnName)
    • createJob

      public abstract ReconJob createJob(Project project, int rowIndex, Row row, String columnName, Cell cell)
    • batchRecon

      public abstract List<Recon> batchRecon(List<ReconJob> jobs, long historyEntryID)
    • createNewRecon

      public abstract Recon createNewRecon(long historyEntryID)
    • save

      public void save(Writer writer)
    • getMode

      public abstract String getMode()
      Returns the identifier for the reconciliation mode, as serialized in JSON. This is the same identifier that was used to register the registration mode. Jackson already adds the mode during serialization hence the JsonIgnore here.