@OperatorGeneratorCharacteristics(maximumArgumentCount=2, minimumArgumentCount=2, name="CONTAINST", signature={EXPRESSION,EXPRESSION}) public final class CONTAINST extends ScalarOperatorGenerator
| Modifier and Type | Method and Description |
|---|---|
static CONTAINST |
getInstance()
Gets the operator generator instance
|
static OperatorImplementation_V0105 |
getInstance(Heading heading)
Gets an instance of the relation CONTAINST operator for the particular given heading
|
java.lang.String |
getInvocationName()
The default implementation returns the name() in the
OperatorGeneratorCharacteristics annotation associated with the operator generator. |
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 CONTAINST_RELATION_TUPLE |
getPlainInstance()
Gets an instance of the relation CONTAINST operator for the particular given heading
|
getOperatorGeneratorSignaturepublic static CONTAINST getInstance()
public static OperatorImplementation_V0105 getInstance(Heading heading)
heading - The heading defining the relation type of both argumentspublic static CONTAINST_RELATION_TUPLE getPlainInstance()
public java.lang.String getInvocationName()
ScalarOperatorGeneratorOperatorGeneratorCharacteristics annotation associated with the operator generator. Absent such an annotation, returns the simple class name.getInvocationName in interface OperatorGeneratorgetInvocationName in class ScalarOperatorGeneratorOperatorGenerator.getInvocationName()public OperatorImplementation_V0105 getOperatorImplementation(OperatorGeneratorArgument[] args) throws NotFoundException
OperatorGeneratorargs - 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
ScalarOperatorGeneratorgetOperatorImplementationNI in class ScalarOperatorGeneratorargTypeNames - 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)