Package com.senzing.g2.engine.plugin
Interface G2EngineContext
-
- All Known Implementing Classes:
G2EngineContextJNI
public interface G2EngineContext
Provides an interface to internal engine resources and algorithms
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
G2EngineContext.StringScoringContext
Context for scoring strings.static class
G2EngineContext.SystemParameterContext
Context for retrieving system parameters
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getSystemParameter(G2EngineContext.SystemParameterContext context)
Retrieves a system parameter.int
scoreStrings(G2EngineContext.StringScoringContext context)
Performs a string scoring operation.
-
-
-
Method Detail
-
getSystemParameter
int getSystemParameter(G2EngineContext.SystemParameterContext context)
Retrieves a system parameter.- Parameters:
context
- TheG2EngineContext.SystemParameterContext
describing the system parameter and for setting the result value.- Returns:
- A non-negative number on success and a negative number on failure.
-
scoreStrings
int scoreStrings(G2EngineContext.StringScoringContext context)
Performs a string scoring operation.- Parameters:
context
- TheG2EngineContext.StringScoringContext
for performing the operation.- Returns:
- A non-negative number on success and a negative number on failure.
-
-