public static class SqlArrays.PostgreSQLTextArray
extends java.lang.Object
implements java.sql.Array
Array interface for PostgreSQL
 text array.| Constructor and Description | 
|---|
PostgreSQLTextArray(java.lang.String[] stringArray)
Initializing constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
free()  | 
java.lang.Object | 
getArray()  | 
java.lang.Object | 
getArray(long index,
        int count)  | 
java.lang.Object | 
getArray(long index,
        int count,
        java.util.Map<java.lang.String,java.lang.Class<?>> map)  | 
java.lang.Object | 
getArray(java.util.Map<java.lang.String,java.lang.Class<?>> map)  | 
int | 
getBaseType()  | 
java.lang.String | 
getBaseTypeName()  | 
java.sql.ResultSet | 
getResultSet()  | 
java.sql.ResultSet | 
getResultSet(long index,
            int count)  | 
java.sql.ResultSet | 
getResultSet(long index,
            int count,
            java.util.Map<java.lang.String,java.lang.Class<?>> map)  | 
java.sql.ResultSet | 
getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> map)  | 
static java.lang.String | 
stringArrayToPostgreSQLTextArray(java.lang.String[] stringArray)
This static method can be used to convert an string array to string
 representation of PostgreSQL text array. 
 | 
java.lang.String | 
toString()  | 
public PostgreSQLTextArray(java.lang.String[] stringArray)
stringArray - public java.lang.String toString()
toString in class java.lang.Objectpublic static java.lang.String stringArrayToPostgreSQLTextArray(java.lang.String[] stringArray)
a - source String arraypublic java.lang.Object getArray()
                          throws java.sql.SQLException
getArray in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.lang.Object getArray(java.util.Map<java.lang.String,java.lang.Class<?>> map)
                          throws java.sql.SQLException
getArray in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.lang.Object getArray(long index,
                                 int count)
                          throws java.sql.SQLException
getArray in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.lang.Object getArray(long index,
                                 int count,
                                 java.util.Map<java.lang.String,java.lang.Class<?>> map)
                          throws java.sql.SQLException
getArray in interface java.sql.Arrayjava.sql.SQLExceptionpublic int getBaseType()
                throws java.sql.SQLException
getBaseType in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.lang.String getBaseTypeName()
                                 throws java.sql.SQLException
getBaseTypeName in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
getResultSet in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> map)
                                throws java.sql.SQLException
getResultSet in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet(long index,
                                       int count)
                                throws java.sql.SQLException
getResultSet in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet(long index,
                                       int count,
                                       java.util.Map<java.lang.String,java.lang.Class<?>> map)
                                throws java.sql.SQLException
getResultSet in interface java.sql.Arrayjava.sql.SQLExceptionpublic void free()
          throws java.sql.SQLException
free in interface java.sql.Arrayjava.sql.SQLExceptionCopyright © 2023. All Rights Reserved.