Class GuessTypesOfColumnCommand

java.lang.Object
com.google.refine.commands.Command
com.google.refine.commands.recon.GuessTypesOfColumnCommand

public class GuessTypesOfColumnCommand extends Command
  • Constructor Details

    • GuessTypesOfColumnCommand

      public GuessTypesOfColumnCommand()
  • Method Details

    • doPost

      public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Overrides:
      doPost in class Command
      Throws:
      javax.servlet.ServletException
      IOException
    • guessTypes

      protected List<GuessTypesOfColumnCommand.TypeGroup> guessTypes(Project project, Column column, String serviceUrl) throws IOException
      Run relevance searches for the first n cells in the given column and count the types of the results. Return a sorted list of types, from most frequent to least.
      Parameters:
      project -
      column -
      Returns:
      Throws:
      IOException
    • setSampleSize

      protected void setSampleSize(int sampleSize)