com.alibaba.druid.mock
Class MockArray

java.lang.Object
  extended by com.alibaba.druid.mock.MockArray
All Implemented Interfaces:
Array

public class MockArray
extends Object
implements Array


Constructor Summary
MockArray()
           
 
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)
           
 int getBaseType()
           
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockArray

public MockArray()
Method Detail

getBaseTypeName

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

getBaseType

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

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

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

free

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


Copyright © 2012 Alibaba Group. All Rights Reserved.