/** * The RelOps interface defines how each type responds to relational * operators. Most (all?) types will not have sensible responses to all of * the relational operators (e.g. DSequence won't know how to match a regular * expression but DString will). For those operators that are nonsensical a * class should throw InvalidOperatorException. */ public boolean equal(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Equals (=) operator does not work with the type SDSequence!"); }
/** * The RelOps interface defines how each type responds to relational * operators. Most (all?) types will not have sensible responses to all * of the relational operators (e.g. DArray won't know how to match a * regular expression but DString will). For those operators that are * nonsensical a class should throw InvalidOperatorException. */ public boolean equal(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Equals (=) operator does not work with the type SDArray!"); }
/** * The RelOps interface defines how each type responds to relational * operators. Most (all?) types will not have sensible responses to all of * the relational operators (e.g. DGrid won't know how to match a regular * expression but DString will). For those operators that are nonsensical a * class should throw InvalidOperatorException. */ public boolean equal(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Equals (=) operator does not work with the type SDGrid!"); }
/** * The RelOps interface defines how each type responds to relational * operators. Most (all?) types will not have sensible responses to all of * the relational operators (e.g. DList won't know how to match a regular * expression but DString will). For those operators that are nonsensical a * class should throw InvalidOperatorException. */ public boolean equal(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Equals (=) operator does not work with the type SDList!"); }
/** * The RelOps interface defines how each type responds to relational * operators. Most (all?) types will not have sensible responses to all of * the relational operators (e.g. DStructure won't know how to match a regular * expression but DString will). For those operators that are nonsensical a * class should throw InvalidOperatorException. */ public boolean equal(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Equals (=) operator does not work with the type SDStructure!"); }
public boolean regexp(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Regular Expression's don't work with the type SDList!"); }
public boolean greater_eql(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("GreaterThan or equals (<=) operator does not work with the type SDSequence!"); }
public boolean not_equal(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Not Equals (!=) operator does not work with the type SDStructure!"); }
public boolean greater(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Greater Than (>)operator does not work with the type SDStructure!"); }
public boolean greater_eql(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("GreaterThan or equals (<=) operator does not work with the type SDStructure!"); }
public boolean less_eql(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("LessThan oe equals (<=) operator does not work with the type SDStructure!"); }
public boolean regexp(BaseType bt) throws InvalidOperatorException, RegExpException, SBHException { throw new InvalidOperatorException("Regular Expression's don't work with the type SDStructure!"); }
private static boolean op(int oprtr, DByte lop, DURL rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }
private static boolean op(int oprtr, DFloat32 lop, DString rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }
private static boolean op(int oprtr, DUInt32 lop, DString rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }
private static boolean op(int oprtr, DUInt32 lop, DURL rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }
private static boolean op(int oprtr, DInt16 lop, DString rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }
private static boolean op(int oprtr, DInt32 lop, DString rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }
private static boolean op(int oprtr, DInt32 lop, DURL rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }
private static boolean op(int oprtr, DString lop, DUInt32 rop) throws InvalidOperatorException { switch (oprtr) { case LESS: case LESS_EQL: case GREATER: case GREATER_EQL: case EQUAL: case NOT_EQUAL: case REGEXP: throw new InvalidOperatorException(opErrorMsg(oprtr, lop.getTypeName(), rop.getTypeName())); default: throw new InvalidOperatorException("Unknown Operator Requested! RTFM!"); } }