rest

Class StreamingAnalyticsConnectionSample

  • java.lang.Object
    • rest.StreamingAnalyticsConnectionSample


  • public class StreamingAnalyticsConnectionSample
    extends java.lang.Object
    Sample code to show how to access a Streaming Analytics Instance through the REST Api

    The example connects to the streams instance and gets a list of resources. The objects printed out include all the fields known in the JSON object per the REST api however, the classes may not have accessors for all objects.

    The following arguments are required for the sample:

    • credentials (as an absolute file path, or JSON string)
    • serviceName identifying the credentials to use in the file

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
streamsx.topology @ IBMStreams GitHub