dods.dap.Server
Interface RelOps

All Known Implementing Classes:
SDArray, SDBoolean, 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.

Version:
$Revision: 1.3 $
Author:
jhrg

Method Summary
 boolean equal(dods.dap.BaseType bt)
           
 boolean greater_eql(dods.dap.BaseType bt)
           
 boolean greater(dods.dap.BaseType bt)
           
 boolean less_eql(dods.dap.BaseType bt)
           
 boolean less(dods.dap.BaseType bt)
           
 boolean not_equal(dods.dap.BaseType bt)
           
 boolean regexp(dods.dap.BaseType bt)
           
 

Method Detail

equal

boolean equal(dods.dap.BaseType bt)
              throws InvalidOperatorException,
                     RegExpException,
                     SBHException
Throws:
InvalidOperatorException
RegExpException
SBHException

not_equal

boolean not_equal(dods.dap.BaseType bt)
                  throws InvalidOperatorException,
                         RegExpException,
                         SBHException
Throws:
InvalidOperatorException
RegExpException
SBHException

greater

boolean greater(dods.dap.BaseType bt)
                throws InvalidOperatorException,
                       RegExpException,
                       SBHException
Throws:
InvalidOperatorException
RegExpException
SBHException

greater_eql

boolean greater_eql(dods.dap.BaseType bt)
                    throws InvalidOperatorException,
                           RegExpException,
                           SBHException
Throws:
InvalidOperatorException
RegExpException
SBHException

less

boolean less(dods.dap.BaseType bt)
             throws InvalidOperatorException,
                    RegExpException,
                    SBHException
Throws:
InvalidOperatorException
RegExpException
SBHException

less_eql

boolean less_eql(dods.dap.BaseType bt)
                 throws InvalidOperatorException,
                        RegExpException,
                        SBHException
Throws:
InvalidOperatorException
RegExpException
SBHException

regexp

boolean regexp(dods.dap.BaseType bt)
               throws InvalidOperatorException,
                      RegExpException,
                      SBHException
Throws:
InvalidOperatorException
RegExpException
SBHException