Class Column

java.lang.Object
com.google.refine.model.Column

public class Column extends Object
  • Field Details

  • Constructor Details

    • Column

      public Column(int cellIndex, String originalName)
  • Method Details

    • getCellIndex

      public int getCellIndex()
    • getOriginalHeaderLabel

      public String getOriginalHeaderLabel()
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • setReconConfig

      public void setReconConfig(ReconConfig config)
    • getReconConfig

      public ReconConfig getReconConfig()
    • setReconStats

      public void setReconStats(ReconStats stats)
    • getReconStats

      public ReconStats getReconStats()
    • clearPrecomputes

      public void clearPrecomputes()
      Clear all cached precomputed values.

      If you are modifying something that requires this to be called, you probably also need to call LookupCacheManager.flushLookupsInvolvingProjectColumn(long, String) e.g. ProjectManager.singleton.getLookupCacheManager().flushLookupsInvolvingProjectColumn(project.id, column.getName())

    • getPrecompute

      public Object getPrecompute(String key)
    • setPrecompute

      public void setPrecompute(String key, Object value)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getFormat

      public String getFormat()
    • setFormat

      public void setFormat(String format)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getConstraintsString

      public String getConstraintsString()
    • setConstraintsJson

      public void setConstraintsJson(String json)
    • getConstraints

      public Map<String,Object> getConstraints()
    • setConstraints

      public void setConstraints(Map<String,Object> constraints)
    • save

      public void save(Writer writer)
    • load

      public static Column load(String s) throws Exception
      Throws:
      Exception
    • toString

      public String toString()
      Overrides:
      toString in class Object