public class Purpose extends Object implements Serializable, IPurpose
| Constructor and Description |
|---|
Purpose() |
Purpose(String schemaName,
String purposeName,
List<PurposeColumn> purposeColumns) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPurposeColumn(PurposeColumn pc) |
double |
calculateScore(RecordInterface basein,
RecordInterface comparitorin,
boolean forSearch,
boolean asContent,
boolean matchScoring) |
void |
convertTargetAlgo(String algo) |
void |
deletePurposeColumn(String purposeColumnName) |
List<PurposeColumn> |
getPurposeColumns() |
String |
getPurposeName() |
String |
getPurposeType() |
ISchemaMeta |
getSchDoc() |
String |
getSchemaName() |
Collection<String> |
getTableColumns(String tableName) |
int |
getTargetAlgo() |
void |
setPurposeColumns(List<PurposeColumn> pc) |
void |
setPurposeName(String purposeName) |
void |
setPurposeType(String purposeType) |
void |
setSchDoc(SchemaMeta schemaMeta) |
void |
setSchemaName(String schemaName) |
void |
setTargetAlgo(int algo) |
RecordInterface |
standardize(RecordInterface basein) |
public Purpose()
public Purpose(String schemaName, String purposeName, List<PurposeColumn> purposeColumns)
public ISchemaMeta getSchDoc()
public double calculateScore(RecordInterface basein, RecordInterface comparitorin, boolean forSearch, boolean asContent, boolean matchScoring) throws Exception
calculateScore in interface IPurposeExceptionpublic RecordInterface standardize(RecordInterface basein) throws Exception
standardize in interface IPurposeExceptionpublic String getPurposeName()
getPurposeName in interface IPurposepublic void setPurposeName(String purposeName)
setPurposeName in interface IPurposepublic void addPurposeColumn(PurposeColumn pc)
addPurposeColumn in interface IPurposepublic List<PurposeColumn> getPurposeColumns()
getPurposeColumns in interface IPurposepublic void setPurposeColumns(List<PurposeColumn> pc)
setPurposeColumns in interface IPurposepublic int getTargetAlgo()
getTargetAlgo in interface IPurposepublic void setTargetAlgo(int algo)
setTargetAlgo in interface IPurposepublic String getPurposeType()
getPurposeType in interface IPurposepublic void setPurposeType(String purposeType)
setPurposeType in interface IPurposepublic void convertTargetAlgo(String algo)
convertTargetAlgo in interface IPurposepublic Collection<String> getTableColumns(String tableName)
getTableColumns in interface IPurposepublic void setSchemaName(String schemaName)
setSchemaName in interface IPurposepublic String getSchemaName()
getSchemaName in interface IPurposepublic void deletePurposeColumn(String purposeColumnName)
deletePurposeColumn in interface IPurposepublic void setSchDoc(SchemaMeta schemaMeta)
Copyright © 2021. All rights reserved.