PostgreSqlOutputDataSource Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. OutputDataSource - com.
azure. resourcemanager. streamanalytics. models. PostgreSqlOutputDataSource
- com.
- com.
public final class PostgreSqlOutputDataSource
extends OutputDataSource
Describes a PostgreSQL output data source.
Constructor Summary
| Constructor | Description |
|---|---|
| PostgreSqlOutputDataSource() |
Creates an instance of Postgre |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Authentication |
authenticationMode()
Get the authentication |
| String |
database()
Get the database property: The name of the Azure SQL database. |
|
static
Postgre |
fromJson(JsonReader jsonReader)
Reads an instance of Postgre |
| Float |
maxWriterCount()
Get the max |
| String |
password()
Get the password property: The password that will be used to connect to the Azure SQL database. |
| String |
server()
Get the server property: The name of the SQL server containing the Azure SQL database. |
| String |
table()
Get the table property: The name of the table in the Azure SQL database. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Indicates the type of data source output will be written to. |
| String |
user()
Get the user property: The user name that will be used to connect to the Azure SQL database. |
| void |
validate()
Validates the instance. |
|
Postgre |
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authentication |
|
Postgre |
withDatabase(String database)
Set the database property: The name of the Azure SQL database. |
|
Postgre |
withMaxWriterCount(Float maxWriterCount)
Set the max |
|
Postgre |
withPassword(String password)
Set the password property: The password that will be used to connect to the Azure SQL database. |
|
Postgre |
withServer(String server)
Set the server property: The name of the SQL server containing the Azure SQL database. |
|
Postgre |
withTable(String table)
Set the table property: The name of the table in the Azure SQL database. |
|
Postgre |
withUser(String user)
Set the user property: The user name that will be used to connect to the Azure SQL database. |
Methods inherited from OutputDataSource
Methods inherited from java.lang.Object
Constructor Details
PostgreSqlOutputDataSource
public PostgreSqlOutputDataSource()
Creates an instance of PostgreSqlOutputDataSource class.
Method Details
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.
Returns:
database
public String database()
Get the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
fromJson
public static PostgreSqlOutputDataSource fromJson(JsonReader jsonReader)
Reads an instance of PostgreSqlOutputDataSource from the JsonReader.
Parameters:
Returns:
Throws:
maxWriterCount
public Float maxWriterCount()
Get the maxWriterCount property: Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests.
Returns:
password
public String password()
Get the password property: The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
server
public String server()
Get the server property: The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
table
public String table()
Get the table property: The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PostgreSqlOutputDataSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
Overrides:
PostgreSqlOutputDataSource.type()Returns:
user
public String user()
Get the user property: The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
PostgreSqlOutputDataSource.validate()withAuthenticationMode
public PostgreSqlOutputDataSource withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.
Parameters:
Returns:
withDatabase
public PostgreSqlOutputDataSource withDatabase(String database)
Set the database property: The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withMaxWriterCount
public PostgreSqlOutputDataSource withMaxWriterCount(Float maxWriterCount)
Set the maxWriterCount property: Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests.
Parameters:
Returns:
withPassword
public PostgreSqlOutputDataSource withPassword(String password)
Set the password property: The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withServer
public PostgreSqlOutputDataSource withServer(String server)
Set the server property: The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withTable
public PostgreSqlOutputDataSource withTable(String table)
Set the table property: The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withUser
public PostgreSqlOutputDataSource withUser(String user)
Set the user property: The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns: