Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
b3c978e
Implemented PolyphenyConnection.java and QUeryExecutior.java Furtherm…
fygo97 Aug 19, 2025
a09f173
Finished documentation for PolyphenyConnection.java and QueryExecutor…
fygo97 Aug 21, 2025
3acda9b
Track full project from root, clean .gitignore, include .json
fygo97 Aug 21, 2025
18bba05
Track full project from root, clean .gitignore, include .json
fygo97 Aug 21, 2025
e9c61a9
changed gitignore
fygo97 Aug 21, 2025
67e79f0
changed gitignore
fygo97 Aug 21, 2025
f373c76
Update .gitignore ->bugged locally
fygo97 Aug 21, 2025
0118158
Now I can finally push the .json files
fygo97 Aug 21, 2025
619b55c
Added gradle build setup. Fixed JDBC Polypheny connection issue (list…
fygo97 Aug 23, 2025
7007826
Removed the matlab.engine approach. Goal will be to handle the result…
fygo97 Aug 25, 2025
aa0e815
Added a quick test file. The java classes successfully and automatica…
fygo97 Aug 25, 2025
ca7672d
Added the IntelliJ codestyle xml by exporting it to Eclipse file and …
fygo97 Aug 27, 2025
d426225
Cleaned up documentation that was broken due to the format change.
fygo97 Aug 27, 2025
1798f47
Ignore large JAR
fygo97 Sep 11, 2025
e78f151
1. Added host and port as inputs to PolyphenyConnection. Now the user…
fygo97 Sep 11, 2025
3c707e1
Added autocommit and cleaned up some things. Still need to push all t…
fygo97 Sep 12, 2025
03b44e9
Puhsing all JUnit tests for QueryExecutor and PolyphenyConnection.
fygo97 Sep 13, 2025
7f7d881
Changed the executeQuery in QueryExecutor.java and distinguished betw…
fygo97 Sep 13, 2025
8cb68a6
Added another test QueryWithSpaces to test if queries now still work …
fygo97 Sep 14, 2025
13851ea
Adapted the Wraper and added tests that test the Matlabside. Everythi…
fygo97 Sep 14, 2025
7a97e85
Added the N-Batch queries option into QueryExecutor.java
fygo97 Sep 15, 2025
469a236
Added tests for the Matlabside of executeBatch()
fygo97 Sep 15, 2025
7fd1846
Added rollback test to make sure the logic works fine if something fa…
fygo97 Sep 15, 2025
8a28bf2
Added some comments and cleaned up the tests a bit.
fygo97 Sep 15, 2025
747f1f2
Refactored the Polypheny Wrapper, so that language is only an input p…
fygo97 Sep 16, 2025
8cccf8d
Fixed the issues with 'Unsupported language' vs 'Language not yet imp…
fygo97 Sep 16, 2025
26f8be6
Fixed the startup.m issue by just calling the file once in the beginn…
fygo97 Sep 17, 2025
837dfe9
Removed the PostgreSQL test from the JUnit tests.
fygo97 Sep 18, 2025
95b6857
Added mongoql to execute and adapted wrapper
fygo97 Sep 20, 2025
6d02ebb
Made variable names consistent. Changed returntype in execute() to re…
fygo97 Sep 20, 2025
97ba2ad
Refactored the code so that it now supports a namespace argument in e…
fygo97 Sep 20, 2025
316fd3d
I reverted back to original plan to use executeQuery/executeUpdate in…
fygo97 Sep 27, 2025
abe7f23
Implemented all necessary changes for the Document part
fygo97 Sep 30, 2025
6f54b2e
Implemented the executeBatch for Document. Refactored to executedBatc…
fygo97 Oct 1, 2025
b848bc7
Modified some documentation in the JUnit tests and the QueryExecutor.…
fygo97 Oct 3, 2025
c9c6202
This commit contains some changes to make the Batch Query safer incas…
fygo97 Oct 3, 2025
e49c8ba
Tweaked the executeBatchMongo to communicate safely with the polyphen…
fygo97 Oct 3, 2025
0051939
Adapted the Matlabwrapper for the mongo case in query and queryBatch.…
fygo97 Oct 4, 2025
bbf434a
Made the files in the connector and the src consistent
fygo97 Oct 4, 2025
9e96430
Added complete README.md, cleaned up repository, updated gitignore to…
fygo97 Dec 19, 2025
b0b7f9a
split into developers documentation and users documentation, formatte…
fygo97 Dec 20, 2025
0f8cad4
Setting up the User documentation. Pushing the first setup and handli…
fygo97 Dec 21, 2025
c3dd2d3
Made a small addition to the dev documentation about how to compile t…
fygo97 Dec 21, 2025
f4743d5
Finished the documentation for the user.
fygo97 Dec 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# Binary files should be left untouched
*.jar binary

79 changes: 38 additions & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,38 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Linker files
*.ilk

# Debugger Files
*.pdb

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# debug information files
*.dwo
# Java build artifacts
*.class
*.log
out/
build/

# VS Code settings (keep launch.json)

# OS-specific files
.DS_Store
Thumbs.db

# ignore lib folder except .jar files
libs/*

# ignore Gradle project-specific cache directory
.gradle

# ignore Gradle build output directory
build


# ignore resources
resources/project/

# ignore the presentation and report
project_presentation
project_report

# ignore the polypheny-all.jar and app.jar files
app\build\libs

# ignore the matlab add-on folder structure
matlab-polypheny-connector/jar/polypheny-all.jar
matlab-polypheny-connector/resources
matlab-polypheny-connector/libs/polypheny-jdbc-driver-2.3.jar
matlab-polypheny-connector/Toolbox1/PolyphenyConnector.mltbx
matlab-polypheny-connector/Toolbox1/release/*.mltbx
380 changes: 380 additions & 0 deletions .vscode/Polypheny-Style.xml

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Main",
"request": "launch",
"mainClass": "Main",
"projectName": "Matlab_Connector"
},
{
"type": "java",
"name": "PolyphenyConnection",
"request": "launch",
"mainClass": "PolyphenyConnection",
"projectName": "Learning Contract_7fe425cb",
"vmArgs": "-Djava.library.path=C:\\Programme\\MATLAB\\R2025a\\bin\\win64",
"env": {
"PATH": "C:\\Programme\\MATLAB\\R2025a\\bin\\win64;C:\\Programme\\MATLAB\\R2025a\\extern\\bin\\win64;${env:PATH}"
},
"console": "internalConsole"
}
]
}
48 changes: 48 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"java.project.sourcePaths": [
"app/src/main/java"
],
"java.project.referencedLibraries": [],
"cSpell.words": [
"Afterall",
"disp",
"elems",
"empid",
"emps",
"HASPOLYPHENY",
"Insertand",
"iscell",
"ischar",
"isscalar",
"istable",
"JDBC",
"johnrengelman",
"Matlabtoolbox",
"mongoql",
"mongotest",
"mtlbx",
"Multimodel",
"multiquery",
"myexecutor",
"mypath",
"Polpyheny's",
"polyconnection",
"Polypheny",
"polyphenyconnector",
"POLYWRAPPER",
"QUERYLIST",
"QUERYSTR",
"stringbuilder",
"varargin",
"VARCHAR",
"wrongpass",
"wronguser"
],
"java.format.enabled": true,
"java.format.settings.url": ".vscode/Polypheny-Style.xml",
"java.format.settings.profile": "Polypheny Code Style",
"[java]": {
"editor.defaultFormatter": "redhat.java",
"editor.formatOnSave": true
}
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright [2025] [Fynn Gohlke]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 2 additions & 0 deletions Polypheny_Connector.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<MATLABProject xmlns="http://www.mathworks.com/MATLABProjectFile"/>
14 changes: 14 additions & 0 deletions app/bin/main/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Java build artifacts
*.class
*.log
out/
build/

# VS Code settings (keep launch.json)

# OS-specific files
.DS_Store
Thumbs.db

# Ignore lib folder except .jar files
lib/*
9 changes: 9 additions & 0 deletions app/bin/main/ClassTest.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
clear all; clear classes
%conn = javaObject('polyphenyconnector.PolyphenyConnection', 'localhost', int32(20590), 'pa', '');
%exec = javaObject('polyphenyconnector.QueryExecutor', conn);

%res = exec.execute('sql', 'SELECT 1 AS x');
results = runtests('PolyphenyWrapperTest');
disp(results)

%disp(res);
Loading