Connector for Spotfire® Data Streams – Features and settings
You can connect to and access streaming data with the connector for Spotfire® Data Streams. On this page, you can find information about the capabilities, available settings, and things to keep in mind when you work with data connections to Spotfire Data Streams.
Page content
Connector features
The following functionality is available when you access data with the connector for Spotfire Data Streams.
| Feature | Supported? |
|---|---|
| Load methods |
|
| Custom queries | No |
| Stored procedures | No |
| Custom connection properties | No |
| Single sign-on with identity provider | No |
| Authoring in web client | No |
| Included in Spotfire distribution on Linux | Yes |
Data source properties
The following are the supported data source properties that you can configure when you create a data connection with the connector for Spotfire Data Streams.
| Option | Description |
|---|---|
| Server or stream URL | The Spotfire Data Streams server or the
specific data stream that you want to connect to. This can either be a server,
a server address, or a URL to a data stream on TIBCO Cloud.
When you enter a server URL, you can specify a port number.
Add it directly after the server name preceded by colon. For example:
If you do not specify a port number, the default port number
10080 will be used. When you enter a URL to a data stream, you must provide the
URL to the specific data stream on TIBCO Cloud. For example:
|
| Authentication mode | The authentication method to use when
logging in to the Spotfire Data Streams server or TIBCO Cloud Data Streams.
|
| Use TLS/SSL | Select this check box to use TLS/SSL encryption when connecting to the Spotfire Data Streams server. |
| Use compression | Select this check box to use data
compression in the connection.
Your selection for the Use compression option can have an impact on the connection performance. This might depend on, for example, if the Spotfire Data Streams server is located on your local network or far away. Note: By default, the
Use compression check box is selected.
|
Supported data types
When you are setting up a connection to an external data source, Spotfire needs to map the data types in the data source to data types in Spotfire. The following are the data types that the Spotfire Data Streams connector supports.
| Database data type | Spotfire data type |
|---|---|
| blob | Binary |
| bool | Boolean |
| timestamp | DateTime or TimeSpan
The timestamp data type in Spotfire Data Streams can represent either an absolute timestamp, or an interval of time. Columns with timestamp data should be mapped to either the Spotfire data type DateTime or TimeSpan accordingly. Absolute timestamp data = DateTime Time interval data = TimeSpan By default, timestamp columns map to the DateTime data type
in Spotfire. You must manually change the type mapping for timestamp columns
with time interval type data to TimeSpan, when you create the connection. If
such columns are mapped as DateTime, the data in the column will not load
correctly.
Note: Timestamp columns that contain both absolute timestamp
data and time interval data cannot be loaded.
|
| int | Integer |
| long | LongInteger |
| double | Real |
| string | String |
Supported functions
Supported functions are the functions that you can use when you work with in-database data tables, for example for calculated columns and custom expressions.
The following are the functions that the Spotfire Data Streams connector supports.
| Function type | Functions supported |
|---|---|
| Date and Time | DayOfMonth,
DayOfWeek,
Hour,
Minute,
Month,
Second,
Year,
date,
days,
epoch,
format_time,
from_gmtime,
from_localtime,
from_unixtime,
get_day_of_month,
get_day_of_week,
get_day_of_year,
get_hour,
get_millisecond,
get_minute,
get_month,
get_second,
get_year,
hours,
milliseconds,
minutes,
now,
parse_time,
seconds,
set_day_of_month,
set_day_of_week,
set_hour,
set_minute,
set_month,
set_second,
set_year,
strftime,
strpinterval,
strptime,
time,
this_month,
timezoneoffset,
to_milliseconds,
to_seconds,
today,
today_utc,
weeks,
yesterday
|
| Conversion | Boolean,
DateTime,
Integer,
LongInteger,
Real,
String,
TimeSpan
|
| Math | abs,
acos,
asin,
atan, atan2,
bitand,
bitnot,
bitor,
bitxor,
black_scholes,
cbrt,
ceil,
choose,
compound_interest,
cos,
cosh,
exp, expm1,
factorial,
floor,
gaussianrandom,
isnan,
ln, log10, log1p,
lshift,
notnan,
permute,
pow,
random,
round,
rshift,
sign,
sin,
sinh,
sqrt,
tan,
tanh,
to_degrees,
to_radius,
unsignedshift
|
| Operators | +, -, *, /, % |
| Statistical | avg,
avgif,
correlation_coefficient,
correlation_coefficientp,
count,
count_distinct,
countif,
countlong,
covariance,
covariancep,
firstnonnullval,
firstval,
intercept,
lastnonnullval,
lastval,
max,
min,
percentile,
product,
slope,
stdev,
stdevp,
sum,
sumif,
variance,
variancep,
vwap,
withmax,
withmin
|
| Text | contains,
endswith,
indexof,
isempty,
lastindexof,
lower,
ltrim,
randomstring,
regexmatch,
regexmatch_ignorecase,
regexplace,
replace,
rtrim,
startswith,
strlen,
strresizetrunc,
substr,
upper
|
| Utility | coalesce,
great_circle_distance,
hash,
isnull,
jsonpath,
length, md5,
notnull,
uuid
|