public final class ColumnExpression extends TypedExpression
TypedExpression
that represents a column in a relational table or view. A ColumnExpression
is like a column expression in SQL.Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether the specified object is the same as this
ColumnExpression . |
java.lang.String |
getColumnName()
Gets the name of the relational column that is associated with this
ColumnExpression . |
Source |
getListSource(DataProvider dp)
Gets the
ListSource that is associated with this ColumnExpression . |
Query |
getQuery()
Gets the
Query that is associated with this ColumnExpression . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitColumnExpression method of the SyntaxObjectVisitor and passes that method this ColumnExpression 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 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitColumnExpression
method of the SyntaxObjectVisitor
and passes that method this ColumnExpression
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitColumnExpression
method.public Query getQuery()
Query
that is associated with this ColumnExpression
.Query
associated with this ColumnExpression
.public java.lang.String getColumnName()
ColumnExpression
.String
that contains the name of the column.public boolean equals(java.lang.Object obj)
ColumnExpression
. The object is the same if it is a ColumnExpression
that has the same name and the same Query
as this ColumnExpression
.equals
in class java.lang.Object
obj
- The Object
to compare to this ColumnExpression
.boolean
that is true
if the specified object is the same as this ColumnExpression
or false
if it is not.public Source getListSource(DataProvider dp)
ListSource
that is associated with this ColumnExpression
.dp
- The DataProvider
associated with the current UserSession
.ListSource
associated with this ColumnExpression
.