view src/main/java/nl/cwi/monetdb/mcl/protocol/StarterHeaders.java @ 63:6325594f01af embedded

Lots of cleaning, but still a long way to go.
author Pedro Ferreira <pedro.ferreira@monetdbsolutions.com>
date Wed, 30 Nov 2016 18:16:31 +0100 (2016-11-30)
parents
children 86967be24645
line wrap: on
line source
package nl.cwi.monetdb.mcl.protocol;

/**
 * Created by ferreira on 11/30/16.
 */
public enum StarterHeaders {

    /** A parse response (not handled) */
    Q_PARSE,
    /** A tabular response (typical ResultSet) */
    Q_TABLE,
    /** A response to an update statement, contains number of affected rows and generated key-id */
    Q_UPDATE,
    /** A response to a schema update */
    Q_SCHEMA,
    /** A response to a transaction statement (start, rollback, abort, commit) */
    Q_TRANS,
    /** A tabular response in response to a PREPARE statement containing
     * information about the wildcard values that need to be supplied */
    Q_PREPARE,
    /** A tabular continuation response (for a ResultSet) */
    Q_BLOCK,
    /** An unknown and unsupported response */
    Q_UNKNOWN
}