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
getSQLCommand
String getSQLCommand(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
.