@OperatorGeneratorCharacteristics(maximumArgumentCount=2, minimumArgumentCount=2, name="CONTAINSR", signature={EXPRESSION,EXPRESSION}) public final class CONTAINSR extends ScalarOperatorGenerator
Modifier and Type | Method and Description |
---|---|
static CONTAINSR |
getInstance()
Gets the instance
|
static OperatorImplementation_V0105 |
getInstance(Heading heading)
Gets an instance of the relation CONTAINSR operator for the particular given heading
|
OperatorImplementation_V0105 |
getOperatorImplementation(OperatorGeneratorArgument[] args)
Gets an implementation instance of the operator.
|
OperatorImplementation_V0105 |
getOperatorImplementationNI(java.util.List<NameIdentifier> argTypeNames)
Gets an operator implementation object for the operator with the invocation name that this factory corresponds to, and the given arguments specification
|
static CONTAINSR_RELATION_RELATION |
getPlainInstance()
Gets an instance of the relation CONTAINSR operator for the particular given heading
|
getInvocationName, getOperatorGeneratorSignature
public static CONTAINSR getInstance()
public static OperatorImplementation_V0105 getInstance(Heading heading)
heading
- The heading defining the relation type of both argumentspublic static CONTAINSR_RELATION_RELATION getPlainInstance()
public OperatorImplementation_V0105 getOperatorImplementation(OperatorGeneratorArgument[] args) throws NotFoundException
OperatorGenerator
args
- The arguments from which the instance is to be created. There must be exactly as many arguments as there are elements in the list returned from OperatorGenerator.getOperatorGeneratorSignature()
. The correspondence between OperatorGeneratorArgumentType
values and OperatorGeneratorArgument
types is given in the table below :
NotFoundException
- If the given OperatorGeneratorArguments do not satisfy all of the rules of the OperatorGenerator. These rules are specific to each OperatorGenerator.public OperatorImplementation_V0105 getOperatorImplementationNI(java.util.List<NameIdentifier> argTypeNames) throws NotFoundException
ScalarOperatorGenerator
getOperatorImplementationNI
in class ScalarOperatorGenerator
argTypeNames
- The particular signature of a "generic" operator (with the invocation name that this factory corresponds to) for which an implementation object is to be returnedNotFoundException
- If the given signature does not match the characteristics of the generated operator (e.g. only a single argument for an LE operator), or any other condition exists that prevents the operator from being generated (e.g. LE with two arguments indicating an unordered type)