Mercurial > hg > monetdb-java
view src/main/java/nl/cwi/monetdb/responses/SchemaResponse.java @ 64:bb0d66ad7dc6 embedded
More done
author | Pedro Ferreira <pedro.ferreira@monetdbsolutions.com> |
---|---|
date | Thu, 01 Dec 2016 16:52:27 +0100 (2016-12-01) |
parents | |
children |
line wrap: on
line source
package nl.cwi.monetdb.responses; import java.sql.Statement; /** * The SchemaResponse represents an schema modification response. * It is issued on statements like CREATE, DROP or ALTER TABLE. * This response keeps a field that represents the success state, as * defined by JDBC, which is currently in MonetDB's case always * SUCCESS_NO_INFO. Note that this state is not sent by the * server.<br /> * <tt>&3</tt> */ public class SchemaResponse implements IResponse { public final int state = Statement.SUCCESS_NO_INFO; @Override public String addLine(String line, int linetype) { return "Header lines are not supported for a SchemaResponse"; } @Override public boolean wantsMore() { return false; } @Override public void complete() { // empty, because there is nothing to check } @Override public void close() { // nothing to do here... } }