Adapters Supplied by Sybase CEP

This section describes the built-in input adapters and output adapters provided by Sybase CEP.

Below is a table that lists the adapters and the adapter "types". You'll need to know the adapter type if you use an ATTACH ADAPTER statement, for example,

ATTACH INPUT ADAPTER Adapter1
 TYPE ReadFromCsvFileAdapterType
 ...

In the preceding statement, the type "ReadFromCsvFileAdapterType" is the adapter type for the Read From CSV File adapter.

This table also contains links to the first page describing each adapter.

Note that only in-process adapters can be attached with the ATTACH ADAPTER statement, so only in-process adapters have an adapter type. In the tables below, out-of-process adapters have "N / A" as their adapter type.

Adapter Data Type

Read / Write

Adapter Type (used in ATTACH ADAPTER statement)

Atom

Atom Reader

N / A

AtomReaderAdapterType

N / A

Binary file

Read from binary file

Write to binary file

ReadFromBinaryFileAdapterType

WriteToBinaryFileAdapterType

Comma-Separated Values (CSV) File

Read from CSV (Comma-Separated Value) File

Write to CSV (Comma-Separated Value) File

ReadFromCsvFileAdapterType

WriteToCsvFileAdapterType

Comma-Separated Values (CSV) Socket

Read from CSV (Comma-Separated Value) Socket

Write to CSV (Comma-Separated Value) Socket

ReadFromCsvSocketAdapterType

WriteToCsvSocketAdapterType

Database: Poll From Database (see also JDBC)

Poll From Database

Write to database

ReadFromDBAdapterType

WriteToDBAdapterType

Database: Read From Database (see also Database, JDBC)

Read From Database

N / A

ReadFromDatabaseAdapterType

N / A

Email: Send Email Out (SMTP)

N / A

Send Email Out (SMTP)

N / A

OpenSourceEmailAdapterType

Email: Java Send Mail

N / A

Java Send Mail

N / A

N / A

Ganglia

Ganglia Reader

N / A

GangliaReaderAdapterType

N / A

Java Messaging Service (JMS)

JMS Adapter

N / A

N / A

N / A

JDBC (see also Database)

JDBC Input

JDBC Output

N / A

N / A

Random Tuples Generator

Random Tupless Generator

N / A

RandomTuplesGeneratorAdapterType

N / A

RAP - The Trading Edition

RAP Send

N / A

PublishToRAPAdapterType

N / A

Regular Expression File

Read from Regular Expression File

N / A

ReadFromRegexFileAdapterType

N / A

Regular Expression Socket

Read from Regular Expression Socket

N / A

ReadFromRegexSocketAdapterType

N / A

RSS

RSS reader

N / A

RssReaderAdapterType

N / A

SNMP

SNMP Set

N / A

SNMPGetAdapterType

SNMPGetAdapterType

SNMP V1 Trap

N / A

SNMP Send V1 Trap

N / A

SNMPV1SendTrapAdapterType

SNMP V2 Trap

N / A

SNMP Send V2c Trap

N / A

SNMPV2SendTrapAdapterType

Sybase RAP

N / A

Sybase RAP

N / A

N / A

Windows Event Logger

Windows Event Logger

N / A

N / A

N / A

XML File

Read from XML File

Write to XML File

ReadFromXmlFileAdapterType

WriteToXmlFileAdapterType

XML Socket

Read from XML Socket

Write to XML Socket

ReadFromXmlSocketAdapterType

WriteToXmlSocketAdapterType

XML over HTTP

N / A

Write XML Over HTTP

N / A

WriteXmlOverHttpAdapterType

Adapter

Adapter Type (used in ATTACH ADAPTER statement)

Atom Reader

AtomReaderAdapterType

Binary: Read from binary file

ReadFromBinaryFileAdapterType

Comma-Separated Values (CSV): Read from CSV File

ReadFromCsvFileAdapterType

Comma-Separated Values (CSV): Read from CSV Socket

ReadFromCsvSocketAdapterType

Database: Poll From Database adapter

ReadFromDBAdapterType

Database: Read From Database adapter

ReadFromDatabaseAdapterType

Ganglia Reader

GangliaReaderAdapterType

JDBC Input

N / A

JMS Input Adapter

N / A

Random Tuples Generator

RandomTuplesGeneratorAdapterType

RAP - The Trading Edition

PublishToRAPAdapterType

Regular Expressions: Read from Regular Expression File

ReadFromRegexFileAdapterType

Regular Expressions: Read from Regular Expression Socket

ReadFromRegexSocketAdapterType

RSS reader

RssReaderAdapterType

SNMP Set

SNMPGetAdapterType

Windows Event Logger

N / A

XML: Read from XML file

ReadFromXmlFileAdapterType

Adapter

Adapter Type (used in ATTACH ADAPTER statement)

Binary: Write to binary file

WriteToBinaryFileAdapterType

Comma-Separated Values (CSV): Write to CSV File

WriteToCsvFileAdapterType

Comma-Separated Values (CSV): Write to CSV Socket

WriteToCsvSocketAdapterType

Database: Write to database

WriteToDBAdapterType

Email: Java Send Mail

N / A

Email: Send Email Out (SMTP)

OpenSourceEmailAdapterType

JDBC Output

N / A

JMS Output Adapter

N / A

SNMP Set

SNMPGetAdapterType

SNMP Send V1 Trap

SNMPV1SendTrapAdapterType

SNMP Send V2c Trap

SNMPV2SendTrapAdapterType

XML: Write to XML file

WriteToXmlFileAdapterType

XML: Write XML Over HTTP

WriteXmlOverHttpAdapterType

Adapter Properties

Almost all in-process adapters have properties that you can set. In Studio, these properties are displayed in, and can be edited in, the adapter's Properties View after you attach the adapter to a stream. Each of these properties is described in the adapter's .adl file. Inside the .adl file, each property is referred to as a "parameter". When discussing adapter properties, we sometimes use the words "property" and "parameter" interchangeably, but we will generally favor the term "property" since that is the term shown in Studio and in the ATTACH ADAPTER statement.

For example, in the Read From CSV File adapter, one of the properties that you must set is the name of the file to read from. For each adapter, we include a table that lists the properties for that table. In general, each table contains four columns:

In many cases, the property's screen name and Attach Adapter name are the same.