public static class QueryOptions.Field extends Object implements TupleSource
| Constructor and Description |
|---|
QueryOptions.Field()
Zero-argument constructor.
|
QueryOptions.Field(String name)
Constructs the field with the name of the field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(Indexed indexable)
Adds this field to the indexed specification.
|
void |
build(QueryOptions.QueryTuples tuples)
Adds this field to the tuples query specification.
|
void |
build(QueryOptions.QueryValues values)
Adds this field to the values query specification.
|
String |
getName()
Returns the name of the field.
|
void |
setName(String name)
Specifies the name of the field.
|
public QueryOptions.Field()
public QueryOptions.Field(String name)
name - the fieldpublic void build(QueryOptions.QueryTuples tuples)
build in interface TupleSourcepublic String getName()
public void setName(String name)
name - the fieldpublic void build(Indexed indexable)
indexable - the index specificationpublic void build(QueryOptions.QueryValues values)
build in interface TupleSourceCopyright © 2013-2015 MarkLogic Corporation.