public interface ValuesDefinition
Modifier and Type | Interface | Description |
---|---|---|
static class |
ValuesDefinition.Direction |
The possible directions.
|
static class |
ValuesDefinition.Frequency |
The kinds of frequencies.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getAggregate() |
Returns the name of the aggregate function
applied to this query.
|
java.lang.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.
|
java.lang.String |
getName() |
Returns the name of the values constraint.
|
java.lang.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.
|
java.lang.String |
getView() |
Returns the view for this values query.
|
void |
setAggregate(java.lang.String... aggregate) |
Sets the name of the aggregate function to be
applied as part of this values query.
|
void |
setAggregatePath(java.lang.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(java.lang.String name) |
Sets the name of the values constraint.
|
void |
setOptionsName(java.lang.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(java.lang.String view) |
Sets the view for this values query.
|
java.lang.String getName()
void setName(java.lang.String name)
name
- The values constraint name.ValueQueryDefinition getQueryDefinition()
void setQueryDefinition(ValueQueryDefinition qdef)
qdef
- The query definition.java.lang.String getOptionsName()
void setOptionsName(java.lang.String optname)
optname
- The name of the options node.java.lang.String[] getAggregate()
void setAggregate(java.lang.String... aggregate)
aggregate
- The name of the function.java.lang.String getAggregatePath()
void setAggregatePath(java.lang.String aggregate)
aggregate
- The aggregate path.java.lang.String getView()
void setView(java.lang.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-2019 MarkLogic Corporation.