Class RowImpl

java.lang.Object
com.mysql.cj.xdevapi.RowImpl
All Implemented Interfaces:
Row

public class RowImpl
extends java.lang.Object
implements Row
Row implementation.
  • Constructor Summary

    Constructors 
    Constructor Description
    RowImpl​(Row row, ColumnDefinition metadata, java.util.TimeZone defaultTimeZone, PropertySet pset)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.math.BigDecimal getBigDecimal​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a decimal value.
    java.math.BigDecimal getBigDecimal​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a decimal value.
    boolean getBoolean​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a boolean value.
    boolean getBoolean​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a boolean value.
    byte getByte​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    byte getByte​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a byte value.
    java.sql.Date getDate​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    java.sql.Date getDate​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a Date value.
    DbDoc getDbDoc​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value.
    DbDoc getDbDoc​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a DbDoc value.
    double getDouble​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a double value.
    double getDouble​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a double value.
    int getInt​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as an integer value.
    int getInt​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as an integer value.
    long getLong​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a long value.
    long getLong​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a long value.
    java.lang.String getString​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a string value.
    java.lang.String getString​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a string value.
    java.sql.Time getTime​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    java.sql.Time getTime​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a Time value.
    java.sql.Timestamp getTimestamp​(int pos)
    Retrieve the value for column at position `pos' (starting at 0) as a byte value.
    java.sql.Timestamp getTimestamp​(java.lang.String fieldName)
    Retrieve the value for column `fieldName' as a Timestamp value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getBigDecimal

      public java.math.BigDecimal getBigDecimal​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a decimal value.
      Specified by:
      getBigDecimal in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getBigDecimal

      public java.math.BigDecimal getBigDecimal​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a decimal value.
      Specified by:
      getBigDecimal in interface Row
      Parameters:
      pos - field position
      Returns:
      value
    • getBoolean

      public boolean getBoolean​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a boolean value.
      Specified by:
      getBoolean in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getBoolean

      public boolean getBoolean​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a boolean value.
      Specified by:
      getBoolean in interface Row
      Parameters:
      pos - field position field position
      Returns:
      value
    • getByte

      public byte getByte​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a byte value.
      Specified by:
      getByte in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getByte

      public byte getByte​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Specified by:
      getByte in interface Row
      Parameters:
      pos - field position field position
      Returns:
      value
    • getDate

      public java.sql.Date getDate​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a Date value.
      Specified by:
      getDate in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getDate

      public java.sql.Date getDate​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Specified by:
      getDate in interface Row
      Parameters:
      pos - field position field position
      Returns:
      value
    • getDbDoc

      public DbDoc getDbDoc​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a DbDoc value.
      Specified by:
      getDbDoc in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getDbDoc

      public DbDoc getDbDoc​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a DbDoc value.
      Specified by:
      getDbDoc in interface Row
      Parameters:
      pos - field position field position
      Returns:
      value
    • getDouble

      public double getDouble​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a double value.
      Specified by:
      getDouble in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getDouble

      public double getDouble​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a double value.
      Specified by:
      getDouble in interface Row
      Parameters:
      pos - field position field position
      Returns:
      value
    • getInt

      public int getInt​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as an integer value.
      Specified by:
      getInt in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getInt

      public int getInt​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as an integer value.
      Specified by:
      getInt in interface Row
      Parameters:
      pos - field position field position
      Returns:
      value
    • getLong

      public long getLong​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a long value.
      Specified by:
      getLong in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getLong

      public long getLong​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a long value.
      Specified by:
      getLong in interface Row
      Parameters:
      pos - field position
      Returns:
      value
    • getString

      public java.lang.String getString​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a string value.
      Specified by:
      getString in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getString

      public java.lang.String getString​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a string value.
      Specified by:
      getString in interface Row
      Parameters:
      pos - field position
      Returns:
      value
    • getTime

      public java.sql.Time getTime​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a Time value.
      Specified by:
      getTime in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getTime

      public java.sql.Time getTime​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Specified by:
      getTime in interface Row
      Parameters:
      pos - field position
      Returns:
      value
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(java.lang.String fieldName)
      Description copied from interface: Row
      Retrieve the value for column `fieldName' as a Timestamp value.
      Specified by:
      getTimestamp in interface Row
      Parameters:
      fieldName - field name
      Returns:
      value
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(int pos)
      Description copied from interface: Row
      Retrieve the value for column at position `pos' (starting at 0) as a byte value.
      Specified by:
      getTimestamp in interface Row
      Parameters:
      pos - field position
      Returns:
      value