Package opendap.servers
Interface RelOps
- All Known Implementing Classes:
SDArray,SDByte,SDFloat32,SDFloat64,SDGrid,SDInt16,SDInt32,SDList,SDSequence,SDString,SDStructure,SDUInt16,SDUInt32,SDURL
public interface RelOps
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. DByte won't know how to match a regular
expression but DString will). For those operators that are nonsensical a
class should throw InvalidOperator.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanequal(opendap.dap.BaseType bt) booleangreater(opendap.dap.BaseType bt) booleangreater_eql(opendap.dap.BaseType bt) booleanless(opendap.dap.BaseType bt) booleanless_eql(opendap.dap.BaseType bt) booleannot_equal(opendap.dap.BaseType bt) booleanregexp(opendap.dap.BaseType bt)
-
Method Details
-
equal
boolean equal(opendap.dap.BaseType bt) throws InvalidOperatorException, RegExpException, SBHException -
not_equal
boolean not_equal(opendap.dap.BaseType bt) throws InvalidOperatorException, RegExpException, SBHException -
greater
boolean greater(opendap.dap.BaseType bt) throws InvalidOperatorException, RegExpException, SBHException -
greater_eql
boolean greater_eql(opendap.dap.BaseType bt) throws InvalidOperatorException, RegExpException, SBHException -
less
boolean less(opendap.dap.BaseType bt) throws InvalidOperatorException, RegExpException, SBHException -
less_eql
boolean less_eql(opendap.dap.BaseType bt) throws InvalidOperatorException, RegExpException, SBHException -
regexp
boolean regexp(opendap.dap.BaseType bt) throws InvalidOperatorException, RegExpException, SBHException
-