Class ResultSetState

java.lang.Object
org.aksw.r2rml.jena.jdbc.processor.ResultSetState

public class ResultSetState extends Object
  • Field Details

    • resultSet

      protected ResultSet resultSet
    • metaData

      protected ResultSetMetaData metaData
    • currentRowId

      protected long currentRowId
    • varToIdx

      protected Map<org.apache.jena.sparql.core.Var,Integer> varToIdx
    • nodeMapper

      protected NodeMapper nodeMapper
  • Constructor Details

  • Method Details

    • getMetaData

      public ResultSetMetaData getMetaData()
    • getVarCount

      public int getVarCount()
    • getVarIterator

      public Iterator<org.apache.jena.sparql.core.Var> getVarIterator()
    • getVars

      public Set<org.apache.jena.sparql.core.Var> getVars()
    • containsVar

      public boolean containsVar(org.apache.jena.sparql.core.Var var)
    • isEmpty

      public boolean isEmpty()
    • getNode

      public org.apache.jena.graph.Node getNode(int columnIdx)
    • getNode

      public org.apache.jena.graph.Node getNode(org.apache.jena.sparql.core.Var var)
    • getVarIdx

      public int getVarIdx(org.apache.jena.sparql.core.Var var)
    • getVarToIdx

      public Map<org.apache.jena.sparql.core.Var,Integer> getVarToIdx()
    • getDelegate

      public ResultSet getDelegate()
    • getCurrentRowId

      public long getCurrentRowId()
    • next

      public boolean next() throws SQLException
      Use this method rather than getDelegate().next() in order to correctly update the currentRowId
      Throws:
      SQLException