dods.servers.sql
Interface SqlBoolFunction
- All Superinterfaces:
- BoolFunction, ServerSideFunction
- All Known Implementing Classes:
- SSFunique
- public interface SqlBoolFunction
- extends BoolFunction
Represents a server side function that is SQL enabled. It differs from its
parent interface in that it has a method for expressing itself as a fragment of SQL
code that can be included in an SQL database query. Functions implementing
interface are not required to have an SQl representation. If no such
representation for the function exisits then the getSQLCommand()
should simply return a null
and the function will be evaluated
in the regular manner by the DODS server after the data is recieved from the
DBMS.
- Author:
- Nathan Potter
Method Summary |
java.lang.String |
getSQLCommand(java.util.List args)
This methods returns the SQL representation of this function. |
getSQLCommand
public java.lang.String getSQLCommand(java.util.List args)
- This methods returns the SQL representation of this function.
If this function cannot produce ansensible SQL representation then
this method should return
null
.
- Parameters:
args
- A list of Clauses containing the arguments specified
for this method in the DODS URL.
- Returns:
- A String containing the SQL respresentation for this
Server Side Function. If no such representation exisit,
then it shall return
null
.