Interface Table<T>

  • All Known Implementing Classes:
    AbstractTable

    public interface Table<T>
    • Method Detail

      • distinct

        List<String> distinct​(String columnName)
        Parameters:
        columnName - the name of the column (field)
        Returns:
        the distinct values of the column
      • distinct

        List<String> distinct​(String columnName,
                              step.core.collections.Filter filter)
        Parameters:
        columnName - the name of the column (field)
        query - : the query filter
        Returns:
        the distinct values of the column
      • find

        TableFindResult<T> find​(step.core.collections.Filter filter,
                                step.core.collections.SearchOrder order,
                                Integer skip,
                                Integer limit,
                                int maxTime)
      • getQueryFragmentForColumnSearch

        step.core.collections.Filter getQueryFragmentForColumnSearch​(String columnName,
                                                                     String searchValue)
        Parameters:
        columnName - the name of the column on which the search is applied
        searchValue - the value entered by the end user
        Returns:
        a list of query fragments to be appended to the queries when performing a column search
      • getAdditionalQueryFragments

        List<step.core.collections.Filter> getAdditionalQueryFragments​(javax.json.JsonObject queryParameters)
        Parameters:
        queryParameters - some context parameters that might be required to generate the additional query fragments
        Returns:
        a list of query fragments to be appended to the queries when calling the method find()
      • isFiltered

        boolean isFiltered()
        Returns:
        true if the filter defined by the ObjectFilter of the ObjectHookRegistry have to be applied when performing a search
      • enrichEntity

        T enrichEntity​(T entity)