Interface ParamPreparer

All Known Implementing Classes:
BasicParamPreparer

public interface ParamPreparer
Interface for services building complete, in-memory representation of parameter (preparing parameters). Since parameter compilation is expensive, cache should be used to hold compilation result.
Since:
0.1.0
Version:
1.0.1
Author:
Przemek Hertel
  • Method Details

    • getPreparedParameter

      PreparedParameter getPreparedParameter(String paramName)
      Returns prepared parameter for paramName parameter. If there is no such parameter it must return null.
      Parameters:
      paramName - parameter name
      Returns:
      complete representation of parameter (metadata + matrix) or null
    • findEntries

      List<PreparedEntry> findEntries(int pid, String[][] levelValues)
      Returns list of parameter rows that match given level values.
      Parameters:
      pid - parameter id
      levelValues - list of values to match at each level
      Returns:
      list of matching prepared entries (or empty list)