|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.ValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.AtomicValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.ColumnValueExpression
public class ColumnValueExpression
A concrete value expression whose value is based on
that of a referenced result set column.
An ODA driver that implements the ODA dynamicResultSet extension point
must support this type of expressions defined in a
QuerySpecification.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.datatools.connectivity.oda.spec.ValueExpression |
|---|
UNKNOWN_ODA_DATA_TYPE |
| Constructor Summary | |
|---|---|
ColumnValueExpression(ColumnIdentifier columnRef)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getColumnExpression()
Gets the referenced column name or expression. |
java.lang.Integer |
getColumnNumber()
Gets the referenced column number, if specified. |
ColumnIdentifier |
getColumnReference()
Gets the column reference of this value expression. |
java.lang.String |
getName()
Gets the name of this value expression type. |
ExpressionVariable.VariableType |
getVariableType()
Returns the type of expression. |
java.lang.String |
toString()
|
void |
validateSyntax(ValidationContext context)
Performs syntactic validation of this expression in the specified context. |
| Methods inherited from class org.eclipse.datatools.connectivity.oda.spec.ValueExpression |
|---|
getOdaDataType, getQualifiedId, setOdaDataType, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnValueExpression(ColumnIdentifier columnRef)
| Method Detail |
|---|
public java.lang.String getName()
ValueExpression
getName in class ValueExpressionpublic ExpressionVariable.VariableType getVariableType()
ValueExpression
getVariableType in class ValueExpressionpublic java.lang.Integer getColumnNumber()
public java.lang.String getColumnExpression()
public ColumnIdentifier getColumnReference()
public void validateSyntax(ValidationContext context)
throws OdaException
ValueExpression
validateSyntax in class ValueExpressioncontext - context for validation; may be null which would limit the scope of validation
OdaException - if validation failed. The concrete cause is
defined by the subclass implementing this method.public java.lang.String toString()
toString in class ValueExpression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||