Class RemoteEndpointPreparedStatement

All Implemented Interfaces:
AutoCloseable, PreparedStatement, Statement, Wrapper

public class RemoteEndpointPreparedStatement extends JenaPreparedStatement
A Jena JDBC statement against a remote endpoint
  • Constructor Details

    • RemoteEndpointPreparedStatement

      public RemoteEndpointPreparedStatement(String sparql, RemoteEndpointConnection connection) throws SQLException
      Creates a new statement
      Parameters:
      sparql - SPARQL command
      connection - Connection
      Throws:
      SQLException - Thrown if there is an error with the statement parameters
    • RemoteEndpointPreparedStatement

      public RemoteEndpointPreparedStatement(String sparql, RemoteEndpointConnection connection, java.net.http.HttpClient client, int type, int fetchDir, int fetchSize, int holdability) throws SQLException
      Creates a new statement
      Parameters:
      sparql - SPARQL command
      connection - Connection
      client - HTTP client
      type - Result Set type for result sets produced by this statement
      fetchDir - Fetch Direction
      fetchSize - Fetch Size
      holdability - Result Set holdability
      Throws:
      SQLException - Thrown if there is an error with the statement parameters