public class

DuckTypeResultSet

extends Object
java.lang.Object
   ↳ com.atlassian.jira.database.DuckTypeResultSet

Class Overview

Mocks out some of ResultSet for use as a Duck Type proxy.

Summary

Public Constructors
DuckTypeResultSet(DuckTypePreparedStatement mockPreparedStatement)
Public Methods
void close()
BigDecimal getBigDecimal(int columnIndex, int scale)
boolean getBoolean(int columnIndex)
byte getByte(int columnIndex)
byte[] getBytes(int columnIndex)
Date getDate(int columnIndex)
double getDouble(int columnIndex)
float getFloat(int columnIndex)
int getInt(int columnIndex)
long getLong(int columnIndex)
Object getObject(int columnIndex)
short getShort(int columnIndex)
String getString(int columnIndex)
Time getTime(int columnIndex)
Timestamp getTimestamp(int columnIndex)
boolean next()
boolean wasNull()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DuckTypeResultSet (DuckTypePreparedStatement mockPreparedStatement)

Public Methods

public void close ()

Throws
SQLException

public BigDecimal getBigDecimal (int columnIndex, int scale)

Throws
SQLException

public boolean getBoolean (int columnIndex)

Throws
SQLException

public byte getByte (int columnIndex)

Throws
SQLException

public byte[] getBytes (int columnIndex)

Throws
SQLException

public Date getDate (int columnIndex)

Throws
SQLException

public double getDouble (int columnIndex)

Throws
SQLException

public float getFloat (int columnIndex)

Throws
SQLException

public int getInt (int columnIndex)

Throws
SQLException

public long getLong (int columnIndex)

Throws
SQLException

public Object getObject (int columnIndex)

Throws
SQLException

public short getShort (int columnIndex)

Throws
SQLException

public String getString (int columnIndex)

Throws
SQLException

public Time getTime (int columnIndex)

Throws
SQLException

public Timestamp getTimestamp (int columnIndex)

Throws
SQLException

public boolean next ()

Throws
SQLException

public boolean wasNull ()

Throws
SQLException