Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{anchor:top}
{toc: class=contents}

h2. Overview概要
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
YellowfinYellowfinは、ドラッグ&ドロップで作成機能やSQLエディターを使ってデータベースのビューの作成を支援します。
provides
you with the capability to create Views of your database through a drag and drop builder or as a straight SQL statement.

This section describes how to use the view builder to create views of your database that end users can access for reporting purposes.  These views are built by first creating an entity relationship diagram which joins all required tables together.
このセクションでは、エンドユーザーがレポート作成に使用できるデータベースビューをビュービルダーを利用して作成する方法を説明します。これらのビューは、必要なすべてのテーブル間の結合を設定することで構築されます。


h3. Benefitsビュービルダーの利点
of
theYellowfinのビュービルダーを利用すると、クエリーで生成されるSQLを最適化することができます。たとえば、複数のテーブルが結合されたビューを作成する場合、Yellowfinでは、レポートで求められるデータを返すために必要なデータしかテーブルから選択しません。すなわち、パフォーマンスを落とすことなく比較的複雑なビューを作成することができるということです。
Yellowfin
View Builder
By using the Yellowfin view builder you can optimise the SQL that will be generated by the query.  For example if you create a view where multiple tables are joined - Yellowfin will only select data from the tables necessary to return data required for the report.  This means that you can create relatively complex views without compromising on performance.

For example you may want to build a fairly complex view that provides significant flexibility to your end users (more fields and tables).  In general reports that are written will not include all possible fields.  In this way you can deliver less views to your end users therefore reducing the administration complexity.
また別の例では、エンドユーザーに対して、かなりの柔軟性を持たせた比較的複雑なビューを作成するとします(さらに多くのフィールドとテーブルを使用)。作成されるレポートには、可能なフィールドすべてが含まれているわけではありません。この場合、エンドユーザーには、より少ないビューを提供することができるので、管理の煩雑さが軽減されます。


h3. What関連図とはなんですか?
is
a関連図は、複数のテーブルとそれらの間の結合関係を示したものです。Yellowfinのビュービルダーを使用して関連図を作成することで、ソースデータベースのサブセットを構築することができます。
Relationship
Diagram?
関連図はテーブルとその結合で構成されます。これらのテーブルは、エンドユーザーがレポートを作成するために使用するカラムを含むものです。
A
relationship
diagram is複数のテーブルに対するクエリーが正しいデータを返すよう、テーブル間の結合関係を定義します。
a
representation of a database view that shows the tables and joins between those tables. Using the Yellowfin View Builder you can create a relationship diagram for a sub set of your source database.

The relationship diagram contains tables and joins. The tables contain columns to which you apply a metadata so that business end users can use for creating reports. 

The joins link the tables so that the correct data is returned for queries that are run on more than one table.

You build your relationship diagram on the canvas by selecting tables from the source database using table list. You create joins to link the tables. When you have built the relationship diagram for your view, you can test the view using integrity and impact analysis checks.
まず、テーブル一覧を使用して、ソースデータベースからキャンバスにテーブルをドラッグ&ドロップします。次にテーブル同士の結合関係を定義します。図が完成したら、ビューの完全性と影響関係をチェックします。


!76.png|thumbnail,border=1!



h2. Drag and Drop Builder
ドラッグ&ドロップで作成
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
The drag and drop builder is used to build your relationship diagram by dragging tables onto your canvas. 

キャンバスの上にテーブルを配置し、関連図を作成するには、ドラッグ&ドロップで作成機能を使用します。


!77.png|thumbnail,border=1!

# The process wizard assists you to move between the various steps in building your view.  
# The search and expand option allows you to search for tables in your data base
# The virtual table allows you to create your own tables using freehand SQL.
# The data base tables allow you to view all the available tables in your data source.  
# Drag the table to resize the table list and expand the size of your canvas.
# The canvas - it is on this section that you drop your tables and create joins between them.
# Create Joins that link your tables together
# View options - manage the view details and table properties.

h3. Database Table List
The list of database tables assists you to build your relationship diagram.  Use the Table List to view and select tables in your database that you want to add to your view. 

プロセスウイザードを使って、ビューの作成ステップの間を移動できます。
# 「検索と展開」オプションでは、データベース内のテーブルを検索できます。
# 仮想テーブルをキャンバスに配置すれば、SQLエディターを使用して新しいテーブルを作成することができます。
# データベーステーブルには、データソースの利用可能なテーブルの一覧を表示します。
# テーブルをドラッグして、テーブル一覧のサイズを変更したり、キャンバスを拡大したりします。
# テーブルをドラッグ&ドロップし、テーブル間の結合関係を定義するためのキャンバスです。
# テーブル間をリンクさせる結合関係を作成します。
# 「ビューオプション」欄でビューの詳細とテーブルのプロパティを設定できます。

h3. データベーステーブル一覧

データベーステーブルの一覧は関連図の作成を支援します。表示されている一覧から、ビューに加えたいテーブルを選択してください。


!78.png|thumbnail,border=1!

Byテーブル名の左にあるアイコンをクリックするとその内容が表示されます。また、個々のエレメントがテーブルかビューであるかも示されます。
expanding the node next to a table name you display the fields for the table. The list also provides an indication if the element selected is a table or a database view.
|
| !rpt_dbtable.gif! |Database データベーステーブル\\ table|
| !rpt_dbview.gif! |Database データベースビュー\\ View|
| !rpt_dbvirtual.gif! |Virtual 仮想テーブル\\ Table|
{color:#C00000#c00000}{*Note}注意:*{color} 表示されるデフォルトテーブルの数は設定可能です。デフォルトは50です。
the
number of default tables shown is a configuration item - 50 is the default
 
h3. Dragテーブルをキャンバスにドラッグ
Table onto Canvas
You start building your view by selecting available tables from the source system and dragging them onto the Design Canvas. 


データベーステーブルからビューに含めるテーブルを選び、キャンバスの上にドラッグします。


!79.png!


h3. Multiple複数のテーブルバージョンと表示名
Table
Versions & Aliases
In your view you can drag multiple versions of the same table.  This may be needed if you which to access the same table but in different ways. 

bq. See [ビューには、同一テーブルの複数のバージョンをドラッグできます。この機能は同じテーブルに異なる方法でアクセスしたい場合に有用です。



bq. 詳細については、 [テーブルプロパティ|Table Properties] forを参照してください
more information.
\\
\\
{horizontalrule}
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}