|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.jpa.openjpa.query.FieldPathNode
public class FieldPathNode
Represents a field path in the expression tree.
The get(FieldMetaData, boolean)
method is called when passing through each ClassMetaData
so this method saves the entire path to the given column so it can be later converted to a string.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.openspaces.jpa.openjpa.query.ExpressionNode |
---|
ExpressionNode.NodeType |
Constructor Summary | |
---|---|
FieldPathNode()
|
Method Summary | |
---|---|
void |
acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor visitor)
|
void |
appendSql(StringBuilder sql)
Appends the node SQL string to the string builder. |
void |
get(org.apache.openjpa.meta.FieldMetaData fmd,
boolean nullTraversal)
|
void |
get(org.apache.openjpa.meta.FieldMetaData fieldMetaData,
org.apache.openjpa.meta.XMLMetaData xmlMetaData)
|
void |
get(org.apache.openjpa.meta.XMLMetaData xmlMetaData,
String name)
|
String |
getAlias()
|
String |
getCorrelationVar()
|
org.apache.openjpa.meta.ClassMetaData |
getMetaData()
|
String |
getName()
|
ExpressionNode.NodeType |
getNodeType()
Gets the node type |
org.apache.openjpa.kernel.exps.Path |
getPath()
|
String |
getSchemaAlias()
|
org.apache.openjpa.kernel.exps.Value |
getSelectAs()
|
Class |
getType()
|
org.apache.openjpa.meta.XMLMetaData |
getXmlMapping()
|
boolean |
isAggregate()
|
boolean |
isVariable()
|
boolean |
isXPath()
|
org.apache.openjpa.meta.FieldMetaData |
last()
|
void |
setAlias(String alias)
|
void |
setCollection(boolean collection)
Sets whether the JOINED property is a collection or not. |
void |
setImplicitType(Class type)
|
void |
setJoinedFieldName(String collectionName)
In a JOIN statement - sets the JOINED property name. |
void |
setMetaData(org.apache.openjpa.meta.ClassMetaData classMetaData)
|
void |
setSchemaAlias(String schemaAliasName)
|
void |
setSubqueryContext(org.apache.openjpa.kernel.exps.Context arg0,
String arg1)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldPathNode()
Method Detail |
---|
public void acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor visitor)
acceptVisit
in interface org.apache.openjpa.kernel.exps.Value
public String getAlias()
getAlias
in interface org.apache.openjpa.kernel.exps.Value
public org.apache.openjpa.meta.ClassMetaData getMetaData()
getMetaData
in interface org.apache.openjpa.kernel.exps.Value
public String getName()
getName
in interface org.apache.openjpa.kernel.exps.Value
public org.apache.openjpa.kernel.exps.Path getPath()
getPath
in interface org.apache.openjpa.kernel.exps.Value
public org.apache.openjpa.kernel.exps.Value getSelectAs()
getSelectAs
in interface org.apache.openjpa.kernel.exps.Value
public Class getType()
getType
in interface org.apache.openjpa.kernel.exps.Value
public boolean isAggregate()
isAggregate
in interface org.apache.openjpa.kernel.exps.Value
public boolean isVariable()
isVariable
in interface org.apache.openjpa.kernel.exps.Value
public boolean isXPath()
isXPath
in interface org.apache.openjpa.kernel.exps.Value
public void setAlias(String alias)
setAlias
in interface org.apache.openjpa.kernel.exps.Value
public void setImplicitType(Class type)
setImplicitType
in interface org.apache.openjpa.kernel.exps.Value
public void setMetaData(org.apache.openjpa.meta.ClassMetaData classMetaData)
setMetaData
in interface org.apache.openjpa.kernel.exps.Value
public void get(org.apache.openjpa.meta.FieldMetaData fmd, boolean nullTraversal)
get
in interface org.apache.openjpa.kernel.exps.Path
public void get(org.apache.openjpa.meta.FieldMetaData fieldMetaData, org.apache.openjpa.meta.XMLMetaData xmlMetaData)
get
in interface org.apache.openjpa.kernel.exps.Path
public void get(org.apache.openjpa.meta.XMLMetaData xmlMetaData, String name)
get
in interface org.apache.openjpa.kernel.exps.Path
public String getCorrelationVar()
getCorrelationVar
in interface org.apache.openjpa.kernel.exps.Path
public String getSchemaAlias()
getSchemaAlias
in interface org.apache.openjpa.kernel.exps.Path
public org.apache.openjpa.meta.XMLMetaData getXmlMapping()
getXmlMapping
in interface org.apache.openjpa.kernel.exps.Path
public org.apache.openjpa.meta.FieldMetaData last()
last
in interface org.apache.openjpa.kernel.exps.Path
public void setSchemaAlias(String schemaAliasName)
setSchemaAlias
in interface org.apache.openjpa.kernel.exps.Path
public void setSubqueryContext(org.apache.openjpa.kernel.exps.Context arg0, String arg1)
setSubqueryContext
in interface org.apache.openjpa.kernel.exps.Path
public String toString()
toString
in class Object
public void appendSql(StringBuilder sql)
ExpressionNode
appendSql
in interface ExpressionNode
sql
- The SQL string builder to append to.public ExpressionNode.NodeType getNodeType()
ExpressionNode
getNodeType
in interface ExpressionNode
public void setJoinedFieldName(String collectionName)
collectionName
- public void setCollection(boolean collection)
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |