Class AgArray

java.lang.Object
org.postgresql.jdbc.PgArray
net.bitnine.agensgraph.jdbc.AgArray
All Implemented Interfaces:
Array

public class AgArray extends org.postgresql.jdbc.PgArray
Array is used collect one column of query result data.
  • Field Summary

    Fields inherited from class org.postgresql.jdbc.PgArray

    connection, fieldBytes, fieldString
  • Constructor Summary

    Constructors
    Constructor
    Description
    AgArray(org.postgresql.core.BaseConnection connection, int oid, byte[] fieldBytes)
    Create a new Array.
    AgArray(org.postgresql.core.BaseConnection connection, int oid, String fieldString)
    Create a new Array.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    getArrayImpl(long index, int count, Map<String,Class<?>> map)
     
     
    getResultSetImpl(long index, int count, Map<String,Class<?>> map)
     

    Methods inherited from class org.postgresql.jdbc.PgArray

    escapeArrayElement, getArray, getArray, getArray, getArray, getArrayImpl, getBaseType, getResultSet, getResultSet, getResultSet, getResultSet, getResultSetImpl, isBinary, toBytes, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AgArray

      public AgArray(org.postgresql.core.BaseConnection connection, int oid, String fieldString) throws SQLException
      Create a new Array.
      Parameters:
      connection - a database connection
      oid - the oid of the array datatype
      fieldString - the array data in string form
      Throws:
      SQLException - if something wrong happens
    • AgArray

      public AgArray(org.postgresql.core.BaseConnection connection, int oid, byte[] fieldBytes) throws SQLException
      Create a new Array.
      Parameters:
      connection - a database connection
      oid - the oid of the array datatype
      fieldBytes - the array data in byte form
      Throws:
      SQLException - if something wrong happens
  • Method Details