Class PgcopySinkProperties
java.lang.Object
org.springframework.cloud.stream.app.pgcopy.sink.PgcopySinkProperties
Used to configure the pgcopy sink module options that are related to writing using the PostgreSQL CopyManager API.
- Author:
- Thomas Risberg
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
getQuote()
void
setBatchSize
(int batchSize) void
setColumns
(List<String> columns) void
setDelimiter
(String delimiter) void
setErrorTable
(String errorTable) void
void
setFormat
(PgcopySinkProperties.Format format) void
setIdleTimeout
(long idleTimeout) void
setInitialize
(String initialize) void
setNullString
(String nullString) void
void
setTableName
(String tableName)
-
Constructor Details
-
PgcopySinkProperties
public PgcopySinkProperties()
-
-
Method Details
-
getTableName
-
setTableName
-
getColumns
-
setColumns
-
getBatchSize
public int getBatchSize() -
setBatchSize
public void setBatchSize(int batchSize) -
getIdleTimeout
public long getIdleTimeout() -
setIdleTimeout
public void setIdleTimeout(long idleTimeout) -
getInitialize
-
setInitialize
-
getFormat
-
setFormat
-
getNullString
-
setNullString
-
getDelimiter
-
setDelimiter
-
getQuote
-
setQuote
-
getEscape
-
setEscape
-
getErrorTable
-
setErrorTable
-