public final class OLAPDMLExpression extends TypedExpression
TypedExpression
that represents an Oracle OLAP DML expression. An application can use an instance of this class to make an OLAP DML program or formula the data source for an MdmDerivedMeasure
in an analytic workspace. For information on creating OLAP DML objects, see Oracle OLAP DML Reference.Constructor and Description |
---|
OLAPDMLExpression(TypedExpression olapDML, DataType datatype, java.util.List<MdmPrimaryDimension> dimensions)
Creates an
OLAPDMLExpression with the specified Oracle OLAP DML expression and dimensionality. |
OLAPDMLExpression(TypedExpression olapDML, DataType datatype, MdmPrimaryDimension[] dimensions)
Creates an
OLAPDMLExpression with the specified Oracle OLAP DML expression. |
OLAPDMLExpression(TypedExpression olapDML, SQLDataType SQLDataType, java.util.List<MdmPrimaryDimension> dimensions)
Creates an
OLAPDMLExpression with the specified Oracle OLAP DML expression and dimensionality. |
OLAPDMLExpression(TypedExpression olapDML, SQLDataType SQLDataType, MdmPrimaryDimension[] dimensions)
Creates an
OLAPDMLExpression with the specified Oracle OLAP DML expression. |
Modifier and Type | Method and Description |
---|---|
MdmPrimaryDimension[] |
getDenseDimensions()
Gets the
MdmPrimaryDimension objects that are specified as dense in the OLAP DML expression. |
MdmPrimaryDimension[] |
getDimensions()
Gets the
MdmPrimaryDimension objects that are associated with this OLAPDMLExpression . |
MdmBaseMeasure[] |
getLoopByMeasures()
Gets the
MdmBaseMeasures objects that are specified as measures to loop by in the OLAP DML expression. |
TypedExpression |
getOlapDML()
Gets the Oracle OLAP DML expression of this
OLAPDMLExpression . |
SQLDataType |
getSQLDataType()
Gets the
SQLDataType of the OLAPDMLExpression . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitOLAPDMLExpression method of the SyntaxObjectVisitor and passes that method this OLAPDMLExpression and an Object . |
abs, acos, addMonths, addMonths, ascii, asciiStr, asin, atan, atan2, between, binToNum, bitAnd, cast, ceil, charToROWID, chr, chr, coalesce, compose, concat, concat, convert, convert, cos, cosh, currentDate, currentTime, dbTimeZone, decode, decompose, deref, div, div, div, div, div, dump, eq, eq, eq, eq, eq, exp, extractDay, extractHour, extractMinute, extractMonth, extractSecond, extractTimeZoneAbbr, extractTimeZoneHour, extractTimeZoneMinute, extractTimeZoneRegion, extractYear, floor, fromTZ, ge, ge, ge, ge, ge, getDataType, greatest, gt, gt, gt, gt, gt, hexToRAW, in, initcap, instr, instr2, instr4, instrB, instrC, isInfinite, isNAN, isNotNull, isNull, lastDay, le, le, le, le, le, least, length, length2, length4, lengthB, lengthC, like, like, like2, like4, likeC, ln, localTimestamp, log, lower, lpad, lt, lt, lt, lt, lt, ltrim, minus, minus, minus, minus, minus, minus, mod, monthsBetween, nanvl, ne, ne, ne, ne, ne, newTime, nextDay, nlsCharsetDeclLen, nlsCharsetID, nlsCharsetName, nlsInitcap, nlsLower, nlsSort, nlsUpper, notIn, nullIf, numToDSInterval, numToYMInterval, nvl, nvl2, oraHash, plus, plus, plus, plus, plus, power, rawToHex, rawToNHex, regexpInstr, regexpReplace, regexpSubstr, remainder, replace, round, rowIDToChar, rowIDToNChar, rpad, rtrim, scnToTimestamp, sessionTimeZone, sign, sin, sinh, soundex, sqrt, substr, substr2, substr4, substrB, substrC, sysContext, sysDate, sysExtractUTC, sysGUID, sysTimestamp, sysTypeID, tan, tanh, times, times, times, times, times, timestampToSCN, toBinaryDouble, toBinaryFloat, toChar, toChar, toCLOB, toDate, toDate, toDSInterval, toLOB, toMultiByte, toNChar, toNChar, toNCLOB, toNumber, toNumber, toNumber, toSingleByte, toTimestamp, toTimestampTZ, toYMInterval, translate, translateUsingCharCS, translateUsingNCharCS, treat, trim, trimLeading, trimTrailing, trunc, tzOffset, UID, unistr, upper, USER, userEnv, vsize, widthBucket
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
public OLAPDMLExpression(TypedExpression olapDML, DataType datatype, MdmPrimaryDimension[] dimensions)
OLAPDMLExpression
with the specified Oracle OLAP DML expression.olapDML
- A TypedExpression
that evaluates to an OLAP DML expression.datatype
- A DataType
that specifies the data type of the OLAP DML expression.dimensions
- An array of MdmPrimaryDimension
objects.public OLAPDMLExpression(TypedExpression olapDML, DataType datatype, java.util.List<MdmPrimaryDimension> dimensions)
OLAPDMLExpression
with the specified Oracle OLAP DML expression and dimensionality.olapDML
- A TypedExpression
that evaluates to an OLAP DML expression.datatype
- A DataType
that specifies the data type of the OLAP DML expression.dimensions
- A List
of MdmPrimaryDimension
objects.public OLAPDMLExpression(TypedExpression olapDML, SQLDataType SQLDataType, MdmPrimaryDimension[] dimensions)
OLAPDMLExpression
with the specified Oracle OLAP DML expression.olapDML
- A TypedExpression
that evaluates to an OLAP DML expression.SQLDataType
- A SQLDataType
that specifies the data type of the OLAP DML expression.dimensions
- An array of MdmPrimaryDimension
objects.public OLAPDMLExpression(TypedExpression olapDML, SQLDataType SQLDataType, java.util.List<MdmPrimaryDimension> dimensions)
OLAPDMLExpression
with the specified Oracle OLAP DML expression and dimensionality.olapDML
- A TypedExpression
that evaluates to an OLAP DML expression.SQLDataType
- A SQLDataType
that specifies the data type of the OLAP DML expression.dimensions
- A List
of MdmPrimaryDimension
objects.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitOLAPDMLExpression
method of the SyntaxObjectVisitor
and passes that method this OLAPDMLExpression
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitOLAPDMLExpression
method.public TypedExpression getOlapDML()
OLAPDMLExpression
.TypedExpression
that evaluates to the value of this OLAPDMLExpression
.public MdmPrimaryDimension[] getDimensions()
MdmPrimaryDimension
objects that are associated with this OLAPDMLExpression
.MdmPrimaryDimension
objects of this OLAPDMLExpression
.public MdmPrimaryDimension[] getDenseDimensions()
MdmPrimaryDimension
objects that are specified as dense in the OLAP DML expression.MdmPrimaryDimension
objects of this OLAPDMLExpression
.public MdmBaseMeasure[] getLoopByMeasures()
MdmBaseMeasures
objects that are specified as measures to loop by in the OLAP DML expression.MdmBaseMeasures
objects of this OLAPDMLExpression
.public SQLDataType getSQLDataType()
SQLDataType
of the OLAPDMLExpression
.SQLDataType
that specifies the data type of the OLAPDMLExpression
.