InterSystems IRIS Experience

Syndicate content 21 

Hi,

I know of the existance of (ELEMENTS) to create an index from a list, but I actually would like to index the content of an element of a list. Is it possible?

 

My scenario:

Class:
Property Test As list of TestList;
 

Test.List:
Property Name As %String;
Property Surname As %String;

I would like to have an  index based on the TestList.Name. If I try using

Index NewIndex On Test(ELEMENTS)

it will create an index with Name and Surname in it, but I just want to have an index with the name. Is it possible? 

Last answer 26 February 2019 Last comment 26 February 2019
1 2
51

views

0

rating

WebSockets as a communication technology wins increasing importance.
In the SAMPLES namespace, you find a nice example for running a WebSocket Server.
There is also a useful example for a Browser Client. JavaScript does most of the work. 

My point is:
How to consume the output of a WebSocket Server in your application?

0 0
0

comments

86

views

+ 7

rating

Hi All,

I created a Business Operation to Integrate with Amazon S3.
I have used HTTP Outbound Adapter for the same. Used Get method of Adapter Class.
Basically in a request I want to send Unique File Name and File and in Response I want to get Version ID and if operation was successful, then set flag to true.

I have created a class for request in that I have two properties, as shown Below :
   

    Property fileName As %String;
    Property file As %GlobalBinaryStream;

This is in my Operation Class
 

            set pResponse = ##Class(SaveFileResponse).%New()
            set fileName = pRequest.fileName
            set file = pRequest.fil

Last comment 4 February 2019
0 2
0

answers

138

views

0

rating

Hi guys,

I have a customer trying to extract data from Hive. I've tried to use Data migration to migrate a table into IRIS with JDBC driver. But the migration task always fails as below

Then I tried to create a link table, the task fails too with the following error:

I've tried several ID combinations such as rowkey+userid, userid + datatime, the results are all errors caused by stream property. 

The source table are composed of only Hive string fields.I wonder how may I migrate Hive tables into IRIS. Thanks.

Last answer 4 January 2019 Last comment 11 January 2019
0 1
84

views

0

rating

The question has come up several times and I saw mixed answers and no quick example

My personal preference is using CPIPE device as you get back exactly the output you will get at the command line interface of your OS .
The tricky thing is to stop reading in time.
The example just displays what you normally see in your console.
it becomes useful if you look for things that you can't get from any $system.whatever()

e.g.
- your servers IP address or addresses depending on your configuration.  
- pinging any other server to see if it is still visible on the network
- running nslookup 

it is simply this

Last comment 18 December 2018
4 1
416

views

+ 8

rating

Hi all. We are going to find duplicates in a dataset using Apache Spark Machine Learning algorithms.

Note: I have done the following on Ubuntu 18.04, Python 3.6.5, Zeppelin 0.8.0, Spark 2.1.1

Introduction

In previous articles we have done the following

0 1
0

comments

140

views

0

rating

So far, dozens of people have started the InterSystems IRIS Experience – we want to hear from you! How are you enjoying the Experience so far? Do you have any suggestions for future challenges or datasets you’d like to see? This is a space for you to interact with both InterSystems staff and your peers about the InterSystems IRIS Experience, so let us know what you think! 

Last comment 16 May 2018
0 6
0

answers

212

views

+ 1

rating

If you have worked with Caché Objects,
You know already all about Relationships (one:many , parent:child) ...
But you will not find a word on many:many relationships in the docs.

But I met the question quite often from new adopters of Caché objects:
"Is it possible to implement many:many relationships ?" YES - of course !

HowTo depends on the related tasks: There is a heavy and a lightweight solution.
Both have in common that they are not just out of the box and you have
to add some code to manage it.

Let's take an example based on SAMPLES namespace:

we have the case of an N:1 relationship

But how do you handle Employees with more than 1 Company

Last comment 28 February 2018
0 8
421

views

+ 6

rating

As IRIS was announced yesterday by Paul Grabscheid I would be highly interested to get in touch with it.

- How can we get qualified for a closer view ? 
- Where can we get some (preliminary) description + documentation.
- Is there any FT available ?

 I'm especially interested in the areas around included/embedded/attached JVM and SPARK .

 

 

Last answer 12 September 2017 Last comment 12 September 2017
1 5
480

views

+ 7

rating

A recent discussion made me aware that the documentation on DataType classes is excellent.
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...

I just miss the visualization of the methods for Data Format Conversions.

LogicalToDisplay() / DisplayToLogical()
LogicalToOdbc()    / OdbcToLogical()
LogicalToStorage() / StorageToLogical()
LogicalToXSD()     / XSDToLogical()


Graphic makes it much easier to understand for anyone beginning with Caché objects.



 

0 6
0

comments

170

views

+ 8

rating