| Modifier and Type | Class and Description |
|---|---|
static class |
CandidatePath.Traversal
Represents a traversal through a field.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.LinkedList |
_actions |
protected java.lang.String |
_correlationVar |
| Constructor and Description |
|---|
CandidatePath() |
| Modifier and Type | Method and Description |
|---|---|
void |
castTo(java.lang.Class type)
Cast this path to the given type.
|
boolean |
equals(java.lang.Object other) |
protected java.lang.Object |
eval(java.lang.Object candidate,
java.lang.Object orig,
StoreContext ctx,
java.lang.Object[] params)
Return this value for the given candidate.
|
void |
get(FieldMetaData field,
boolean nullTraversal)
Traverse into the given field of the current object, and update
the current object to that field value.
|
void |
get(FieldMetaData fmd,
XMLMetaData meta)
Traverse into the given field that maps to xml column, and update
the current object to that field value.
|
void |
get(XMLMetaData meta,
java.lang.String name)
Traverse into the gevin xpath name of the current object, and update
the current object to that xpath field.
|
protected java.lang.Class |
getCandidateType() |
java.lang.String |
getCorrelationVar() |
java.lang.String |
getSchemaAlias() |
java.lang.Class |
getType()
Return the expected type for this value, or
Object if
the type is unknown. |
XMLMetaData |
getXmlMapping()
Return the current XPath's xmlmapping metadata.
|
int |
hashCode() |
FieldMetaData |
last()
Return the last field in the path, or null if the path does not
not contain a final field.
|
void |
setImplicitType(java.lang.Class type)
Set the implicit type of the value, based on how it is used in the
filter.
|
void |
setSchemaAlias(java.lang.String schemaAlias)
Set the schema alias (the identification variable)
this path is begin with.
|
void |
setSubqueryContext(Context conext,
java.lang.String correlationVar) |
acceptVisit, eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaDataclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitacceptVisit, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaDataprotected java.util.LinkedList _actions
protected java.lang.String _correlationVar
public void get(FieldMetaData field, boolean nullTraversal)
public java.lang.Class getType()
ValueObject if
the type is unknown.protected java.lang.Class getCandidateType()
public void setImplicitType(java.lang.Class type)
ValueObject from Value.getType().setImplicitType in interface Valuepublic FieldMetaData last()
Pathpublic void castTo(java.lang.Class type)
protected java.lang.Object eval(java.lang.Object candidate,
java.lang.Object orig,
StoreContext ctx,
java.lang.Object[] params)
Valpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic void get(FieldMetaData fmd, XMLMetaData meta)
Pathpublic void get(XMLMetaData meta, java.lang.String name)
Pathpublic XMLMetaData getXmlMapping()
PathgetXmlMapping in interface Pathpublic void setSchemaAlias(java.lang.String schemaAlias)
PathsetSchemaAlias in interface Pathpublic java.lang.String getSchemaAlias()
getSchemaAlias in interface Pathpublic void setSubqueryContext(Context conext, java.lang.String correlationVar)
setSubqueryContext in interface Pathpublic java.lang.String getCorrelationVar()
getCorrelationVar in interface PathCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.