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/20 15:13:48 UTC
[incubator-streampipes-extensions] branch dev updated (c6c60e5 ->
066ea04)
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git.
from c6c60e5 Merge pull request #42 from Samarth08/STREAMPIPES-338_new
new 409fe7d [STREAMPIPES-339] fix data type of timestamp
new 302af04 [STREAMPIPES-344] change polling interval to milliseconds
new cdd0398 [STREAMPIPES-345] refactoring
new 76ba564 [STREAMPIPES-345] support for data type long
new 066ea04 [STREAMPIPES-345] implement method to retrieve data types from server
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../streampipes/connect/adapters/opcua/OpcUa.java | 73 +++++++++++-----------
.../connect/adapters/opcua/OpcUaAdapter.java | 6 +-
.../connect/adapters/opcua/utils/OpcUaTypes.java | 4 +-
.../connect/adapters/opcua/utils/OpcUaUtil.java | 26 +++++++-
.../strings.en | 2 +-
.../jvm/processor/imagecropper/ImageCropper.java | 2 +-
6 files changed, 68 insertions(+), 45 deletions(-)
[incubator-streampipes-extensions] 03/05: [STREAMPIPES-345]
refactoring
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit cdd0398ac63e7e8a5b9ea8da664a5c0f0fa2b26b
Author: bossenti <bo...@posteo.de>
AuthorDate: Tue Apr 20 16:08:44 2021 +0200
[STREAMPIPES-345] refactoring
---
.../streampipes/connect/adapters/opcua/OpcUa.java | 37 +++++++++++-----------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
index 0f09f5d..fadad08 100644
--- a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
+++ b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
@@ -19,6 +19,7 @@
package org.apache.streampipes.connect.adapters.opcua;
+import static org.apache.streampipes.connect.adapters.opcua.utils.OpcUaUtil.updateDataTypes;
import static org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.Unsigned.uint;
import static org.eclipse.milo.opcua.stack.core.util.ConversionUtil.toList;
@@ -68,7 +69,7 @@ public class OpcUa {
static Logger LOG = LoggerFactory.getLogger(OpcUa.class);
- private NodeId node;
+ private NodeId originNodeId;
private String opcServerURL;
private OpcUaClient client;
private boolean unauthenticated;
@@ -107,9 +108,9 @@ public class OpcUa {
if (isInteger(nodeId)) {
int integerNodeId = Integer.parseInt(nodeId);
- this.node = new NodeId(namespaceIndex, integerNodeId);
+ this.originNodeId = new NodeId(namespaceIndex, integerNodeId);
} else {
- this.node = new NodeId(namespaceIndex, nodeId);
+ this.originNodeId = new NodeId(namespaceIndex, nodeId);
}
}
@@ -308,19 +309,24 @@ public class OpcUa {
}
/***
- * Search for related nodes relative to {@link OpcUa#node}
+ * Search for related nodes relative to {@link OpcUa#originNodeId}
* @param selectNodes indicates whether only nodes of {@link OpcUa#selectedNodeNames} should be returned
- * @return List of {@link OpcNode}s related to {@link OpcUa#node}
+ * @return List of {@link OpcNode}s related to {@link OpcUa#originNodeId}
* @throws AdapterException
*/
public List<OpcNode> browseNode(boolean selectNodes) throws AdapterException {
- List<OpcNode> referenceDescriptions = browseNode(node, selectNodes);
-
- if (referenceDescriptions.size() == 0) {
- referenceDescriptions = getRootNote(node);
+ List<OpcNode> discoveredNodes = browseNode(originNodeId, selectNodes);
+
+ if (discoveredNodes.size() == 0) {
+ discoveredNodes = getRootNote(originNodeId);
+ } else if (selectNodes) { // only required for getSchema where the selectedNodes are already set.
+ /* In case a node with sub-nodes is queried, the data types are not detected appropriately.
+ This has to be performed separately.
+ */
+ updateDataTypes(client, discoveredNodes);
}
- return referenceDescriptions;
+ return discoveredNodes;
}
private List<OpcNode> getRootNote(NodeId browseRoot) {
@@ -361,9 +367,9 @@ public class OpcUa {
}
/***
- * Search for related nodes relative to {@link OpcUa#node}
+ * Search for related nodes relative to {@link OpcUa#originNodeId}
* @param selectNodes indicates whether only nodes of {@link OpcUa#selectedNodeNames} should be returned
- * @return List of {@link OpcNode}s related to {@link OpcUa#node}
+ * @return List of {@link OpcNode}s related to {@link OpcUa#originNodeId}
* @throws AdapterException
*/
private List<OpcNode> browseNode(NodeId browseRoot, boolean selectNodes) throws AdapterException {
@@ -448,13 +454,6 @@ public class OpcUa {
rd.getNodeId();
result.add(opcNode);
- rd.getNodeId().toNodeId(client.getNamespaceTable()).ifPresent(nodeId -> {
- try {
- browseNode(nodeId, selectNodes);
- } catch (AdapterException e) {
- e.printStackTrace();
- }
- });
}
}
}
[incubator-streampipes-extensions] 01/05: [STREAMPIPES-339] fix
data type of timestamp
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit 409fe7df85fd27177592737c14b93b88a2cc2b5b
Author: bossenti <bo...@posteo.de>
AuthorDate: Tue Apr 6 17:14:31 2021 +0200
[STREAMPIPES-339] fix data type of timestamp
---
.../imageprocessing/jvm/processor/imagecropper/ImageCropper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/streampipes-processors-image-processing-jvm/src/main/java/org/apache/streampipes/processors/imageprocessing/jvm/processor/imagecropper/ImageCropper.java b/streampipes-processors-image-processing-jvm/src/main/java/org/apache/streampipes/processors/imageprocessing/jvm/processor/imagecropper/ImageCropper.java
index d3a20d7..5e45bd1 100644
--- a/streampipes-processors-image-processing-jvm/src/main/java/org/apache/streampipes/processors/imageprocessing/jvm/processor/imagecropper/ImageCropper.java
+++ b/streampipes-processors-image-processing-jvm/src/main/java/org/apache/streampipes/processors/imageprocessing/jvm/processor/imagecropper/ImageCropper.java
@@ -58,7 +58,7 @@ public class ImageCropper implements EventProcessor<ImageCropperParameters> {
if (finalImage.isPresent()) {
Event outEvent = new Event();
- outEvent.addField("timestamp", Long.toString(in.getFieldByRuntimeName("timestamp").getAsPrimitive().getAsLong()));
+ outEvent.addField("timestamp", in.getFieldByRuntimeName("timestamp").getAsPrimitive().getAsLong());
outEvent.addField("image", Base64.getEncoder().encodeToString(finalImage.get()));
outEvent.addField("classname", box.get("classname"));
outEvent.addField("score", box.get("score"));
[incubator-streampipes-extensions] 05/05: [STREAMPIPES-345]
implement method to retrieve data types from server
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit 066ea0451b939861ca9a1db3f728fb0b4d6ca3e2
Author: bossenti <bo...@posteo.de>
AuthorDate: Tue Apr 20 16:36:11 2021 +0200
[STREAMPIPES-345] implement method to retrieve data types from server
---
.../streampipes/connect/adapters/opcua/OpcUa.java | 4 ++--
.../connect/adapters/opcua/utils/OpcUaUtil.java | 26 ++++++++++++++++++++--
2 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
index fadad08..9bbe76e 100644
--- a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
+++ b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
@@ -19,7 +19,7 @@
package org.apache.streampipes.connect.adapters.opcua;
-import static org.apache.streampipes.connect.adapters.opcua.utils.OpcUaUtil.updateDataTypes;
+import static org.apache.streampipes.connect.adapters.opcua.utils.OpcUaUtil.retrieveDataTypesFromServer;
import static org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.Unsigned.uint;
import static org.eclipse.milo.opcua.stack.core.util.ConversionUtil.toList;
@@ -323,7 +323,7 @@ public class OpcUa {
/* In case a node with sub-nodes is queried, the data types are not detected appropriately.
This has to be performed separately.
*/
- updateDataTypes(client, discoveredNodes);
+ retrieveDataTypesFromServer(client, discoveredNodes);
}
return discoveredNodes;
diff --git a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaUtil.java b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaUtil.java
index 55aecb3..3614762 100644
--- a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaUtil.java
+++ b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaUtil.java
@@ -11,11 +11,13 @@ import org.apache.streampipes.model.schema.EventSchema;
import org.apache.streampipes.model.staticproperty.Option;
import org.apache.streampipes.sdk.builder.PrimitivePropertyBuilder;
import org.apache.streampipes.sdk.extractor.StaticPropertyExtractor;
+import org.eclipse.milo.opcua.sdk.client.OpcUaClient;
+import org.eclipse.milo.opcua.stack.core.UaException;
import org.eclipse.milo.opcua.stack.core.types.builtin.NodeId;
+import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger;
import java.net.URI;
-import java.util.ArrayList;
-import java.util.List;
+import java.util.*;
/***
* Collection of several utility functions in context of OPC UA
@@ -133,6 +135,26 @@ public class OpcUaUtil {
return key;
}
+ /**
+ * connects to each node individually and updates the data type in accordance to the data from the server.
+ * @param opcNodes List of opcNodes where the data type is not determined appropriately
+ */
+ public static void retrieveDataTypesFromServer(OpcUaClient client, List<OpcNode> opcNodes) throws AdapterException {
+
+ for (OpcNode opcNode : opcNodes) {
+ try {
+ UInteger dataTypeId = (UInteger) client.getAddressSpace().getVariableNode(opcNode.getNodeId()).getDataType().getIdentifier();
+ OpcUaTypes.getType(dataTypeId);
+ opcNode.setType(OpcUaTypes.getType(dataTypeId));
+ } catch (UaException e) {
+ throw new AdapterException("Could not guess schema for opc node! " + e.getMessage());
+ }
+ }
+
+
+
+ }
+
/***
* Enum for all possible labels in the context of OPC UA adapters
*/
[incubator-streampipes-extensions] 02/05: [STREAMPIPES-344] change
polling interval to milliseconds
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit 302af04782400ec80ec6aca6fe7c81584cb73c6c
Author: bossenti <bo...@posteo.de>
AuthorDate: Tue Apr 20 14:43:05 2021 +0200
[STREAMPIPES-344] change polling interval to milliseconds
---
.../streampipes/connect/adapters/opcua/OpcUa.java | 36 +++++++++++-----------
.../connect/adapters/opcua/OpcUaAdapter.java | 6 ++--
.../strings.en | 2 +-
3 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
index efc84a0..0f09f5d 100644
--- a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
+++ b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUa.java
@@ -72,7 +72,7 @@ public class OpcUa {
private String opcServerURL;
private OpcUaClient client;
private boolean unauthenticated;
- private Double pullIntervalSeconds;
+ private Integer pullIntervalMilliSeconds;
private String user;
private String password;
private List<Map<String, Integer>> unitIDs = new ArrayList<>();
@@ -95,14 +95,14 @@ public class OpcUa {
* @param opcServerURL complete OPC UA server url
* @param namespaceIndex namespace index of the given node
* @param nodeId node identifier
- * @param pullIntervalSeconds duration of pull interval in seconds, {@code null} if in subscription mode
+ * @param pullIntervalMilliSeconds duration of pull interval in milliseconds, {@code null} if in subscription mode
* @param selectedNodeNames list of node names provided from {@link OpcUaUtil#resolveOptions(String, StaticPropertyExtractor)}
*/
- public OpcUa(String opcServerURL, int namespaceIndex, String nodeId, Double pullIntervalSeconds, List<String> selectedNodeNames) {
+ public OpcUa(String opcServerURL, int namespaceIndex, String nodeId, int pullIntervalMilliSeconds, List<String> selectedNodeNames) {
this.opcServerURL = opcServerURL;
this.unauthenticated = true;
- this.pullIntervalSeconds = pullIntervalSeconds;
+ this.pullIntervalMilliSeconds = pullIntervalMilliSeconds;
this.selectedNodeNames = selectedNodeNames;
if (isInteger(nodeId)) {
@@ -120,11 +120,11 @@ public class OpcUa {
* @param opcServerPort OPC UA port number
* @param namespaceIndex namespace index of the given node
* @param nodeId node identifier
- * @param pullIntervalSeconds duration of pull interval in seconds, {@code null} if in subscription mode
+ * @param pullIntervalMilliSeconds duration of pull interval in milliseconds, {@code null} if in subscription mode
* @param selectedNodeNames list of node names provided from {@link OpcUaUtil#resolveOptions(String, StaticPropertyExtractor)}
*/
- public OpcUa(String opcServer, int opcServerPort, int namespaceIndex, String nodeId, Double pullIntervalSeconds, List<String> selectedNodeNames) {
- this( opcServer + ":" + opcServerPort, namespaceIndex, nodeId, pullIntervalSeconds, selectedNodeNames);
+ public OpcUa(String opcServer, int opcServerPort, int namespaceIndex, String nodeId, int pullIntervalMilliSeconds, List<String> selectedNodeNames) {
+ this( opcServer + ":" + opcServerPort, namespaceIndex, nodeId, pullIntervalMilliSeconds, selectedNodeNames);
}
/**
@@ -135,11 +135,11 @@ public class OpcUa {
* @param nodeId node identifier
* @param username username to authenticate at the OPC UA server
* @param password corresponding password to given user name
- * @param pullIntervalSeconds duration of pull interval in seconds, {@code null} if in subscription mode
+ * @param pullIntervalMilliSeconds duration of pull interval in milliseconds, {@code null} if in subscription mode
* @param selectedNodeNames list of node names provided from {@link OpcUaUtil#resolveOptions(String, StaticPropertyExtractor)}
*/
- public OpcUa(String opcServerURL, int namespaceIndex, String nodeId, String username, String password, Double pullIntervalSeconds, List<String> selectedNodeNames) {
- this(opcServerURL, namespaceIndex, nodeId, pullIntervalSeconds, selectedNodeNames);
+ public OpcUa(String opcServerURL, int namespaceIndex, String nodeId, String username, String password, int pullIntervalMilliSeconds, List<String> selectedNodeNames) {
+ this(opcServerURL, namespaceIndex, nodeId, pullIntervalMilliSeconds, selectedNodeNames);
this.unauthenticated = false;
this.user = username;
this.password = password;
@@ -154,11 +154,11 @@ public class OpcUa {
* @param nodeId node identifier
* @param username username to authenticate at the OPC UA server
* @param password corresponding password to given user name
- * @param pullIntervalSeconds duration of pull interval in seconds, {@code null} if in subscription mode
+ * @param pullIntervalMilliSeconds duration of pull interval in milliseconds, {@code null} if in subscription mode
* @param selectedNodeNames list of node names provided from {@link OpcUaUtil#resolveOptions(String, StaticPropertyExtractor)}
*/
- public OpcUa(String opcServer, int opcServerPort, int namespaceIndex, String nodeId, String username, String password, Double pullIntervalSeconds, List<String> selectedNodeNames) {
- this (opcServer, opcServerPort, namespaceIndex, nodeId, pullIntervalSeconds, selectedNodeNames);
+ public OpcUa(String opcServer, int opcServerPort, int namespaceIndex, String nodeId, String username, String password, int pullIntervalMilliSeconds, List<String> selectedNodeNames) {
+ this (opcServer, opcServerPort, namespaceIndex, nodeId, pullIntervalMilliSeconds, selectedNodeNames);
this.unauthenticated = false;
this.user = username;
this.password = password;
@@ -181,9 +181,9 @@ public class OpcUa {
boolean useURL = selectedAlternativeConnection.equals(OpcUaLabels.OPC_URL.name());
boolean unauthenticated = selectedAlternativeAuthentication.equals(OpcUaLabels.UNAUTHENTICATED.name());
- Double pullIntervalSeconds = null;
+ Integer pullIntervalSeconds = null;
if (usePullMode) {
- pullIntervalSeconds = extractor.singleValueParameter(OpcUaLabels.PULLING_INTERVAL.name(), Double.class);
+ pullIntervalSeconds = extractor.singleValueParameter(OpcUaLabels.PULLING_INTERVAL.name(), Integer.class);
}
List<String> selectedNodeNames = extractor.selectedMultiValues(OpcUaLabels.AVAILABLE_NODES.name(), String.class);
@@ -564,10 +564,10 @@ public class OpcUa {
}
public boolean inPullMode() {
- return !(this.pullIntervalSeconds == null);
+ return !(this.pullIntervalMilliSeconds == null);
}
- public double getPullIntervalSeconds() {
- return this.pullIntervalSeconds;
+ public int getPullIntervalMilliSeconds() {
+ return this.pullIntervalMilliSeconds;
}
}
diff --git a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUaAdapter.java b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUaAdapter.java
index 85d7a36..38aba15 100644
--- a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUaAdapter.java
+++ b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/OpcUaAdapter.java
@@ -33,7 +33,7 @@ public class OpcUaAdapter extends PullAdapter implements ResolvesContainerProvid
public static final String ID = "org.apache.streampipes.connect.adapters.opcua";
- private double pullingIntervalInSeconds;
+ private int pullingIntervalMilliSeconds;
private OpcUa opcUa;
private List<OpcNode> allNodes;
private List<NodeId> allNodeIds;
@@ -66,7 +66,7 @@ public class OpcUaAdapter extends PullAdapter implements ResolvesContainerProvid
}
if (opcUa.inPullMode()) {
- this.pullingIntervalInSeconds = opcUa.getPullIntervalSeconds();
+ this.pullingIntervalMilliSeconds = opcUa.getPullIntervalMilliSeconds();
} else {
this.numberProperties = this.allNodeIds.size();
this.opcUa.createListSubscription(this.allNodeIds, this);
@@ -145,7 +145,7 @@ public class OpcUaAdapter extends PullAdapter implements ResolvesContainerProvid
@Override
protected PollingSettings getPollingInterval() {
- return PollingSettings.from(TimeUnit.MILLISECONDS, (int) this.pullingIntervalInSeconds * 1000);
+ return PollingSettings.from(TimeUnit.MILLISECONDS, this.pullingIntervalMilliSeconds);
}
@Override
diff --git a/streampipes-connect-adapters/src/main/resources/org.apache.streampipes.connect.adapters.opcua/strings.en b/streampipes-connect-adapters/src/main/resources/org.apache.streampipes.connect.adapters.opcua/strings.en
index 240ffdb..006543d 100644
--- a/streampipes-connect-adapters/src/main/resources/org.apache.streampipes.connect.adapters.opcua/strings.en
+++ b/streampipes-connect-adapters/src/main/resources/org.apache.streampipes.connect.adapters.opcua/strings.en
@@ -46,7 +46,7 @@ AVAILABLE_NODES.title=Available Nodes
AVAILABLE_NODES.description=Select the nodes that are relevant for you. Please ensure to select one option each for access mode and OPC UA server and to specify the polling interval
PULLING_INTERVAL.title=Pull Interval
-PULLING_INTERVAL.description=Timespan between data are pulled, in seconds
+PULLING_INTERVAL.description=Timespan between data retrieval, in milliseconds
ADAPTER_TYPE.title=Adapter Type
ADAPTER_TYPE.description=Select whether the adapter pulls data regularly or listens to subscriptions
[incubator-streampipes-extensions] 04/05: [STREAMPIPES-345] support
for data type long
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
commit 76ba564c6afa428c87ce7fc775ab7e71800b24d2
Author: bossenti <bo...@posteo.de>
AuthorDate: Tue Apr 20 16:34:51 2021 +0200
[STREAMPIPES-345] support for data type long
---
.../apache/streampipes/connect/adapters/opcua/utils/OpcUaTypes.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaTypes.java b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaTypes.java
index aae7ae1..0b18c58 100644
--- a/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaTypes.java
+++ b/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/opcua/utils/OpcUaTypes.java
@@ -30,8 +30,10 @@ public class OpcUaTypes {
* @return StreamPipes internal data type
*/
public static Datatypes getType(UInteger o) {
- if (UInteger.valueOf(4).equals(o) | UInteger.valueOf(6).equals(o) | UInteger.valueOf(8).equals(o) | UInteger.valueOf(27).equals(o)) {
+ if (UInteger.valueOf(4).equals(o) | UInteger.valueOf(6).equals(o) | UInteger.valueOf(27).equals(o)) {
return Datatypes.Integer;
+ } else if (UInteger.valueOf(8).equals(o) ) {
+ return Datatypes.Long;
} else if (UInteger.valueOf(11).equals(o)) {
return Datatypes.Double;
} else if (UInteger.valueOf(10).equals(o) | UInteger.valueOf(26).equals(o)) {