- 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 String
LEFT_PATTERN_DEFAULT
The default renaming pattern for lefthand side fields.static String
PROP_BUFFER_ROWS
Name of the property specifying the buffer size used when generating comparison pairs.static String
PROP_KEYS
Name of the property specifying the blocking keys for duplicate discoverystatic String
PROP_LEFT_KEYS
Name of the property specifying the lefthand side keys for link discoverystatic String
PROP_RIGHT_KEYS
Name of the property specifying the righthand side keys for link discoverystatic String
RIGHT_PATTERN_DEFAULT
The 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 void
addProperty(String name, Object value)
Sets an individual index property.String
getLeftFieldPattern()
Get the left field pattern value.Map<String,Object>
getProperties()
Get the index implementation specific properties.String
getRightFieldPattern()
Get the right field pattern value.IndexType
getType()
Get the indexing type value.void
setLeftFieldPattern(String leftFieldPattern)
Set the left field pattern value.void
setProperties(Map<String,Object> properties)
Set the index implementation specific properties.void
setRightFieldPattern(String rightFieldPattern)
Set the right field pattern value.void
setType(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
-
-