Академический Документы
Профессиональный Документы
Культура Документы
SP311
Important Information
Copyright Notice COPYRIGHT 2009 TIBCO Software Inc. All rights reserved. No part of this document may be reproduced in any form, including video recording, photocopying, downloading, broadcasting or transmission electronically, without prior written consent of TIBCO Software Inc. Copyright protection includes content in the material generated from software programs displayed on the screen, such as icons, screen displays, and the like. Trademarks and Patents All brand and product names are trademarks or registered trademarks of their respective holders and are hereby acknowledged. Technologies described herein may be covered by existing U.S. patents or U.S. patent applications that are in progress. Please consult the software product user documentation for details regarding applicable patents. Confidentiality Information contained in this material is confidential and proprietary to TIBCO Software Inc. and its affiliates and may not be modified, copied, published, disclosed, distributed, displayed or exhibited, in either electronic or printed formats without written authorization of an officer of TIBCO Software Inc. Content Warranty The information in this document is subject to change without notice. THIS DOCUMENT IS PROVIDED "AS IS" AND TIBCO MAKES NO WARRANTY, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO ALL WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. TIBCO Software Inc. shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance or use of this material. Export This material and related technical data are subject to U.S. export control laws, including without limitation the U.S. Export Administration Act and its associated regulations, and may be subject to export or import regulations of other countries. You agree not to export or re-export this material in any form in violation of the applicable export or import laws of any jurisdiction.
Contents
Introduction................................................1 Identifying Tools.........................................31 Providing Access.........................................58 Creating the Model......................................74 Administering the Library............................125
Course Contents
Overview
Identifying Tools
A Visual Introduction
Providing Access
Course Contents
Overview
Identifying Tools
Providing Access
Course Contents
Overview
Identifying Tools
Licenses Permissions
Providing Access
Exercises
Course Contents
Overview
Identifying Tools
Providing Access
Course Contents
Introduction
Identifying Tools
Import Export
Providing Access
We will touch on these three services only in the context of their use with Information Services
User Services
Information Services provides the means by which your end users can access the data without knowing the underlying schema or databases.
Information Services
Information Services
Information Model
Spotfire Information Model is a logical structure that allows one to map a variety of data sources into a virtualized data layer.
Information Model
Information Link
A Spotfire Information Link is the core component of the Information Model defining a structured and reusable query for one or more databases to return information used for analysis.
Information Link
Element
Elements are the building blocks that dictate the characteristics of your Information Link and the information it returns.
Elements
Elements are:
Columns Filters Procedures Joins Prompt options
Data Sources
Data Sources are actual connections to the backend database systems that are needed to create Elements and ultimately Information Links.
Data Sources
Data
Elements
Information Links
The Information Model Life Cycle is a process of building and maintaining the Information Model by individuals with the appropriate permissions and licenses in Spotfire.
2. Set Permissions
Roles
Roles
Administrator
Has all required control Assigns access to others
Roles
A Visual Introduction
Spotfire Platform
Spotfire Professional Spotfire Web Player TIBCO Spotfire Statistics Services HTTP(S)
LDAP(S)
JDBC
Spotfire Server
Spotfire Database
Spotfire Automation Services
TIBCO Software Inc.
Data Sources
Spotfire Platform
Spotfire Professional Spotfire Web Player TIBCO Spotfire Statistics Services SOAP over HTTP(S) Spotfire Web Player Server HTTP(S)
LDAP(S)
Spotfire Server
Spotfire Database
Spotfire Automation Services
TIBCO Software Inc.
Data Sources
More Information
Course Contents
Overview
Identifying Tools
Providing Access
Administration Manager
Administration Manager
Users Tab
Administration Manager
Administration Manager
Getting Help
Library Administration
Library Administration
Library Administration
Getting Help
Information Designer
Information Designer
Information Designer
Getting Help
Configuration Console
Configuration Console
Defaults
Configuration Console
Configuration Console
Getting Help
Administration Console
Administration Console
The primary use for the Administration Console is managing deployments. That topic is covered in another course.
Administration Console
Note: Most user and group assignments are made through the Administration Manager
Administration Console
Adding a User
Administration Console
Administration Console
Administration Console
Getting Help
SQL Log
Getting Help
Course Contents
Overview
Identifying Tools
Licenses Permissions
Providing Access
Exercises
Licenses
Licenses
Specify the Functionality a User Gets in the Spotfire Clients Control Many Spotfire Client Features
Enable and disable individual features
Licenses
Apply Settings
At the group level Through inheritance
This image shows a group license granting access to Web Player and Enterprise Player features only
Licenses
Licenses: Categories
TIBCO Spotfire Web Player
The license for TIBCO Spotfire Web Player. Contains the functionality needed for users to run the TIBCO Spotfire Enterprise Player. It enables features such as Saving files, Opening files from the Library, and Opening linked data. (For technical reasons, it is also needed for users running TIBCO Spotfire Web Player.) The main license for users running the full TIBCO Spotfire client. It is vital that any user that has the TIBCO Spotfire Professional license also gets the TIBCO Spotfire Enterprise Player license. Provides additional calculation tools. Enables users to view and use custom extensions that might be added by developers at your company. Exposes tools and grants permissions to edit database connections for information links. Provides access to the Administration Manager and the Library Administration tool.
Permissions
Permissions
Permissions
Permissions
Description
Users can access files but cannot browse the content Users can browse and access files but are not allowed to modify or save them Users can browse and access files, as well as modify existing files and save new files. Users can create new sub-folders also. Users can browse and access files, as well as modify existing files and save new files. Users can create new sub-folders also. Users can change permissions on folder and content
Browse + Access
Full Control
Permissions In Practice
Information Model
Permissions inherited Browse+Access: Acme All Browse+Access+Modify: Acme Sales Full Control: Acme Admin
Sales
Permissions inherited
Analysis Files
Browse+Access: Acme All Full Control: Acme Admin Browse+Access Acme All Browse+Access+Modify: Acme Marketing Full Control: Acme Admin
Acme
Marketing
Information Model
Permissions inherited
Permissions inherited
Analysis Files
R&D
Information Model
Permissions inherited
Permissions inherited
Unit A
Permissions inherited
Analysis Files
Information Links
Information Links that Include Elements from Multiple Folders Require Read Permissions to ALL Folders Containing those Elements
Exercises
Exercise
Course Contents
Overview
Identifying Tools
Providing Access
Data Sources
Configure Information Services to Access Data from ANSI SQL-92 Compliant Data Sources
Requires JDBC driver
Note:
Certain features of Information Services might not work with all data sources and all JDBC drivers
Procedures Joins Prompting with certain data types
Might need to use JDBC SPI to translate calls to the JDBC driver
Basic Architecture
JDBC Driver
Data Source
Spotfire Server
1. Ensure the JDBC driver corresponding to the Database Server is in
<install dir>/tomcat/webapps/spotfire/ WEB-INF/lib
2. Enable the Data Source Template using the Spotfire Configuration Console 3. Restart the Spotfire Server from the Configuration Console
2. Open the Spotfire Configuration Console http://<host>:<port>/config 3. Select the Data Source Templates tab 4. Click Edit and Add the desired data source 5. Save changes and restart all Spotfire servers from the Configuration Console
Click
TIBCO Software Inc.
Column Element
Column Element
A Column Element Maps to an Actual Database Column Each Column Element is a Specific Data Type
Integer String Real Date DateTime Time CLOB (character large object) BLOB (binary large object)
Highlight the column from the data source tree and click Add
Highlight the column from the data source tree and click Add
Much Faster than Mapping each Column No Aggregations, Filtering, or Grouping can be Applied
Filter Element
Filter Element
A Filter Removes Rows from the Data before Loading Corresponds to the WHERE Clause in SQL Supports Using the Following Operators
Filter Element
Check for Single Quotes Around Text in the Statements To Combine Multiple Conditions, use the AND or OR Operators Filter Elements are Reusable between Queries
%1>20 AND %2<100000 In this case, consider that %1 is an alias for an age column, and %2 is an alias for an income column This filter might represent people over 20 with an income less than $100,000
Highlight the column from the data source tree and click Add
Procedure Element
Procedure Element
Procedure Elements
A set of SQL statements that can be stored in the database You can select pre-made database procedures and configure these to be accessible in Information Links Retrieve or manipulate data when an Information Link is accessed
In Information Designer
You select a database procedure from your available data sources, and define which input parameters that the procedure should prompt for and any potential resulting columns and joins
TIBCO Software Inc.
Procedure Element
3 Kinds of Procedures
Pre-update procedure Performs an operation on database(s). Does not return any data. Executed before Query procedure Query procedure Returns data Post-update procedure - Performs an operation on database(s). Does not return any data. Executed after Query procedure
Join Element
Join Element
Join Elements
Allow temporary tables in data source for better peformance Combine data from two or more tables
Tables are joined via physical columns Joins used when Information Links are retrieved If no direct join is found, Information Services will try to find connecting joins
Key Relationship
A
TIBCO Software Inc.
Inner Join
Returns all records in Table 1 with corresponding record in Table 2 using a common key field
Freehand
Allows you to create more complex join operators using linking tables
The target tables have to be defined
Employees
Orders
Name
SELECT Employees.Name, Orders.Product FROM Employees INNER JOIN Orders ON Employees.EmpID = Orders.EmpID
Employees
Orders
Product Printer
Jane Doe Sven Svendon Sven Svendon Hannah Erickson Table Chair
Employees
Orders
Name
SELECT Employees.Name, Orders.Product FROM Employees RIGHT JOIN Orders ON Employees.EmpID = Orders.EmpID
Table 1
Table 2
Name John SalaryCat 1 1 2 3
Table 3
Number 1 2 3 4 Address Boston Los Angeles Gothenburg Gothenburg
Information Link
1.
2.
3.
4.
5.
Filtering
Hard Filters
Defined under Filters section Saved with the Information Link and cannot be used with other links Specify a range or list of values
Prompts
Defined under Prompts section Prompts user for filter values as each column is retrieved Specify a range, value, single selection or multiple selection Specify whether mandatory or optional
Hard Filter
Prompts
What
Configure existing analysis files when opened
How
Pass configuration blocks into an Open method call available via the API only
Where
Spotfire Professional and Spotfire Web Player
Why
To provide data or information based on user selections
Parameters can be defined in the Information Model and passed in programmatically through the clients Parameters can be set in the following ways
Element Type Column Parameter Column Calculation Aggregate Column Calculation Filter Condition Filter Condition Input Parameter Value Static Filter Edited SQL (all types) Open Session Commands Close Session Commands
More details in SP152 TIBCO Spotfire Data Access (to come) SP2xx developer courses address API topics
TIBCO Software Inc.
Alternatively, Create the Default Information Model from a Given Data Source
Exercises
Exercise
Course Contents
Introduction
Identifying Tools
Import Export
Providing Access
Library Administration
Full Control of the Library Requires Membership in the Library Administrator group
Exclusive rights to create, delete, and change permissions in top level folders
Library Import
Library Import
Import Options
Library Administration tool
Specify whether to include the librarys permissions (set by default) Specify whether to import only selected items or all items (set by default) Determine how to address conflicts with folder names or GUIDs
Automatically assign new names or GUIDs (set by default) Replace an existing folder Keep an existing folder
For an in-depth illustration of conflict resolution, see How Are Conflicts Resolved? in the TIBCO Spotfire Users Guide.
Importing Considerations
Before: Make a Backup During: No Access to the Library Import Must Be Zip Archives Single Analysis: Shared Disk Location (Configuration Console)
Library Export
Library Export
Considerations
Use to Move or Copy Individual Items, Groups of Items, or Folders Between Libraries Review Permissions Before Moving or Copying
For moving, requires Browse + Access + Modify permissions for both source and target folders For copying, requires Browse + Access permissions for the origin and Browse + Access + Modify permissions for the target folder
If you move or copy a folder, you must have this access for it and all of its subfolders
Considerations
Exercises