dods.servers.sql
Interface SqlBTFunction
- All Superinterfaces:
- BTFunction, ServerSideFunction
public interface SqlBTFunction
- extends BTFunction
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 David 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
.