comparison m-toolbox/classes/+utils/@jmysql/jmysql.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children 6d43f39633b8
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 % JMYSQL interface to MySQL database via java sql.
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %
4 % DESCRIPTION: JMYSQL interface to MySQL database via java sql.
5 %
6 % HELP: To see the available static methods, call
7 % >> methods utils.mysql
8 %
9 % VERSION: $Id: jmysql.m,v 1.14 2010/05/19 16:40:52 nicolodi Exp $
10 %
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12
13 classdef jmysql
14
15 %------------------------------------------------
16 %--------- Declaration of Static methods --------
17 %------------------------------------------------
18 methods (Static)
19
20 %-------------------------------------------------------------
21 % List other methods
22 %-------------------------------------------------------------
23
24 %%% GENERAL TOOLS
25 varargout = getsinfo(varargin) % return sinfo structure of repository object
26
27 %%% MYSQL TOOLS
28 varargout = connect(varargin) % connects to an LTPDA repository and returns the connection object.
29 varargout = query(varargin) % perform a query on an LTPDA repository and returns the results.
30 varargout = resultsToCell(varargin) % convert a ResultSet to a cell-array
31 varargout = displayResults(varargin) % display a ResultSet in a table
32 varargout = queryDialog(varargin) % show a query builder dialog
33 varargout = submitDialog(varargin) % show a submission dialog
34 varargout = jconnTodbconn(varargin) % convert a java connection to database toolbox connection
35 varargout = dbconnTojconn(varargin) % convert a database toolbox connection to java connection
36 varargout = getUserID(varargin)
37 varargout = getXdoc(varargin)
38 varargout = insert(varargin)
39 varargout = getRepositoryVersion(varargin)
40 varargout = dbquery(varargin)
41 varargout = insertObjMetadata(varargin)
42 varargout = updateObjMetadata(varargin)
43 varargout = insertObjMetadataV1(varargin) % back-compatibility for old database schema
44 varargout = updateObjMetadataV1(varargin) % back-compatibility for old database schema
45 varargout = execute(varargin)
46
47 end % End static methods
48
49 end
50