net.anotheria.db.array
Class AbstractArray

java.lang.Object
  extended by net.anotheria.db.array.AbstractArray
All Implemented Interfaces:
Array
Direct Known Subclasses:
IntegerArray, StringArray

public abstract class AbstractArray
extends Object
implements Array


Constructor Summary
AbstractArray()
           
 
Method Summary
 void free()
           
 Object getArray()
           
 Object getArray(long index, int count)
           
 Object getArray(long index, int count, Map<String,Class<?>> map)
           
 Object getArray(Map<String,Class<?>> map)
           
abstract  int getBaseType()
           
abstract  String getBaseTypeName()
           
 ResultSet getResultSet()
           
 ResultSet getResultSet(long index, int count)
           
 ResultSet getResultSet(long index, int count, Map<String,Class<?>> map)
           
 ResultSet getResultSet(Map<String,Class<?>> map)
           
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractArray

public AbstractArray()
Method Detail

getArray

public Object getArray()
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getArray

public Object getArray(Map<String,Class<?>> map)
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getArray

public Object getArray(long index,
                       int count)
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getArray

public Object getArray(long index,
                       int count,
                       Map<String,Class<?>> map)
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getBaseType

public abstract int getBaseType()
                         throws SQLException
Specified by:
getBaseType in interface Array
Throws:
SQLException

getBaseTypeName

public abstract String getBaseTypeName()
                                throws SQLException
Specified by:
getBaseTypeName in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet()
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet(Map<String,Class<?>> map)
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet(long index,
                              int count)
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet(long index,
                              int count,
                              Map<String,Class<?>> map)
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

toString

public abstract String toString()
Overrides:
toString in class Object

free

public void free()
          throws SQLException
Specified by:
free in interface Array
Throws:
SQLException


Copyright © 2010-2013 anotheria.net. All Rights Reserved.