|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.sqldialect.postgis.function.PostGISArea
public class PostGISArea
SQLFunctionProvider
for the Area
function.
Constructor Summary | |
---|---|
PostGISArea()
|
Method Summary | |
---|---|
void |
destroy()
Called by SQLFunctionManager once when this SQLFunctionProvider is being taken out of service. |
Set<ConnectionManager.Type> |
getDialects()
Returns the supported SQL dialects. |
String |
getName()
Returns the name of the provided function. |
void |
init(DeegreeWorkspace ws)
Called by SQLFunctionManager once when this SQLFunctionProvider is being taken into service. |
SQLExpression |
toProtoSQL(List<SQLExpression> args,
SQLDialect dialect)
Translates the given arguments into an an SQL function call. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostGISArea()
Method Detail |
---|
public String getName()
SQLFunctionProvider
getName
in interface SQLFunctionProvider
null
public Set<ConnectionManager.Type> getDialects()
SQLFunctionProvider
getDialects
in interface SQLFunctionProvider
null
public SQLExpression toProtoSQL(List<SQLExpression> args, SQLDialect dialect)
SQLFunctionProvider
toProtoSQL
in interface SQLFunctionProvider
args
- SQL arguments, can be empty, but never null
dialect
- SQL dialect, can be null
(TODO shouldn't be)
null
public void init(DeegreeWorkspace ws) throws ResourceInitException
SQLFunctionProvider
SQLFunctionManager
once when this SQLFunctionProvider
is being taken into service.
init
in interface SQLFunctionProvider
ws
- workspace context, never null
ResourceInitException
- if the initialization failspublic void destroy()
SQLFunctionProvider
SQLFunctionManager
once when this SQLFunctionProvider
is being taken out of service.
destroy
in interface SQLFunctionProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |