Class CrossTableDefinition
java.lang.Object
com.aquima.interactions.matching.impl.functions.crosstable.CrossTableDefinition
This class contains a single cross-table definition.
- Since:
- 6.2
- Author:
- O. Kerpershoek, F. van der Meer
-
Constructor Summary
ConstructorsConstructorDescriptionCrossTableDefinition
(IDomainDefinition domain, ICrosstableDS datasource) Constructs a cross-table definition for the specified domain using the provided datasource. -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getInternalIdFor
(IPrimitiveValue domainValue) protected int
match
(int aanbodId, int vraagId) protected void
setDistance
(IPrimitiveValue fromValue, IPrimitiveValue toValue, int distance)
-
Constructor Details
-
CrossTableDefinition
Constructs a cross-table definition for the specified domain using the provided datasource.- Parameters:
domain
- The domain for which the cross-table is constructed.datasource
- The data source providing the cross-table distances.- Throws:
InitializationException
- This exception is thrown when the cross table definition could not be initialized due to invalid data from the data source.
-
-
Method Details
-
setDistance
-
getInternalIdFor
-
match
protected int match(int aanbodId, int vraagId)
-