Package com.google.refine.model
Class Column
java.lang.Object
com.google.refine.model.Column
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClear all cached precomputed values.intgetName()getPrecompute(String key) getTitle()getType()static ColumnvoidvoidsetConstraints(Map<String, Object> constraints) voidsetConstraintsJson(String json) voidsetDescription(String description) voidvoidvoidsetPrecompute(String key, Object value) voidsetReconConfig(ReconConfig config) voidsetReconStats(ReconStats stats) voidvoidtoString()
-
Field Details
-
_precomputes
-
-
Constructor Details
-
Column
-
-
Method Details
-
getCellIndex
public int getCellIndex() -
getOriginalHeaderLabel
-
setName
-
getName
-
setReconConfig
-
getReconConfig
-
setReconStats
-
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
-
setPrecompute
-
getType
-
setType
-
getFormat
-
setFormat
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getConstraintsString
-
setConstraintsJson
-
getConstraints
-
setConstraints
-
save
-
load
- Throws:
Exception
-
toString
-