com.alibaba.druid.mock
Class MockStruct

java.lang.Object
  extended by com.alibaba.druid.mock.MockStruct
All Implemented Interfaces:
Struct

public class MockStruct
extends Object
implements Struct


Constructor Summary
MockStruct()
           
 
Method Summary
 Object[] getAttributes()
           
 Object[] getAttributes(Map<String,Class<?>> map)
           
 String getSQLTypeName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockStruct

public MockStruct()
Method Detail

getSQLTypeName

public String getSQLTypeName()
                      throws SQLException
Specified by:
getSQLTypeName in interface Struct
Throws:
SQLException

getAttributes

public Object[] getAttributes()
                       throws SQLException
Specified by:
getAttributes in interface Struct
Throws:
SQLException

getAttributes

public Object[] getAttributes(Map<String,Class<?>> map)
                       throws SQLException
Specified by:
getAttributes in interface Struct
Throws:
SQLException


Copyright © 2012 Alibaba Group. All Rights Reserved.