Package org.kie.api.definition.rule

# Interface Query

All Superinterfaces:
  `KieDefinition`

public interface Query extends KieDefinition
Public Query interface for runtime query inspection.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition

  `KieDefinition.KnowledgeType`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<String,Object>`
  `getMetaData()`
  Returns an immutable Map<String key, Object value> of all meta data attributes associated with this query object.
  `String`
  `getName()`
  Returns this query's name.
  `String`
  `getPackageName()`
  Returns the package name (namespace) this query is tied to.

  ### Methods inherited from interface org.kie.api.definition.KieDefinition

  `getId, getKnowledgeType, getNamespace`

- ## Method Details

  - ### getPackageName

    String getPackageName()
    Returns the package name (namespace) this query is tied to.
    Returns:
      the package name.

  - ### getName

    String getName()
    Returns this query's name.
    Returns:
      the query name

  - ### getMetaData

    Map<String,Object> getMetaData()
    Returns an immutable Map<String key, Object value> of all meta data attributes associated with this query object.
    Returns:
      an immutable Map<String key, Object value> of meta data attributes.