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}. |
static class |
IntoMongoDbOptionMixin.WriteConcern |
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 |
getAuthenticationDatabaseName() |
java.lang.String |
getCollectionName() |
java.lang.String |
getDatabaseName() |
java.lang.String |
getHost() |
java.lang.String |
getPassword() |
int |
getPort() |
java.lang.String |
getUsername() |
IntoMongoDbOptionMixin.WriteConcern |
getWriteConcern() |
void |
setAuthenticationDatabaseName(java.lang.String authenticationDatabaseName) |
void |
setCollectionName(java.lang.String collectionName) |
void |
setDatabaseName(java.lang.String databaseName) |
void |
setHost(java.lang.String host) |
void |
setPassword(java.lang.String password) |
void |
setPort(int port) |
void |
setUsername(java.lang.String username) |
void |
setWriteConcern(IntoMongoDbOptionMixin.WriteConcern writeConcern) |
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 void setPassword(java.lang.String password)
public void setUsername(java.lang.String username)
public void setAuthenticationDatabaseName(java.lang.String authenticationDatabaseName)
public void setWriteConcern(IntoMongoDbOptionMixin.WriteConcern writeConcern)
public java.lang.String getPassword()
public java.lang.String getUsername()
public java.lang.String getAuthenticationDatabaseName()
@NotNull public IntoMongoDbOptionMixin.WriteConcern getWriteConcern()
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()