Code Search for Developers
 
 
  

ISubqueryDefinition.java from BIRT at Krugle


Show ISubqueryDefinition.java syntax highlighted

/*
 *************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *  
 *************************************************************************
 */ 
package org.eclipse.birt.data.engine.api;

/**
 * Provides definition of subquery: a supplemental use of rows returned by a data set
 * or a group. A subquery does not have its own data set, but rather it provides an alternate view
 * of data of an existing group or query by applying additional transforms on top of such data.
 */
public interface ISubqueryDefinition extends IBaseQueryDefinition
{
	/**
	 * Gets the name of the subquery. Each Subquery must have a name that uniquely
	 * identifies it within the main query that contains it.
	 * @return Name of the subquery
	 */
	public String getName();
	
	/**
	 * Subquery can apply to the group in which the sub query is added, or to
	 * the each row of current query definition. If it is the previous case, all
	 * rows of current group will be the data source of sub query, but in latter
	 * case, only the current row of parent query will be the data source. A
	 * note is the false value will be valid when it is added into the query
	 * definition, and it will have no any effect if it is on group.
	 * 
	 * @return true, sub query is applied on group, false, applied on current
	 *         row of parent query
	 */
	public boolean applyOnGroup( );
	
}




See more files for this project here

BIRT

BIRT is an open source, Eclipse-based reporting system that integrates with your application to produce compelling reports for both web and PDF.

Project homepage: http://www.eclipse.org/birt/phoenix/
Programming language(s): Java,XML
License: gpl2

  aggregation/
    Accumulator.java
    Aggregation.java
    IAggregation.java
    package.html
  querydefn/
    BaseDataSetDesign.java
    BaseDataSourceDesign.java
    BaseExpression.java
    BaseQueryDefinition.java
    BaseTransform.java
    ColumnDefinition.java
    ComputedColumn.java
    ConditionalExpression.java
    FilterDefinition.java
    GroupDefinition.java
    InputParameterBinding.java
    JoinCondition.java
    JointDataSetDesign.java
    OdaDataSetDesign.java
    OdaDataSourceDesign.java
    ParameterDefinition.java
    QueryDefinition.java
    ScriptDataSetDesign.java
    ScriptDataSourceDesign.java
    ScriptExpression.java
    SortDefinition.java
    SubqueryDefinition.java
    package.html
  script/
    IBaseDataSetEventHandler.java
    IBaseDataSourceEventHandler.java
    IDataRow.java
    IDataSetInstanceHandle.java
    IDataSourceInstanceHandle.java
    IJavascriptContext.java
    IScriptDataSetEventHandler.java
    IScriptDataSetMetaDataDefinition.java
    IScriptDataSourceEventHandler.java
    package.html
  DataEngine.java
  DataEngineContext.java
  IBaseDataSetDesign.java
  IBaseDataSourceDesign.java
  IBaseExpression.java
  IBaseQueryDefinition.java
  IBaseTransform.java
  IColumnDefinition.java
  IComputedColumn.java
  IConditionalExpression.java
  IDataEngineFactory.java
  IFilterDefinition.java
  IGroupDefinition.java
  IInputParameterBinding.java
  IJoinCondition.java
  IJointDataSetDesign.java
  IOdaDataSetDesign.java
  IOdaDataSourceDesign.java
  IParameterDefinition.java
  IParameterMetaData.java
  IPreparedQuery.java
  IQueryDefinition.java
  IQueryResults.java
  IResultIterator.java
  IResultMetaData.java
  IScriptDataSetDesign.java
  IScriptDataSourceDesign.java
  IScriptExpression.java
  ISortDefinition.java
  ISubqueryDefinition.java
  package.html