001 /* 002 // $Id: SymbolType.java 229 2009-05-08 19:11:29Z jhyde $ 003 // This software is subject to the terms of the Eclipse Public License v1.0 004 // Agreement, available at the following URL: 005 // http://www.eclipse.org/legal/epl-v10.html. 006 // Copyright (C) 2005-2008 Julian Hyde 007 // All Rights Reserved. 008 // You must accept the terms of that agreement to use this software. 009 */ 010 package org.olap4j.type; 011 012 /** 013 * The type of a symbolic expression. 014 * 015 * <p>Symbols are identifiers which occur in particular function calls, 016 * generally to indicate an option for how the function should be executed. 017 * They are similar to an enumerated type in other 018 * languages. 019 * 020 * <p>For example, the optional 3rd argument to the <code>Order</code> function 021 * can be one of the symbols <code>ASC</code>, <code>DESC</code>, 022 * <code>BASC</code>, <code>BDESC</code>. The signature of the 023 * <code>Order</code> function is therefore 024 * 025 * <blockquote> 026 * <code>Order(<Set>, <Scalar expression> [, <Symbol>])</code> 027 * </blockquote> 028 * 029 * and 030 * 031 * <blockquote> 032 * <code>Order([Store].Members, [Measures].[Unit Sales], BDESC)</code> 033 * </blockquote> 034 * 035 * would be a valid call to the function. 036 * 037 * @author jhyde 038 * @since Feb 17, 2005 039 * @version $Id: SymbolType.java 229 2009-05-08 19:11:29Z jhyde $ 040 */ 041 public class SymbolType extends ScalarType { 042 043 /** 044 * Creates a symbol type. 045 */ 046 public SymbolType() { 047 } 048 049 } 050 051 // End SymbolType.java