com.mysql.cj.xdevapi.Row implementation.
| Modifier and Type | Field and Description |
|---|---|
| private TimeZone | defaultTimeZone
Default time zone used to create date/time result values. |
| private ColumnDefinition | |
| private PropertySet | |
| private Row |
| Access | Constructor and Description |
|---|---|
| public | RowImpl(Row
Row instance provided by c/J core.ColumnDefinition object to use for new rows.TimeZone object representing the default time zoneConstructor. |
| Modifier and Type | Method and Description |
|---|---|
| private int | Returns: field indexfield name fieldName)Map a field name to it's index in the row. |
| public BigDecimal | getBigDecimal(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a decimal value. |
| public BigDecimal | getBigDecimal(int
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a decimal value. |
| public boolean | getBoolean(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a boolean value. |
| public boolean | getBoolean(int
field position
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a boolean value. |
| public byte | getByte(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a byte value. |
| public byte | getByte(int
field position
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a byte value. |
| public Date | getDate(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a |
| public Date | getDate(int
field position
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a byte value. |
| public DbDoc | getDbDoc(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a DbDoc value. |
| public DbDoc | getDbDoc(int
field position
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value. |
| public double | getDouble(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a double value. |
| public double | getDouble(int
field position
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a double value. |
| public int | getInt(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as an integer value. |
| public int | getInt(int
field position
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as an integer value. |
| public long | getLong(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a long value. |
| public long | getLong(int
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a long value. |
| public String | getString(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a string value. |
| public String | getString(int
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a string value. |
| public Time | getTime(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a |
| public Time | getTime(int
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a byte value. |
| public Timestamp | getTimestamp(String
field name fieldName)Implements com. Retrieve the value for column `fieldName' as a |
| public Timestamp | getTimestamp(int
field position pos)Implements com. Retrieve the value for column at position `pos' (starting at 0) as a byte value. |
| defaultTimeZone | back to summary |
|---|---|
| private TimeZone defaultTimeZone Default time zone used to create date/time result values. | |
| metadata | back to summary |
|---|---|
| private ColumnDefinition metadata | |
| pset | back to summary |
|---|---|
| private PropertySet pset | |
| row | back to summary |
|---|---|
| private Row row | |
| RowImpl | back to summary |
|---|---|
| public RowImpl(Row row, ColumnDefinition metadata, TimeZone defaultTimeZone, PropertySet pset) Constructor.
| |
| fieldNameToIndex | back to summary |
|---|---|
| private int fieldNameToIndex(String fieldName) Map a field name to it's index in the row.
| |
| getBigDecimal | back to summary |
|---|---|
| public BigDecimal getBigDecimal(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a decimal value.
| |
| getBigDecimal | back to summary |
|---|---|
| public BigDecimal getBigDecimal(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a decimal value.
| |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a boolean value. | |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a boolean value.
| |
| getByte | back to summary |
|---|---|
| public byte getByte(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a byte value. | |
| getByte | back to summary |
|---|---|
| public byte getByte(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a byte value.
| |
| getDate | back to summary |
|---|---|
| public Date getDate(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a | |
| getDate | back to summary |
|---|---|
| public Date getDate(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a byte value. | |
| getDbDoc | back to summary |
|---|---|
| public DbDoc getDbDoc(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a DbDoc value. | |
| getDbDoc | back to summary |
|---|---|
| public DbDoc getDbDoc(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value. | |
| getDouble | back to summary |
|---|---|
| public double getDouble(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a double value. | |
| getDouble | back to summary |
|---|---|
| public double getDouble(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a double value.
| |
| getInt | back to summary |
|---|---|
| public int getInt(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as an integer value. | |
| getInt | back to summary |
|---|---|
| public int getInt(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as an integer value.
| |
| getLong | back to summary |
|---|---|
| public long getLong(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a long value. | |
| getLong | back to summary |
|---|---|
| public long getLong(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a long value.
| |
| getString | back to summary |
|---|---|
| public String getString(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a string value. | |
| getString | back to summary |
|---|---|
| public String getString(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a string value. | |
| getTime | back to summary |
|---|---|
| public Time getTime(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a | |
| getTime | back to summary |
|---|---|
| public Time getTime(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a byte value. | |
| getTimestamp | back to summary |
|---|---|
| public Timestamp getTimestamp(String fieldName) Implements com. Doc from com. Retrieve the value for column `fieldName' as a | |
| getTimestamp | back to summary |
|---|---|
| public Timestamp getTimestamp(int pos) Implements com. Doc from com. Retrieve the value for column at position `pos' (starting at 0) as a byte value. | |