@OperatorGeneratorCharacteristics(maximumArgumentCount=3, minimumArgumentCount=3, name="CONTAINSTUSING", signature={EXPRESSION,EXPRESSION,STRING}) public final class CONTAINSTUSING extends ScalarOperatorGenerator
| Modifier and Type | Method and Description |
|---|---|
static CONTAINSTUSING |
getInstance()
Gets the operator generator instance
|
static OperatorImplementation_V0105 |
getInstance(Heading heading,
java.util.LinkedList<NameIdentifier> treatAsRange)
Gets an instance of the operator for the given heading and USING<> attributes
|
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
|
getOperatorGeneratorSignaturepublic static CONTAINSTUSING getInstance()
public static OperatorImplementation_V0105 getInstance(Heading heading, java.util.LinkedList<NameIdentifier> treatAsRange)
heading - The headingtreatAsRange - The USING<> attributespublic 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 final 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)