public class CandidatePath extends Val implements Path
| Modifier and Type | Class and Description |
|---|---|
static class |
CandidatePath.Traversal
Represents a traversal through a field.
|
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList |
_actions |
protected String |
_correlationVar |
| Constructor and Description |
|---|
CandidatePath() |
| Modifier and Type | Method and Description |
|---|---|
void |
castTo(Class type)
Cast this path to the given type.
|
boolean |
equals(Object other) |
protected Object |
eval(Object candidate,
Object orig,
StoreContext ctx,
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,
String name)
Traverse into the gevin xpath name of the current object, and update
the current object to that xpath field.
|
protected Class |
getCandidateType() |
String |
getCorrelationVar() |
String |
getSchemaAlias() |
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(Class type)
Set the implicit type of the value, based on how it is used in the
filter.
|
void |
setSchemaAlias(String schemaAlias)
Set the schema alias (the identification variable)
this path is begin with.
|
void |
setSubqueryContext(Context conext,
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 LinkedList _actions
protected String _correlationVar
public void get(FieldMetaData field, boolean nullTraversal)
public Class getType()
ValueObject if
the type is unknown.protected Class getCandidateType()
public void setImplicitType(Class type)
ValueObject from Value.getType().setImplicitType in interface Valuepublic FieldMetaData last()
Pathpublic void castTo(Class type)
protected Object eval(Object candidate, Object orig, StoreContext ctx, Object[] params)
Valpublic void get(FieldMetaData fmd, XMLMetaData meta)
Pathpublic void get(XMLMetaData meta, String name)
Pathpublic XMLMetaData getXmlMapping()
PathgetXmlMapping in interface Pathpublic void setSchemaAlias(String schemaAlias)
PathsetSchemaAlias in interface Pathpublic String getSchemaAlias()
getSchemaAlias in interface Pathpublic void setSubqueryContext(Context conext, String correlationVar)
setSubqueryContext in interface Pathpublic String getCorrelationVar()
getCorrelationVar in interface PathCopyright © 2006–2022 Apache Software Foundation. All rights reserved.