|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.search.FieldExpression.Builder
public static final class FieldExpression.Builder
A field expression builder. A name and expression must be supplied.
Constructor Summary | |
---|---|
FieldExpression.Builder()
|
Method Summary | |
---|---|
FieldExpression |
build()
Builds the FieldExpression. |
FieldExpression.Builder |
setExpression(java.lang.String expression)
Sets the expression to evaluate to return in SearchResult . |
FieldExpression.Builder |
setName(java.lang.String name)
Sets the name of the expression. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldExpression.Builder()
Method Detail |
---|
public FieldExpression.Builder setName(java.lang.String name)
name
- the name of the expression
java.lang.IllegalArgumentException
- if name is not a valid field namepublic FieldExpression.Builder setExpression(java.lang.String expression)
SearchResult
.
expression
- an expression to evaluate and return
in a SearchResult
field
java.lang.IllegalArgumentException
- if the expression is not validpublic FieldExpression build()
java.lang.IllegalArgumentException
- if the name is not a valid field name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |