Class Recon

java.lang.Object
com.google.refine.model.Recon
All Implemented Interfaces:
HasFields

public class Recon extends Object implements HasFields
  • Field Details

    • Feature_typeMatch

      public static final int Feature_typeMatch
      See Also:
    • Feature_nameMatch

      public static final int Feature_nameMatch
      See Also:
    • Feature_nameLevenshtein

      public static final int Feature_nameLevenshtein
      See Also:
    • Feature_nameWordDistance

      public static final int Feature_nameWordDistance
      See Also:
    • Feature_max

      public static final int Feature_max
      See Also:
    • s_featureMap

      protected static final Map<String,Integer> s_featureMap
    • id

      public final long id
    • service

      public String service
    • identifierSpace

      public String identifierSpace
    • schemaSpace

      public String schemaSpace
    • features

      public Object[] features
    • candidates

      public List<ReconCandidate> candidates
    • judgment

      public Recon.Judgment judgment
    • judgmentAction

      public String judgmentAction
    • judgmentHistoryEntry

      public long judgmentHistoryEntry
    • judgmentBatchSize

      public int judgmentBatchSize
    • match

      public ReconCandidate match
    • error

      public String error
    • matchRank

      public int matchRank
  • Constructor Details

  • Method Details

    • judgmentToString

      @Deprecated public static String judgmentToString(Recon.Judgment judgment)
      Deprecated.
    • stringToJudgment

      @Deprecated public static Recon.Judgment stringToJudgment(String s)
      Deprecated.
    • makeFreebaseRecon

      @Deprecated public static Recon makeFreebaseRecon(long judgmentHistoryEntry)
      Deprecated.
    • makeWikidataRecon

      public static Recon makeWikidataRecon(long judgmentHistoryEntry)
    • dup

      public Recon dup()
    • dup

      public Recon dup(long judgmentHistoryEntry)
    • copyTo

      protected void copyTo(Recon r)
    • addCandidate

      public void addCandidate(ReconCandidate candidate)
    • getBestCandidate

      public ReconCandidate getBestCandidate()
    • getFeature

      public Object getFeature(int feature)
    • setFeature

      public void setFeature(int feature, Object v)
    • getField

      public Object getField(String name, Properties bindings)
      Specified by:
      getField in interface HasFields
    • fieldAlsoHasFields

      public boolean fieldAlsoHasFields(String name)
      Specified by:
      fieldAlsoHasFields in interface HasFields
    • judgmentToString

      @Deprecated protected String judgmentToString()
      Deprecated.
    • getId

      public long getId()
    • getJudgmentHistoryEntry

      public long getJudgmentHistoryEntry()
    • getServiceURI

      public String getServiceURI()
    • getIdentifierSpace

      public String getIdentifierSpace()
    • getSchemaSpace

      public String getSchemaSpace()
    • getJudgment

      public Recon.Judgment getJudgment()
    • getMatch

      public ReconCandidate getMatch()
    • getError

      public String getError()
    • getCandidates

      public List<ReconCandidate> getCandidates()
    • getfeatures

      public Object[] getfeatures()
    • getJudgmentAction

      public String getJudgmentAction()
    • getJudgmentBatchSize

      public int getJudgmentBatchSize()
    • getMatchRank

      public Integer getMatchRank()
    • loadStreaming

      public static Recon loadStreaming(String s) throws IOException
      Throws:
      IOException