Class RetrievedSQLRecordImpl

java.lang.Object
com.nimbusds.infinispan.persistence.sql.RetrievedSQLRecordImpl
All Implemented Interfaces:
RetrievedSQLRecord

public class RetrievedSQLRecordImpl extends Object implements RetrievedSQLRecord
Retrieved SQL record implementation.
  • Constructor Details

    • 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 Details

    • get

      public Object get(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(String fieldName, 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 String toString()
      Overrides:
      toString in class Object