public class FunctionMultiReturn
extends java.lang.Object
| Constructor and Description |
|---|
FunctionMultiReturn() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String... args)
This method is called when executing this sample application from the
command line.
|
static java.sql.ResultSet |
polar2Cartesian(java.lang.Double r,
java.lang.Double alpha)
Convert polar coordinates to cartesian coordinates.
|
static java.lang.Object[] |
polar2CartesianArray(java.lang.Double r,
java.lang.Double alpha)
Convert polar coordinates to cartesian coordinates.
|
static java.sql.ResultSet |
polar2CartesianSet(java.sql.Connection conn,
java.lang.String query)
Convert a set of polar coordinates to cartesian coordinates.
|
public static void main(java.lang.String... args)
throws java.lang.Exception
args - the command line parametersjava.lang.Exceptionpublic static java.sql.ResultSet polar2Cartesian(java.lang.Double r,
java.lang.Double alpha)
r - the distance from the point 0/0alpha - the anglepublic static java.lang.Object[] polar2CartesianArray(java.lang.Double r,
java.lang.Double alpha)
r - the distance from the point 0/0alpha - the anglepublic static java.sql.ResultSet polar2CartesianSet(java.sql.Connection conn,
java.lang.String query)
throws java.sql.SQLException
conn - the connectionquery - the queryjava.sql.SQLException