Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.dataconnection |
This package contains code handling data connections.
|
com.hazelcast.jet.kafka |
Apache Kafka reader/writer support for Hazelcast Jet.
|
com.hazelcast.jet.mongodb.dataconnection |
Contains classes related to Mongo DB Data Connection.
|
Modifier and Type | Method and Description |
---|---|
DataConnectionConfig |
Config.findDataConnectionConfig(String name)
Returns a read-only
DataConnectionConfig
configuration for the given name. |
DataConnectionConfig |
Config.getDataConnectionConfig(String name)
Returns the data connection configuration for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
DataConnectionConfig |
DataConnectionConfig.setName(String name)
Sets the name of this data connection, the name must be unique.
|
DataConnectionConfig |
DataConnectionConfig.setProperties(Properties properties)
Sets the properties of a data connection.
|
DataConnectionConfig |
DataConnectionConfig.setProperty(String key,
String value)
Sets a single property.
|
DataConnectionConfig |
DataConnectionConfig.setShared(boolean shared)
true if an instance of the data connection will be reused. |
DataConnectionConfig |
DataConnectionConfig.setType(String type)
Sets the type of the
DataConnection |
Modifier and Type | Method and Description |
---|---|
Map<String,DataConnectionConfig> |
Config.getDataConnectionConfigs()
Returns the map of data connection configurations, mapped by config name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addDataConnectionConfig(DataConnectionConfig dataConnectionConfig)
Adds a data connection configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setDataConnectionConfigs(Map<String,DataConnectionConfig> dataConnectionConfigs)
Sets the map of data connection configurations, mapped by config name.
|
Constructor and Description |
---|
DataConnectionConfig(DataConnectionConfig config) |
Modifier and Type | Method and Description |
---|---|
DataConnectionConfig |
DataConnectionBase.getConfig() |
DataConnectionConfig |
DataConnection.getConfig()
Returns the configuration of this DataConnection.
|
Constructor and Description |
---|
DataConnectionBase(DataConnectionConfig config) |
HazelcastDataConnection(DataConnectionConfig dataConnectionConfig) |
Constructor and Description |
---|
KafkaDataConnection(DataConnectionConfig config)
Create
KafkaDataConnection based on given config |
Modifier and Type | Method and Description |
---|---|
static DataConnectionConfig |
MongoDataConnection.mongoDataConnectionConf(String name,
String connectionString)
Helper method to create new
MongoDataConnection with given name and connection string. |
Constructor and Description |
---|
MongoDataConnection(DataConnectionConfig config)
Creates a new data connection based on given config.
|
Copyright © 2024 Hazelcast, Inc.. All rights reserved.