Interface DataSetParameter.Setter
- All Known Subinterfaces:
DataSetParameter.Builder
- Enclosing interface:
- DataSetParameter
public static interface DataSetParameter.Setter
- Since:
- 3.9.2
-
Method Summary
Modifier and TypeMethodDescriptionallowedPrototypes
(PrototypeEnum firstAllowed, PrototypeEnum... otherAllowed) Sets which prototypes will be selectable by a user and overrides the values set byallowedPrototypes(Iterable)
.allowedPrototypes
(Iterable<String> allowedPrototypes) Sets which prototypes will be selectable by a user and overrides the values set byallowedPrototypes(PrototypeEnum, PrototypeEnum...)
If the allowed prototypes do not contain the target prototype then the first allowed prototype is automatically selected as the target prototype.lucenePlusVelocityQuery
(String value) luceneQuery
(String value) PrototypeSelector<? extends DataSetParameter.Setter>
Clears the subtype defined bysubtype(String)
, so it must be used before usingsubtype(String)
.ScopeSelector<? extends DataSetParameter.Setter>
scope()
Current scope is used when this method is NOT called.sqlPlusVelocityQuery
(String columnsQuery, String tablesQuery, String restQuery) Must be used afterprototype()
, otherwise the value is lost.
-
Method Details
-
scope
Current scope is used when this method is NOT called. -
prototype
Clears the subtype defined bysubtype(String)
, so it must be used before usingsubtype(String)
. If the prototype is not contained in the allowed prototypes (specified withallowedPrototypes(PrototypeEnum, PrototypeEnum...)
. orallowedPrototypes(Iterable)
) then it is added automatically. -
subtype
Must be used afterprototype()
, otherwise the value is lost. -
luceneQuery
-
lucenePlusVelocityQuery
-
sqlQuery
@NotNull DataSetParameter.Setter sqlQuery(@Nullable String columnsQuery, @Nullable String tablesQuery, @Nullable String restQuery) -
sqlPlusVelocityQuery
@NotNull DataSetParameter.Setter sqlPlusVelocityQuery(@Nullable String columnsQuery, @Nullable String tablesQuery, @Nullable String restQuery) -
allowedPrototypes
Sets which prototypes will be selectable by a user and overrides the values set byallowedPrototypes(PrototypeEnum, PrototypeEnum...)
If the allowed prototypes do not contain the target prototype then the first allowed prototype is automatically selected as the target prototype.- Throws:
IllegalArgumentException
- if no value is specified or one of the specified values is not the name of a constant fromPrototypeEnum
.NullPointerException
- if one of the values is null.
-