|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.EnumeratedValues mondrian.olap.Category
public class Category
Category
enumerates the possible expression types.
Values of this enumeration are returned by Exp.getCategory()
,
FunDef.getParameterCategories()
, and
FunDef.getReturnCategory()
.
For modern code, the more descriptive type system
(Type
) is preferred.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class mondrian.olap.EnumeratedValues |
---|
EnumeratedValues.BasicValue, EnumeratedValues.Value |
Field Summary | |
---|---|
static int |
Array
Array is an expression of array type. |
static int |
Constant
Constant is a flag which, when bitwise-OR-ed with a
category value, indicates a constant (as opposed to an expression). |
static int |
Cube
Cube is a cube expression. |
static int |
DateTime
Represents a DataTime expression. |
static int |
Dimension
Dimension is a dimension expression. |
static int |
Empty
Represents an empty expression. |
static int |
Expression
Expression is a flag which, when bitwise-OR-ed with a
category value, indicates an expression (as opposed to a constant). |
static int |
Hierarchy
Hierarchy is a hierarchy expression. |
static Category |
instance
The singleton instance of Category . |
static int |
Integer
Integer is an integer expression. |
static int |
Level
Level is a level expression. |
static int |
Logical
Logical is a boolean expression. |
static int |
Mask
Mask is a mask to remove flags. |
static int |
Member
Member is a member expression. |
static int |
Null
Represents a Null value |
static int |
Numeric
Numeric is a numeric expression. |
static int |
Set
Set is a set of members or tuples. |
static int |
String
String is a string expression. |
static int |
Symbol
Symbol is a symbol, for example the BASC
keyword to the Order() function. |
static int |
Tuple
Tuple is a tuple expression. |
static int |
Unknown
Unknown is an expression whose type is as yet unknown. |
static int |
Value
Value is any expression yielding a string or numeric value. |
Method Summary | |
---|---|
static Category |
instance()
Returns the singleton instance of Category . |
static boolean |
isScalar(int category)
Returns whether a category represents a scalar type. |
Methods inherited from class mondrian.olap.EnumeratedValues |
---|
badValue, clone, getDescription, getMax, getMin, getMutableClone, getName, getNames, getOrdinal, getValue, getValue, getValuesSortedByName, isImmutable, isValid, makeImmutable, register, unexpected |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Category instance
Category
.
public static final int Unknown
Unknown
is an expression whose type is as yet unknown.
public static final int Array
Array
is an expression of array type.
public static final int Dimension
Dimension
is a dimension expression.
Dimension
,
Constant Field Valuespublic static final int Hierarchy
Hierarchy
is a hierarchy expression.
Hierarchy
,
Constant Field Valuespublic static final int Level
Level
is a level expression.
Level
,
Constant Field Valuespublic static final int Logical
Logical
is a boolean expression.
public static final int Member
Member
is a member expression.
Member
,
Constant Field Valuespublic static final int Numeric
Numeric
is a numeric expression.
public static final int Set
Set
is a set of members or tuples.
public static final int String
String
is a string expression.
public static final int Tuple
Tuple
is a tuple expression.
public static final int Symbol
Symbol
is a symbol, for example the BASC
keyword to the Order()
function.
public static final int Cube
Cube
is a cube expression.
Cube
,
Constant Field Valuespublic static final int Value
Value
is any expression yielding a string or numeric value.
public static final int Integer
Integer
is an integer expression. This is a subtype of
Numeric
.
public static final int Null
Null
value
public static final int Empty
public static final int DateTime
public static final int Expression
Expression
is a flag which, when bitwise-OR-ed with a
category value, indicates an expression (as opposed to a constant).
public static final int Constant
Constant
is a flag which, when bitwise-OR-ed with a
category value, indicates a constant (as opposed to an expression).
public static final int Mask
Mask
is a mask to remove flags.
Method Detail |
---|
public static Category instance()
Category
.
public static boolean isScalar(int category)
category
- Category
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |