Class ImmutableSQLRecord

    • Constructor Summary

      Constructors 
      Constructor Description
      ImmutableSQLRecord​(java.lang.String keyCol, java.util.Map<org.jooq.Field<?>,​?> fields)
      Creates a new immutable SQL record with a single key column.
      ImmutableSQLRecord​(java.util.List<org.jooq.Field<?>> keyCols, java.util.Map<org.jooq.Field<?>,​?> fields)
      Creates a new immutable SQL record.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<org.jooq.Field<?>,​?> getFields()
      Returns the fields for the SQL record.
      java.util.List<org.jooq.Field<?>> getKeyColumns()
      Returns the column names that serve as keys for the SQL record.
      • Methods inherited from class java.lang.Object

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

      • ImmutableSQLRecord

        public ImmutableSQLRecord​(java.util.List<org.jooq.Field<?>> keyCols,
                                  java.util.Map<org.jooq.Field<?>,​?> fields)
        Creates a new immutable SQL record.
        Parameters:
        keyCols - The key column names. Must not be empty.
        fields - The fields. Must not be empty.
      • ImmutableSQLRecord

        public ImmutableSQLRecord​(java.lang.String keyCol,
                                  java.util.Map<org.jooq.Field<?>,​?> fields)
        Creates a new immutable SQL record with a single key column.
        Parameters:
        keyCol - The key column name. Must not be null.
        fields - The fields. Must not be empty.
    • Method Detail

      • getKeyColumns

        public java.util.List<org.jooq.Field<?>> getKeyColumns()
        Description copied from interface: SQLRecord
        Returns the column names that serve as keys for the SQL record. Must be included in the returned fields.
        Specified by:
        getKeyColumns in interface SQLRecord
        Returns:
        The key column names, one or more. Never empty.
      • getFields

        public java.util.Map<org.jooq.Field<?>,​?> getFields()
        Description copied from interface: SQLRecord
        Returns the fields for the SQL record.
        Specified by:
        getFields in interface SQLRecord
        Returns:
        The fields. Never empty.