public interface ValuesDefinition
A ValuesDefinition represents a values query used to retreive values from the server.
| 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()
Returns the name of the values constraint.
void setName(String name)
Sets the name of the values constraint.
name - The values constraint name.ValueQueryDefinition getQueryDefinition()
Returns the query definition associated with this values query.
void setQueryDefinition(ValueQueryDefinition qdef)
Set the query definition associated with this values query.
qdef - The query definition.String getOptionsName()
Returns the name of the options node used for this values query.
void setOptionsName(String optname)
Set the name of the options node to use for this values query.
optname - The name of the options node.String[] getAggregate()
Returns the name of the aggregate function applied to this query.
void setAggregate(String... aggregate)
Sets the name of the aggregate function to be applied as part of this values query.
aggregate - The name of the function.String getAggregatePath()
Returns the aggregate path.
void setAggregatePath(String aggregate)
Sets the aggregate path.
aggregate - The aggregate path.String getView()
Returns the view for this values query.
void setView(String view)
Sets the view for this values query.
view - The view.ValuesDefinition.Direction getDirection()
Returns the direction of the results in this values query.
void setDirection(ValuesDefinition.Direction dir)
Sets the direction of the results to use in this values query.
dir - The direction.ValuesDefinition.Frequency getFrequency()
Returns the frequency of the results.
void setFrequency(ValuesDefinition.Frequency freq)
Sets the frequency to be used in this values query.
freq - The frequency.Copyright © 2013-2017 MarkLogic Corporation.