Publishing to a stream in Java

This section provides an example that demonstrates how to publish to a stream in Java.

Name

Example_02_PublishingDataToAStream

Description

This example demonstrates the steps to take data from an outside source and publish it to a stream feeding a query module. necessary to publish data to a stream. This is a typical activity when writing an input adapter.

Notable Classes and Methods

Publisher

engineClient.createPublisher(cclUriOfInputStream)

publisher.publishRow(point)

publisher.disconnect()

Related Information

For more information about streams, see Data Stream. For more information about adapters, see Adapters.