public static class QueryOptions.Field extends Object implements TupleSource
Constructor and Description |
---|
Field()
Zero-argument constructor.
|
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 Field()
public Field(String name)
name
- the fieldpublic void build(QueryOptions.QueryTuples tuples)
build
in interface TupleSource
public 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 TupleSource
Copyright © 2013-2016 MarkLogic Corporation.