public class GenericPatternGroup extends BasePatternGroup
IQueryGroup
, covering an arbitrarily chosen set of patterns. Use the public
constructor or static GenericPatternGroup.of(...) methods to instantiate.Constructor and Description |
---|
GenericPatternGroup(java.util.Set<IQuerySpecification<?>> patterns)
Creates a GenericPatternGroup object with a set of patterns.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<IQuerySpecification<?>> |
getSpecifications()
Returns the currently assigned
IQuerySpecification s. |
static IQueryGroup |
of(IQueryGroup... subGroups)
Creates a generic
IQueryGroup instance from other IQueryGroup objects (subgroups). |
static IQueryGroup |
of(IQuerySpecification<?>... querySpecifications)
Creates a generic
IQueryGroup instance from IQuerySpecification objects. |
static IQueryGroup |
of(java.util.Set<IQuerySpecification<?>> querySpecifications)
Creates a generic
IQueryGroup instance from IQuerySpecification objects. |
prepare, prepare
public GenericPatternGroup(java.util.Set<IQuerySpecification<?>> patterns)
patterns
- public java.util.Set<IQuerySpecification<?>> getSpecifications()
IQueryGroup
IQuerySpecification
s.public static IQueryGroup of(java.util.Set<IQuerySpecification<?>> querySpecifications)
IQueryGroup
instance from IQuerySpecification
objects.querySpecifications
- public static IQueryGroup of(IQuerySpecification<?>... querySpecifications)
IQueryGroup
instance from IQuerySpecification
objects.querySpecifications
- public static IQueryGroup of(IQueryGroup... subGroups)
IQueryGroup
instance from other IQueryGroup
objects (subgroups).