Top Description Methods
com.mysql.cj.xdevapi

public Interface Row

Known Direct Implementers
com.mysql.cj.xdevapi.RowImpl
Imports
java.math.BigDecimal, java.sql.Date, .Time, .Timestamp

A row element returned from a SELECT query.

Method Summary

Modifier and TypeMethod and Description
public BigDecimal

Returns:

value
getBigDecimal
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a decimal value.

public BigDecimal

Returns:

value
getBigDecimal
(int
field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a decimal value.

public boolean

Returns:

value
getBoolean
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a boolean value.

public boolean

Returns:

value
getBoolean
(int
field position field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a boolean value.

public byte

Returns:

value
getByte
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a byte value.

public byte

Returns:

value
getByte
(int
field position field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

public Date

Returns:

value
getDate
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a Date value.

public Date

Returns:

value
getDate
(int
field position field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

public DbDoc

Returns:

value
getDbDoc
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a DbDoc value.

public DbDoc

Returns:

value
getDbDoc
(int
field position field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value.

public double

Returns:

value
getDouble
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a double value.

public double

Returns:

value
getDouble
(int
field position field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a double value.

public int

Returns:

value
getInt
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as an integer value.

public int

Returns:

value
getInt
(int
field position field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as an integer value.

public long

Returns:

value
getLong
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a long value.

public long

Returns:

value
getLong
(int
field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a long value.

public String

Returns:

value
getString
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a string value.

public String

Returns:

value
getString
(int
field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a string value.

public Time

Returns:

value
getTime
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a Time value.

public Time

Returns:

value
getTime
(int
field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

public Timestamp

Returns:

value
getTimestamp
(String
field name
fieldName
)

Retrieve the value for column `fieldName' as a Timestamp value.

public Timestamp

Returns:

value
getTimestamp
(int
field position
pos
)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

Method Detail

getBigDecimalback to summary
public BigDecimal getBigDecimal(String fieldName)

Retrieve the value for column `fieldName' as a decimal value.

Parameters
fieldName:String

field name

Returns:BigDecimal

value

getBigDecimalback to summary
public BigDecimal getBigDecimal(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a decimal value.

Parameters
pos:int

field position

Returns:BigDecimal

value

getBooleanback to summary
public boolean getBoolean(String fieldName)

Retrieve the value for column `fieldName' as a boolean value.

Parameters
fieldName:String

field name

Returns:boolean

value

getBooleanback to summary
public boolean getBoolean(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a boolean value.

Parameters
pos:int

field position field position

Returns:boolean

value

getByteback to summary
public byte getByte(String fieldName)

Retrieve the value for column `fieldName' as a byte value.

Parameters
fieldName:String

field name

Returns:byte

value

getByteback to summary
public byte getByte(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

Parameters
pos:int

field position field position

Returns:byte

value

getDateback to summary
public Date getDate(String fieldName)

Retrieve the value for column `fieldName' as a Date value.

Parameters
fieldName:String

field name

Returns:Date

value

getDateback to summary
public Date getDate(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

Parameters
pos:int

field position field position

Returns:Date

value

getDbDocback to summary
public DbDoc getDbDoc(String fieldName)

Retrieve the value for column `fieldName' as a DbDoc value.

Parameters
fieldName:String

field name

Returns:DbDoc

value

getDbDocback to summary
public DbDoc getDbDoc(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value.

Parameters
pos:int

field position field position

Returns:DbDoc

value

getDoubleback to summary
public double getDouble(String fieldName)

Retrieve the value for column `fieldName' as a double value.

Parameters
fieldName:String

field name

Returns:double

value

getDoubleback to summary
public double getDouble(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a double value.

Parameters
pos:int

field position field position

Returns:double

value

getIntback to summary
public int getInt(String fieldName)

Retrieve the value for column `fieldName' as an integer value.

Parameters
fieldName:String

field name

Returns:int

value

getIntback to summary
public int getInt(int pos)

Retrieve the value for column at position `pos' (starting at 0) as an integer value.

Parameters
pos:int

field position field position

Returns:int

value

getLongback to summary
public long getLong(String fieldName)

Retrieve the value for column `fieldName' as a long value.

Parameters
fieldName:String

field name

Returns:long

value

getLongback to summary
public long getLong(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a long value.

Parameters
pos:int

field position

Returns:long

value

getStringback to summary
public String getString(String fieldName)

Retrieve the value for column `fieldName' as a string value.

Parameters
fieldName:String

field name

Returns:String

value

getStringback to summary
public String getString(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a string value.

Parameters
pos:int

field position

Returns:String

value

getTimeback to summary
public Time getTime(String fieldName)

Retrieve the value for column `fieldName' as a Time value.

Parameters
fieldName:String

field name

Returns:Time

value

getTimeback to summary
public Time getTime(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

Parameters
pos:int

field position

Returns:Time

value

getTimestampback to summary
public Timestamp getTimestamp(String fieldName)

Retrieve the value for column `fieldName' as a Timestamp value.

Parameters
fieldName:String

field name

Returns:Timestamp

value

getTimestampback to summary
public Timestamp getTimestamp(int pos)

Retrieve the value for column at position `pos' (starting at 0) as a byte value.

Parameters
pos:int

field position

Returns:Timestamp

value