public static class QueryOptions.JsonKey extends Object implements MetadataExtract
Constructor and Description |
---|
JsonKey()
Zero-argument constructor.
|
JsonKey(String name)
Constructs the JSON key specifier with the key.
|
Modifier and Type | Method and Description |
---|---|
void |
build(QueryOptions.QueryExtractMetadata extractMetadata)
Adds this JSON key to the metadata extraction specification.
|
void |
build(QueryOptions.QueryTuples values)
Adds this JSON key to the tuples query specification.
|
void |
build(QueryOptions.QueryValues values)
Adds this JSON key to the values query specification.
|
String |
getName()
Returns the key.
|
public JsonKey()
public JsonKey(String name)
name
- the JSON keypublic String getName()
public void build(QueryOptions.QueryExtractMetadata extractMetadata)
build
in interface MetadataExtract
public void build(QueryOptions.QueryValues values)
values
- the querypublic void build(QueryOptions.QueryTuples values)
values
- the queryCopyright © 2013-2016 MarkLogic Corporation.