You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2021/04/06 13:50:22 UTC

[incubator-streampipes-extensions] 09/12: [STREAMPIPES-320] create separate class for ParameterInformation

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch STREAMPIPES-320
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git

commit 32fb1f31b45f5993778124a47400ce6307f8246c
Author: bossenti <bo...@posteo.de>
AuthorDate: Tue Apr 6 15:44:36 2021 +0200

    [STREAMPIPES-320] create separate class for ParameterInformation
---
 .../jvm/jdbcclient/model/ParameterInformation.java   | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/jdbcclient/model/ParameterInformation.java b/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/jdbcclient/model/ParameterInformation.java
new file mode 100644
index 0000000..3ab8b46
--- /dev/null
+++ b/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/jdbcclient/model/ParameterInformation.java
@@ -0,0 +1,20 @@
+package org.apache.streampipes.sinks.databases.jvm.jdbcclient.model;
+
+public class ParameterInformation {
+
+    private int index;
+    private DbDataTypes dataType;
+
+    public ParameterInformation(final int index, final DbDataTypes dataType) {
+        this.index = index;
+        this.dataType = dataType;
+    }
+
+    public DbDataTypes getDataType() {
+        return dataType;
+    }
+
+    public int getIndex() {
+        return index;
+    }
+}