view src/main/java/nl/cwi/monetdb/mcl/responses/SchemaResponse.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 2b5e32efb1a4
line wrap: on
line source
package nl.cwi.monetdb.mcl.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>&amp;3</tt>
 */
public class SchemaResponse implements IResponse {

    public int getState() {
        return Statement.SUCCESS_NO_INFO;
    }

    @Override
    public void close() {
        // nothing to do here...
    }
}