public interface ValuesDefinition
Modifier and Type | Interface and Description |
---|---|
static class |
ValuesDefinition.Direction
The possible directions.
|
static class |
ValuesDefinition.Frequency
The kinds of frequencies.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAggregate()
Returns the name of the aggregate function applied to this query.
|
String |
getAggregatePath()
Returns the aggregate path.
|
ValuesDefinition.Direction |
getDirection()
Returns the direction of the results in this values query.
|
ValuesDefinition.Frequency |
getFrequency()
Returns the frequency of the results.
|
String |
getName()
Returns the name of the values constraint.
|
String |
getOptionsName()
Returns the name of the options node used for this values query.
|
ValueQueryDefinition |
getQueryDefinition()
Returns the query definition associated with this values query.
|
String |
getView()
Returns the view for this values query.
|
void |
setAggregate(String... aggregate)
Sets the name of the aggregate function to be applied as part of this values query.
|
void |
setAggregatePath(String aggregate)
Sets the aggregate path.
|
void |
setDirection(ValuesDefinition.Direction dir)
Sets the direction of the results to use in this values query.
|
void |
setFrequency(ValuesDefinition.Frequency freq)
Sets the frequency to be used in this values query.
|
void |
setName(String name)
Sets the name of the values constraint.
|
void |
setOptionsName(String optname)
Set the name of the options node to use for this values query.
|
void |
setQueryDefinition(ValueQueryDefinition qdef)
Set the query definition associated with this values query.
|
void |
setView(String view)
Sets the view for this values query.
|
String getName()
void setName(String name)
name
- The values constraint name.ValueQueryDefinition getQueryDefinition()
void setQueryDefinition(ValueQueryDefinition qdef)
qdef
- The query definition.String getOptionsName()
void setOptionsName(String optname)
optname
- The name of the options node.String[] getAggregate()
void setAggregate(String... aggregate)
aggregate
- The name of the function.String getAggregatePath()
void setAggregatePath(String aggregate)
aggregate
- The aggregate path.String getView()
void setView(String view)
view
- The view.ValuesDefinition.Direction getDirection()
void setDirection(ValuesDefinition.Direction dir)
dir
- The direction.ValuesDefinition.Frequency getFrequency()
void setFrequency(ValuesDefinition.Frequency freq)
freq
- The frequency.Copyright © 2013-2015 MarkLogic Corporation.