|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.schema.content.VirtualContent
org.deegree.io.datastore.schema.content.FunctionCall
org.deegree.io.datastore.schema.content.SQLFunctionCall
public class SQLFunctionCall
Content class for MappedSimplePropertyTypes that describes a call to a function provided
by an SQL database.
| Constructor Summary | |
|---|---|
SQLFunctionCall(java.lang.String callString,
int typeCode,
FunctionParam... params)
Initializes a newly created SQLFunctionCall with the given call string and
FunctionParams. |
|
SQLFunctionCall(java.lang.String callString,
int typeCode,
java.util.List<FunctionParam> params)
Initializes a newly created SQLFunctionCall with the given call string and
FunctionParams. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCall()
Returns the call string with placeholders ($1,$2,... |
int |
getTypeCode()
Returns the SQL type code of the function call's return value. |
int[] |
getUsedVars()
Returns all variable numbers used in the call string. |
boolean |
isSortable()
Returns true, because the result of an SQL function call is (in general) suitable as a sort criterion. |
java.lang.String |
toString()
|
| Methods inherited from class org.deegree.io.datastore.schema.content.FunctionCall |
|---|
getParams |
| Methods inherited from class org.deegree.io.datastore.schema.content.VirtualContent |
|---|
isUpdateable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SQLFunctionCall(java.lang.String callString,
int typeCode,
java.util.List<FunctionParam> params)
SQLFunctionCall with the given call string and
FunctionParams.
callString - call string with placeholders ($1,$2,...,$n)typeCode - SQL type code of the return valueparams - parameters to be used for the placeholders
public SQLFunctionCall(java.lang.String callString,
int typeCode,
FunctionParam... params)
SQLFunctionCall with the given call string and
FunctionParams.
callString - call string with placeholders ($1,$2,...,$n)typeCode - SQL type code of the return valueparams - parameters to be used for the placeholders| Method Detail |
|---|
public boolean isSortable()
public java.lang.String getCall()
FunctionParams.
public int getTypeCode()
public int[] getUsedVars()
public java.lang.String toString()
toString in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org