Skip to end of metadata
Go to start of metadata

Author

Boris Capitanu

Creation date

06/06/2011

Firing policy

any

Package

org.seasr.meandre.components.tools.db

DESCRIPTION

This component retrieves persisted data from a database

INPUTS

Name

Description

Example

password
The password
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings
TYPE: byte[]
TYPE: org.seasr.datatypes.BasicDataTypes.Bytes
TYPE: java.lang.Object

 

username
The user name to authenticate to the DB server
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings
TYPE: byte[]
TYPE: org.seasr.datatypes.BasicDataTypes.Bytes
TYPE: java.lang.Object

 

id
Identifier for the persisted data
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

OUTPUTS

Name

Description

Example

data
The persisted data

 

error
This port is used to output any unhandled errors encountered during the execution of this component

 

PROPERTIES

Name

Description

Default value

_debug_level
Controls the verbosity of debug messages printed by the component during execution.
Possible values are: off, severe, warning, info, config, fine, finer, finest, all
Append ',mirror' to any of the values above to mirror that output to the server logs.
info
db_driver
jdbc driver to be loaded, jar must be in classpath
com.mysql.jdbc.Driver
db_table
The table name where the persisted data is stored
_stream_id
Defines the stream id used to identify a particular stream of data
db_url
The url of the database connection. (example: jdbc:mysql://localhost/myDB)
jdbc:mysql://
_ignore_errors
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component
false
Write a comment…