public class FromExpression
extends DataSourceExpression
Represents the from expression
| Fields inherited from class | Fields |
|---|---|
class DataSourceExpression |
aliasExpr, dataSourceExpr |
class Expression |
EMPTY_ARRAY |
| Constructor and description |
|---|
FromExpression(Expression aliasExpr, Expression dataSourceExpr)Creates a from clause. |
| Type Params | Return Type | Name and description |
|---|---|---|
<R> |
public R |
accept(GinqAstVisitor<R> visitor)Accepts a visitor for this clause. |
|
public DataSourceExpression |
getDataSourceExpression()Returns this clause as its own data-source expression. |
|
public String |
getText()Returns the textual GINQ form of this clause. |
|
public void |
setDataSourceExpression(DataSourceExpression dataSourceExpression)Rejects replacing the from clause with another data source. |
|
public String |
toString()Returns the textual form of this clause. |
| Methods inherited from class | Name |
|---|---|
class DataSourceExpression |
getAliasExpr, getDataSourceExpr, setDataSourceExpr |
class AbstractGinqExpression |
accept, transformExpression, visit |
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Creates a from clause.
aliasExpr - the alias expressiondataSourceExpr - the source expressionAccepts a visitor for this clause.
visitor - the visitor to acceptR - the visit result typeReturns this clause as its own data-source expression.
Returns the textual GINQ form of this clause.
Rejects replacing the from clause with another data source.
dataSourceExpression - the ignored replacementReturns the textual form of this clause.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.