- java.lang.Object
-
- org.postgresql.pljava.jdbc.ResultSetField
-
public class ResultSetField extends Object
Representation of a field to be presented in aSyntheticResultSet
.- Author:
- Filip Hrbek
-
-
Constructor Summary
Constructors Constructor Description ResultSetField(String name, Oid oid, int len)
ResultSetField(String name, Oid oid, int len, int mod)
-
Method Summary
Modifier and Type Method Description boolean
canContain(Class cls)
String
getColumnLabel()
Class
getJavaClass()
int
getLength()
int
getMod()
Oid
getOID()
-
-
-
Constructor Detail
-
ResultSetField
public ResultSetField(String name, Oid oid, int len, int mod) throws SQLException
- Throws:
SQLException
-
ResultSetField
public ResultSetField(String name, Oid oid, int len) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
getOID
public final Oid getOID()
-
getJavaClass
public final Class getJavaClass() throws SQLException
- Throws:
SQLException
-
canContain
public final boolean canContain(Class cls) throws SQLException
- Throws:
SQLException
-
getMod
public final int getMod()
-
getColumnLabel
public final String getColumnLabel()
-
getLength
public final int getLength()
-
-