Class MaterializingQueryResultSinkImpl

java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.MaterializingQueryResultSinkImpl
All Implemented Interfaces:
QueryResultSink

public class MaterializingQueryResultSinkImpl extends Object implements QueryResultSink
An implementation of QueryResultSink that simply materializes the query result.
  • Field Details

  • Constructor Details

    • MaterializingQueryResultSinkImpl

      public MaterializingQueryResultSinkImpl()
  • Method Details

    • send

      public void send(SolutionMapping element)
      Specified by:
      send in interface QueryResultSink
    • getSolMapsIter

      public Iterator<SolutionMapping> getSolMapsIter()
      Returns an iterator over the materialized result.
    • size

      public int size()
      Returns the size of the materialized result.