|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.navigation.analytics.ExprKey
public class ExprKey
Instances of ExprKey
represent record field names.
The fields are Endeca properties or dimensions.
Constructor Summary | |
---|---|
ExprKey(String _fieldName)
Creates a new ExprKey expression node representing
the specified record field name. |
Method Summary | |
---|---|
String |
getFieldName()
Gets the field name for this ExprKey . |
void |
setFieldName(String fieldName)
Sets the field name for this ExprKey . |
String |
toString()
Returns the string form of this ExprKey . |
String |
toWire()
Returns the wire form of this ExprKey . |
void |
validateSyntax()
Validates the syntax of this ExprKey . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExprKey(String _fieldName)
ExprKey
expression node representing
the specified record field name.
_fieldName
- the name of an Endeca property or dimension.Method Detail |
---|
public String getFieldName()
ExprKey
.
fieldName
setting for this ExprKey
.public void setFieldName(String fieldName)
ExprKey
.
fieldName
- the name of an Endeca property or dimension.public String toString()
ExprKey
. These are of the format
"price" or "revenue ($)".
toString
in interface QueryNode
toString
in class Object
ExprKey
in the specified format.public String toWire()
ExprKey
. This method is not
intended for public use because the wire format is subject to change.
toWire
in interface QueryNode
ExprKey
.public void validateSyntax() throws SyntaxException
ExprKey
.
An ExprKey
is valid if the fieldName is non-null and non-empty.
validateSyntax
in interface QueryNode
SyntaxException
- if the syntax requirements are not satisfied.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |