Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Use the stream attributes properties tab to specify the characteristics of the the data in a table column.  

...

FieldDescription
Indexed

Insert excerpt
_check_box_ticked
_check_box_ticked
nopaneltrue
 to index this attribute in the underlying database.

To improve performance, index an attribute when the stream has a large data set and an output pipe from the stream uses this attribute to:

  • filter the stream data
  • sort or group the stream data.
Filter conditions are
case-independent by default

Insert excerpt
_check_box_ticked
_check_box_ticked
nopaneltrue
 to set new filter conditions on this attribute to be case-insensitive by default. The filter window → Ignore Case check box inherits this setting; see Filters on Data Views. For case-insensitive filters, there is no difference if the attribute is also indexed. 

Note
This option affects the behaviour of filters for PhixFlow instances running on Oracle or MariaDB (MySQL) databases.
For PhixFlow instances running on a SQL Server database, filters are always case-independent.


Key

Insert excerpt
_check_box_ticked
_check_box_ticked
nopaneltrue
 for in-memory streams, to specify that this field will be used as a key value. 

Cache Key

Enter an expression to be evaluated for each stream item (data record) in the stream. The expression can:

  • either use the value of this attribute
  •  or calculate a different value

Once calculated, the cache key value persists throughout subsequent stream calculation, rather than being created from scratch for each stream item as normal. This allows you to keep track of the calculation as it progresses.

This means you can use a "persistent" attribute value in other expressions. CHECK THIS

Access Permissions

FieldDescription
All Users Can View Data
Insert excerpt
_check_box_ticked
to do
_check_box_ticked
nopaneltrue
 to allow all users to view the data in this stream attribute.
User Groups

to doThis grid is available if All Users Can View Data is not ticked.

Anchor
attributes
attributes
Attribute Types

Apply aAll stream attributes have a type. The default is string.

Once the stream has data, the attribute type can only be changed if the database allows the change. this is database dependent. You will see an error if your change is not allowed. If the stream has no data then any change in attribute type is possible.

String

Apply a string type to sequences of characters, such as letters, numerals, symbols and punctuation marks. By default string attribute types have a default length of 50. However you can configure a minimum length of 1 and a maximum length of 4000.

Anchor
Bigstring
Bigstring
Bigstring

...

The maximum bigstring size can be configured in System Configuration → System Tuning → Maximum Bigstring Size.

Integer

Apply an integer type to whole numbers (not a fractions or decimals) that can be positive, negative, or zero. The number of digits in an integer indicates its precision.

  • The default precision is 10 digits
  • The minimum precision is 1 digit
  • The maximum precision is 38

...