# Uses of Interface
org.kie.api.definition.rule.Query

Packages that use Query
Package
Description
org.kie.api
Base KIE API classes.
org.kie.api.definition
All classes to create definitions, as built by the KieBuilder from artifact resources, can be found here.

- ## Uses of Query in org.kie.api

  Methods in org.kie.api that return Query
  Modifier and Type
  Method
  Description
  `Query`
  KieBase.`getQuery(String packageName, String queryName)`
  Returns a reference to the `Query` identified by the given package and query names.

- ## Uses of Query in org.kie.api.definition

  Methods in org.kie.api.definition that return types with arguments of type Query
  Modifier and Type
  Method
  Description
  `Collection<Query>`
  KiePackage.`getQueries()`
  Return the query definitions for this package.