SqlFormat.java

package org.microspace.table.query;

/**
 * The Sql Format.
 * 
 * @author Gaspar Sinai - {@literal gaspar.sinai@microspace.org}
 * @version 2017-07-29
 */
public enum SqlFormat {
	/**
	 * This format preserves the original statement.
	 */
	NATIVE,
	/**
	 * MicroSpace format is the reconstructed format of
	 * the parsed NATIVE String.
	 */
	MICROSPACE,
	/**
	 * The parsed NATIVE String converted into GigaSpaces.
	 * <p>
	 * The differences:
	 * <ol>
	 * <li>The DISTINCT operator is rewritten as
	 * GROUP BY.
	 * </ol>
	 * <p>
	 * All column names will be escaped by backtick `.
	 */
	GIGASPACES,
	/**
	 * The parsed NATIVE String converted into GigaSpaces.
	 * <p>
	 * The differences:
	 * <ol>
	 * <li>The DISTINCT operator is rewritten as
	 * GROUP BY.
	 * </ol>
	 * <p>
	 * Column names will be escaped only if original is escaped.
	 */
	GIGASPACES_LITERAL,
}