- java.lang.Object
-
- com.pervasive.datarush.matching.Index
-
public class Index extends Object
Configuration of the indexing phase for a matching operation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringLEFT_PATTERN_DEFAULTThe default renaming pattern for lefthand side fields.static StringPROP_BUFFER_ROWSName of the property specifying the buffer size used when generating comparison pairs.static StringPROP_KEYSName of the property specifying the blocking keys for duplicate discoverystatic StringPROP_LEFT_KEYSName of the property specifying the lefthand side keys for link discoverystatic StringPROP_RIGHT_KEYSName of the property specifying the righthand side keys for link discoverystatic StringRIGHT_PATTERN_DEFAULTThe default renaming pattern for righthand side fields.
-
Constructor Summary
Constructors Constructor Description Index()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(String name, Object value)Sets an individual index property.StringgetLeftFieldPattern()Get the left field pattern value.Map<String,Object>getProperties()Get the index implementation specific properties.StringgetRightFieldPattern()Get the right field pattern value.IndexTypegetType()Get the indexing type value.voidsetLeftFieldPattern(String leftFieldPattern)Set the left field pattern value.voidsetProperties(Map<String,Object> properties)Set the index implementation specific properties.voidsetRightFieldPattern(String rightFieldPattern)Set the right field pattern value.voidsetType(IndexType type)Set the indexing type value.
-
-
-
Field Detail
-
PROP_KEYS
public static final String PROP_KEYS
Name of the property specifying the blocking keys for duplicate discovery- See Also:
- Constant Field Values
-
PROP_LEFT_KEYS
public static final String PROP_LEFT_KEYS
Name of the property specifying the lefthand side keys for link discovery- See Also:
- Constant Field Values
-
PROP_RIGHT_KEYS
public static final String PROP_RIGHT_KEYS
Name of the property specifying the righthand side keys for link discovery- See Also:
- Constant Field Values
-
PROP_BUFFER_ROWS
public static final String PROP_BUFFER_ROWS
Name of the property specifying the buffer size used when generating comparison pairs.- See Also:
- Constant Field Values
-
LEFT_PATTERN_DEFAULT
public static final String LEFT_PATTERN_DEFAULT
The default renaming pattern for lefthand side fields.- See Also:
- Constant Field Values
-
RIGHT_PATTERN_DEFAULT
public static final String RIGHT_PATTERN_DEFAULT
The default renaming pattern for righthand side fields.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public IndexType getType()
Get the indexing type value.- Returns:
- indexing type value
-
setType
public void setType(IndexType type)
Set the indexing type value.- Parameters:
type- indexing type value
-
getProperties
public Map<String,Object> getProperties()
Get the index implementation specific properties.- Returns:
- index implementation specific properties
-
setProperties
public void setProperties(Map<String,Object> properties)
Set the index implementation specific properties.- Parameters:
properties- index implementation specific properties
-
addProperty
public void addProperty(String name, Object value)
Sets an individual index property.- Parameters:
name- the property namevalue- the property value
-
getLeftFieldPattern
public String getLeftFieldPattern()
Get the left field pattern value.- Returns:
- left field pattern value
-
setLeftFieldPattern
public void setLeftFieldPattern(String leftFieldPattern)
Set the left field pattern value.- Parameters:
leftFieldPattern- left field pattern value
-
getRightFieldPattern
public String getRightFieldPattern()
Get the right field pattern value.- Returns:
- right field pattern value
-
setRightFieldPattern
public void setRightFieldPattern(String rightFieldPattern)
Set the right field pattern value.- Parameters:
rightFieldPattern- rigth field pattern value
-
-