view src/main/java/nl/cwi/monetdb/mcl/protocol/ServerResponses.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 ServerResponses {

    /** "there is currently no line", or the the type is unknown is represented by UNKNOWN */
    UNKNOWN,
    /** a line starting with ! indicates ERROR */
    ERROR,
    /** a line starting with % indicates HEADER */
    HEADER,
    /** a line starting with [ indicates RESULT */
    RESULT,
    /** a line which matches the pattern of prompt1 is a PROMPT */
    PROMPT,
    /** a line which matches the pattern of prompt2 is a MORE */
    MORE,
    /** a line starting with &amp; indicates the start of a header block */
    SOHEADER,
    /** a line starting with ^ indicates REDIRECT */
    REDIRECT,
    /** a line starting with # indicates INFO */
    INFO
}