Package com.senzing.g2.engine.plugin
Class G2EngineContextJNI
- java.lang.Object
-
- com.senzing.g2.engine.plugin.G2EngineContextJNI
-
- All Implemented Interfaces:
G2EngineContext
public class G2EngineContextJNI extends Object implements G2EngineContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.senzing.g2.engine.plugin.G2EngineContext
G2EngineContext.StringScoringContext, G2EngineContext.SystemParameterContext
-
-
Constructor Summary
Constructors Constructor Description G2EngineContextJNI()
-
Method Summary
All Methods Instance Methods Concrete 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
-
scoreStrings
public int scoreStrings(G2EngineContext.StringScoringContext context)
Description copied from interface:G2EngineContext
Performs a string scoring operation.- Specified by:
scoreStrings
in interfaceG2EngineContext
- Parameters:
context
- TheG2EngineContext.StringScoringContext
for performing the operation.- Returns:
- A non-negative number on success and a negative number on failure.
-
getSystemParameter
public int getSystemParameter(G2EngineContext.SystemParameterContext context)
Description copied from interface:G2EngineContext
Retrieves a system parameter.- Specified by:
getSystemParameter
in interfaceG2EngineContext
- 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.
-
-