Class ColumnMappers

    • Method Detail

      • build

        public static ColumnMappers.Builder build()
        Obtain a new builder for a table selection predicate.
        Returns:
        the builder; never null
      • mappingConverterFor

        public ValueConverter mappingConverterFor​(Table table,
                                                  Column column)
        Get the value mapping function for the given column.
        Parameters:
        table - the table to which the column belongs; may not be null
        column - the column; may not be null
        Returns:
        the mapping function, or null if there is no mapping function
      • mappingConverterFor

        public ValueConverter mappingConverterFor​(TableId tableId,
                                                  Column column)
        Get the value mapping function for the given column.
        Parameters:
        tableId - the identifier of the table to which the column belongs; may not be null
        column - the column; may not be null
        Returns:
        the mapping function, or null if there is no mapping function
      • mapperFor

        public ColumnMapper mapperFor​(TableId tableId,
                                      Column column)
        Get the value mapping function for the given column.
        Parameters:
        tableId - the identifier of the table to which the column belongs; may not be null
        column - the column; may not be null
        Returns:
        the mapping function, or null if there is no mapping function