Mercurial > hg > monetdb-java
view src/main/java/nl/cwi/monetdb/mcl/protocol/embedded/EmbeddedProtocol.java @ 67:87ba760038b6 embedded
More cleanup. About to start the tuple conversions.
author | Pedro Ferreira <pedro.ferreira@monetdbsolutions.com> |
---|---|
date | Tue, 06 Dec 2016 18:13:54 +0100 (2016-12-06) |
parents | 7307caacc2d5 |
children | 86967be24645 |
line wrap: on
line source
package nl.cwi.monetdb.mcl.protocol.embedded; import nl.cwi.monetdb.jdbc.MonetConnection; import nl.cwi.monetdb.mcl.io.JDBCEmbeddedConnection; import nl.cwi.monetdb.mcl.protocol.MCLParseException; import nl.cwi.monetdb.mcl.protocol.AbstractProtocol; import nl.cwi.monetdb.mcl.protocol.StarterHeaders; import nl.cwi.monetdb.mcl.protocol.TableResultHeaders; import nl.cwi.monetdb.mcl.responses.AutoCommitResponse; import nl.cwi.monetdb.mcl.responses.DataBlockResponse; import nl.cwi.monetdb.mcl.responses.ResultSetResponse; import nl.cwi.monetdb.mcl.responses.UpdateResponse; import java.io.IOException; import java.util.Map; /** * Created by ferreira on 11/30/16. */ public class EmbeddedProtocol extends AbstractProtocol<Object[]> { private final JDBCEmbeddedConnection connection; public EmbeddedProtocol(JDBCEmbeddedConnection con) { this.connection = con; } public JDBCEmbeddedConnection getEmbeddedConnection() { return this.connection; } @Override public void fetchNextResponseData() { } @Override public Object[] getCurrentData() { return new Object[0]; } @Override public StarterHeaders getNextStarterHeader() { return null; } @Override public ResultSetResponse getNextResultSetResponse(MonetConnection con, MonetConnection.ResponseList list, int seqnr) throws MCLParseException { return null; } @Override public UpdateResponse getNextUpdateResponse() throws MCLParseException { return null; } @Override public AutoCommitResponse getNextAutoCommitResponse() throws MCLParseException { return null; } @Override public DataBlockResponse getNextDatablockResponse(Map<Integer, ResultSetResponse> rsresponses) throws MCLParseException { return null; } @Override public TableResultHeaders getNextTableHeader(Object line, String[] stringValues, int[] intValues) throws MCLParseException { return null; } @Override public int parseTupleLine(Object line, Object[] values) throws MCLParseException { return 0; } @Override public String getRemainingStringLine(int startIndex) { return null; } @Override public void writeNextCommand(byte[] prefix, byte[] query, byte[] suffix) throws IOException { } }