|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdods.servers.sql.SSFunique
Server side function for the DRDS. invoking this function in the DODS URL will cause the DRDS to only return those rows of the result that are unique. The SQL keyword DISTINCT is added to the SELECT statement to induce this behaviour.
Constructor Summary | |
SSFunique()
|
Method Summary | |
void |
checkArgs(java.util.List args)
Checks that the arguments given are acceptable arguments for this function. |
boolean |
evaluate(java.util.List args)
Evaluates the function using the argument list given. |
java.lang.String |
getName()
Returns the name of the server-side function, as it will appear in constraint expressions. |
java.lang.String |
getSQLCommand(java.util.List args)
This methods returns the SQL representation of this function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSFunique()
Method Detail |
public java.lang.String getSQLCommand(java.util.List args)
null
.
getSQLCommand
in interface SqlBoolFunction
args
- A list of Clauses containing the arguments specified
for this method in the DODS URL.
null
.public boolean evaluate(java.util.List args) throws SDODSException
evaluate
in interface BoolFunction
SDODSException
- Thrown if the function
cannot evaluate successfully. The exact type of exception is up
to the author of the server-side function.public java.lang.String getName()
getName
in interface ServerSideFunction
public void checkArgs(java.util.List args) throws InvalidParameterException
checkArgs
in interface ServerSideFunction
args
- A list of SubClauses that the caller is considering passing
to the evaluate() method of the function.
InvalidParameterException
- Thrown if the function will not
evaluate successfully using these arguments.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |