Class RetrievedSQLRecordImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      RetrievedSQLRecordImpl​(org.jooq.Record record)
      Creates a new retrieved record.
      RetrievedSQLRecordImpl​(org.jooq.Record record, boolean fieldsToUpperCase)
      Creates a new retrieved record.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String fieldName)
      Gets a value from the record.
      <U> U get​(java.lang.String fieldName, java.lang.Class<? extends U> type)
      Gets a converted value from the record.
      int size()
      Gets the number of fields in the record.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RetrievedSQLRecordImpl

        public RetrievedSQLRecordImpl​(org.jooq.Record record)
        Creates a new retrieved record.
        Parameters:
        record - The underlying jOOQ record.
      • RetrievedSQLRecordImpl

        public RetrievedSQLRecordImpl​(org.jooq.Record record,
                                      boolean fieldsToUpperCase)
        Creates a new retrieved record.
        Parameters:
        record - The underlying jOOQ record.
        fieldsToUpperCase - Controls conversion of the field names to upper case.
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String fieldName)
        Description copied from interface: RetrievedSQLRecord
        Gets a value from the record.
        Specified by:
        get in interface RetrievedSQLRecord
        Parameters:
        fieldName - The field name.
        Returns:
        The value of the field contained in the record.
      • get

        public <U> U get​(java.lang.String fieldName,
                         java.lang.Class<? extends U> type)
        Description copied from interface: RetrievedSQLRecord
        Gets a converted value from the record.
        Specified by:
        get in interface RetrievedSQLRecord
        Type Parameters:
        U - The conversion type parameter
        Parameters:
        fieldName - The field name.
        type - The conversion type
        Returns:
        The value of the field contained in the record.
      • size

        public int size()
        Description copied from interface: RetrievedSQLRecord
        Gets the number of fields in the record.
        Specified by:
        size in interface RetrievedSQLRecord
        Returns:
        The number of fields in the record.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object