public abstract class IntoMongoDbOptionMixin
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IntoMongoDbOptionMixin.Job
Has
collectionName default to ${xd.job.name}. |
static class |
IntoMongoDbOptionMixin.Stream
Has
collectionName default to ${xd.stream.name}. |
Modifier | Constructor and Description |
---|---|
protected |
IntoMongoDbOptionMixin(java.lang.String collectionName)
Subclasses should provide a default value for collectionName.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionName() |
java.lang.String |
getDatabaseName() |
java.lang.String |
getHost() |
int |
getPort() |
void |
setCollectionName(java.lang.String collectionName) |
void |
setDatabaseName(java.lang.String databaseName) |
void |
setHost(java.lang.String host) |
void |
setPort(int port) |
protected IntoMongoDbOptionMixin(java.lang.String collectionName)
public void setCollectionName(java.lang.String collectionName)
public void setDatabaseName(java.lang.String databaseName)
public void setHost(java.lang.String host)
public void setPort(int port)
public java.lang.String getCollectionName()
@NotBlank public java.lang.String getDatabaseName()
@NotBlank public java.lang.String getHost()
@Range(min=0L, max=65535L) public int getPort()