Package: groovy.ginq.transform

## [Java] Annotation Type GQ

- groovy.ginq.transform.GQ

-     @Documented
      @Retention(RetentionPolicy.SOURCE)
      @Target({ElementType.METHOD})
      public @interface GQ

  Method annotation to make a method call returning GINQ result

  Since:
    4.0.0

- - ### Element Summary

    Optional Element Summary
    Type | Name and Description
    --- | ---
    `String` | `astWalker` Specify the GINQ AST walker to customize GINQ behaviour.
    `boolean` | `optimize` Whether to optimize the GINQ AST Default: true
    `boolean` | `parallel` Whether to enable parallel querying Default: false
    `Class<?>` | `value` Specify the result type Default: Queryable.class

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Element Detail

    - #### public String astWalker

      Specify the GINQ AST walker to customize GINQ behaviour.

      This is an advanced extension point: the named class must implement the GinqAstVisitor provider SPI, which is still Incubating and may change in a future release.

      Default:
        "org.apache.groovy.ginq.provider.collection.GinqAstWalker"

    - #### public boolean optimize

      Whether to optimize the GINQ AST

      Default:
        true

    - #### public boolean parallel

      Whether to enable parallel querying

      Default:
        false

    - #### public Class<?> value

      Specify the result type

      Default:
        Queryable.class